openmodelica警告及错误

  • Warning: The initial conditions are not fully specified.

simulate(TCS.TCS,startTime=0,stopTime=200.0,outputFormat="csv",resultFile="1_res.csv"); 

Warning: The initial conditions are not fully specified. Use +d=initialization for more information.

不影响运行结果

  • 错误

Internal error BackendDAETransform.analyseStrongComponentBlock failed
Internal error function analyseStrongComponentScalar failed

Internal error function strongComponentsScalar failed (sorting strong components)

Internal error Transformation module sort components failed

具体信息如下图所示:

代码如下图所示

将方程变为赋值语句,错误消失,不明白为什么会是这样。

修改后的代码如下图所示:

 Assuming fixed start value for the following 6 variables:

原文地址:https://www.cnblogs.com/Pusteblume/p/10050914.html