Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4338/0.4338, allocations: 38.03 MB / 308.4 MB, free: 10.48 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005607/0.0005608, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1393, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003918/0.1432, allocations: 2.832 MB / 436.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003461/0.1467, allocations: 1.49 MB / 438.2 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.1472, allocations: 19.88 kB / 438.3 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.1477, allocations: 91.28 kB / 438.4 MB, free: 1.113 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004489/0.1482, allocations: 191.4 kB / 438.5 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1492, allocations: 419.3 kB / 438.9 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007826/0.15, allocations: 0.5694 MB / 439.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.1504, allocations: 185.1 kB / 439.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.1508, allocations: 310.7 kB / 440 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004209/0.1512, allocations: 314.5 kB / 440.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.1513, allocations: 20 kB / 440.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.1514, allocations: 24 kB / 440.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.1515, allocations: 147.4 kB / 440.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1517, allocations: 141.2 kB / 440.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.1521, allocations: 0.53 MB / 441.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1521, allocations: 0 / 441.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1522, allocations: 0 / 441.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1522, allocations: 0 / 441.2 MB, free: 14.28 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002194/0.1544, allocations: 1.063 MB / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1544, allocations: 8.031 kB / 442.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.1546, allocations: 94.83 kB / 442.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009083/0.1555, allocations: 0.5266 MB / 442.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.1555, allocations: 44.94 kB / 442.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.1557, allocations: 59.89 kB / 443 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.1568, allocations: 0.6251 MB / 443.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.1568, allocations: 7.984 kB / 443.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.1569, allocations: 16 kB / 443.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.1569, allocations: 15.94 kB / 443.6 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.158, allocations: 497.8 kB / 444.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/0.1616, allocations: 2.655 MB / 446.8 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.1628, allocations: 0.582 MB / 447.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.1629, allocations: 8 kB / 447.4 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.1629, allocations: 38.56 kB / 447.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/0.1629, allocations: 0 / 447.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002449/0.1654, allocations: 1.214 MB / 448.6 MB, free: 6.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.1655, allocations: 136.5 kB / 448.7 MB, free: 6.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008712/0.1663, allocations: 0.6451 MB / 449.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.1664, allocations: 41.7 kB / 449.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.1667, allocations: 368 kB / 449.8 MB, free: 5.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.1668, allocations: 169.5 kB / 449.9 MB, free: 5.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.1668, allocations: 12 kB / 450 MB, free: 5.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.167, allocations: 330 kB / 450.3 MB, free: 4.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006512/0.1676, allocations: 277.1 kB / 450.6 MB, free: 4.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007279/0.1684, allocations: 445.2 kB / 451 MB, free: 4.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/0.169, allocations: 321.2 kB / 451.3 MB, free: 3.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.1691, allocations: 0 / 451.3 MB, free: 3.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001694/0.1708, allocations: 0.8579 MB / 452.2 MB, free: 2.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008856/0.1716, allocations: 1.746 MB / 453.9 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.1717, allocations: 8 kB / 453.9 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/0.1719, allocations: 60.75 kB / 454 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.1728, allocations: 211.7 kB / 454.2 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.286/0.4588, allocations: 1.509 MB / 455.7 MB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009021/0.4597, allocations: 85.16 kB / 455.8 MB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.4598, allocations: 27.47 kB / 455.8 MB, free: 48.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.4598, allocations: 3.156 kB / 455.8 MB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001417/0.4612, allocations: 0.7354 MB / 456.5 MB, free: 48.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4612, allocations: 3.188 kB / 456.5 MB, free: 48.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.4614, allocations: 62.27 kB / 456.6 MB, free: 48.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.4622, allocations: 201.2 kB / 456.8 MB, free: 48.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008793/0.4631, allocations: 1.518 MB / 458.3 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005994/0.4637, allocations: 84.28 kB / 458.4 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.4637, allocations: 20 kB / 458.4 MB, free: 47.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003449/0.4641, allocations: 291.7 kB / 458.7 MB, free: 47.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.4642, allocations: 85.3 kB / 458.8 MB, free: 47.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.4643, allocations: 95.44 kB / 458.9 MB, free: 47.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.4644, allocations: 3.031 kB / 458.9 MB, free: 47.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4644, allocations: 0 / 458.9 MB, free: 47.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.4644, allocations: 6.688 kB / 458.9 MB, free: 47.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.4655, allocations: 0.8662 MB / 459.8 MB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4656, allocations: 0 / 459.8 MB, free: 46.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/0.4662, allocations: 116.7 kB / 459.9 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4662, allocations: 3.094 kB / 459.9 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.4662, allocations: 20.44 kB / 459.9 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4662, allocations: 3.5 kB / 459.9 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4663, allocations: 0 / 459.9 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.4681, allocations: 1.218 MB / 461.1 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.4684, allocations: 201.3 kB / 461.3 MB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.4685, allocations: 14.06 kB / 461.3 MB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005307/0.469, allocations: 64.39 kB / 461.4 MB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.4692, allocations: 39.8 kB / 461.4 MB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.4692, allocations: 13.41 kB / 461.4 MB, free: 46.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000628/0.4699, allocations: 463.5 kB / 461.9 MB, free: 46.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4699, allocations: 0 / 461.9 MB, free: 46.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008986/0.4708, allocations: 199.6 kB / 462.1 MB, free: 46.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001525/0.4709, allocations: 119.4 kB / 462.2 MB, free: 46.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002359/0.4733, allocations: 1.239 MB / 463.4 MB, free: 46.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4733, allocations: 7.844 kB / 463.4 MB, free: 46.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.4739, allocations: 294.3 kB / 463.7 MB, free: 46.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008186/0.4747, allocations: 164.1 kB / 463.9 MB, free: 46.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.4771, allocations: 1.738 MB / 465.6 MB, free: 45.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.4775, allocations: 0.9645 MB / 466.6 MB, free: 44.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004971/0.478, allocations: 137.2 kB / 466.7 MB, free: 44.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.4782, allocations: 46.12 kB / 466.8 MB, free: 44.46 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4782, allocations: 4 kB / 466.8 MB, free: 44.46 MB / 382.1 MB Notification: Performance of Templates: time 0.01281/0.491, allocations: 7.349 MB / 474.1 MB, free: 44 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) Environment - environmentSimulation: