Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 94.55 kB / 16.3 MB, free: 5.992 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.001202/0.001202, allocations: 181.3 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3254/0.3254, allocations: 38.04 MB / 309.7 MB, free: 8.887 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: Performance of FrontEnd - loaded program: time 0.000578/0.0005782, allocations: 18.19 kB / 376.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1225, allocations: 56.34 MB / 432.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.006975/0.1296, allocations: 5.011 MB / 437.8 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00461/0.1342, allocations: 2.251 MB / 440.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.1356, allocations: 31.81 kB / 440.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009086/0.1365, allocations: 99.17 kB / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.1382, allocations: 311 kB / 440.5 MB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.1396, allocations: 395.2 kB / 440.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.1412, allocations: 0.5786 MB / 441.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.1428, allocations: 0.6198 MB / 442.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007098/0.1435, allocations: 290.7 kB / 442.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005807/0.1441, allocations: 270.6 kB / 442.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.1443, allocations: 24 kB / 442.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005733/0.1448, allocations: 159.7 kB / 442.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.145, allocations: 143.5 kB / 443 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.1453, allocations: 153.3 kB / 443.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009982/0.1463, allocations: 0.7909 MB / 443.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1463, allocations: 0 / 443.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.569e-06/0.1463, allocations: 3.984 kB / 443.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.742e-05/0.1464, allocations: 4 kB / 443.9 MB, free: 11.54 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002376/0.1487, allocations: 0.9893 MB / 444.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1488, allocations: 12.03 kB / 444.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.1498, allocations: 166.9 kB / 445.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.1512, allocations: 0.5648 MB / 445.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.851e-05/0.1513, allocations: 49.31 kB / 445.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.1515, allocations: 63.91 kB / 445.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.1533, allocations: 0.7639 MB / 446.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.1534, allocations: 0 / 446.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/0.1534, allocations: 27.95 kB / 446.5 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.769e-05/0.1535, allocations: 29.31 kB / 446.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.1547, allocations: 0.6414 MB / 447.2 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/0.1592, allocations: 2.93 MB / 450.1 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.1607, allocations: 0.7545 MB / 450.9 MB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.1608, allocations: 4.5 kB / 450.9 MB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.1608, allocations: 43.08 kB / 450.9 MB, free: 4.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 2.575e-06/0.1609, allocations: 7.938 kB / 451 MB, free: 4.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.00161/0.1625, allocations: 0.7254 MB / 451.7 MB, free: 3.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/0.1626, allocations: 111.2 kB / 451.8 MB, free: 3.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008525/0.1634, allocations: 0.5822 MB / 452.4 MB, free: 2.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.1635, allocations: 33.7 kB / 452.4 MB, free: 2.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.1638, allocations: 360.4 kB / 452.8 MB, free: 2.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.1639, allocations: 181.4 kB / 452.9 MB, free: 2.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.164, allocations: 8 kB / 452.9 MB, free: 2.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1642, allocations: 382.8 kB / 453.3 MB, free: 1.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.1647, allocations: 213 kB / 453.5 MB, free: 1.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.1652, allocations: 348.5 kB / 453.9 MB, free: 1.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.1658, allocations: 252.7 kB / 454.1 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1658, allocations: 4 kB / 454.1 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001728/0.1675, allocations: 0.8159 MB / 454.9 MB, free: 112 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.2223/0.3898, allocations: 1.392 MB / 456.3 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.3898, allocations: 1.156 kB / 456.3 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/0.3904, allocations: 146.4 kB / 456.5 MB, free: 49.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.3911, allocations: 136.1 kB / 456.6 MB, free: 49.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.3938, allocations: 2.297 MB / 458.9 MB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/0.3946, allocations: 90.67 kB / 459 MB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.3946, allocations: 23.47 kB / 459 MB, free: 47.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.3946, allocations: 6.25 kB / 459 MB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001265/0.3959, allocations: 0.6214 MB / 459.6 MB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3959, allocations: 3.469 kB / 459.6 MB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/0.3962, allocations: 103.1 kB / 459.7 MB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.3967, allocations: 137 kB / 459.9 MB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.3983, allocations: 2.047 MB / 461.9 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.3987, allocations: 77.69 kB / 462 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.3988, allocations: 23.33 kB / 462 MB, free: 46.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003498/0.3991, allocations: 296.2 kB / 462.3 MB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/0.3992, allocations: 73.67 kB / 462.4 MB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.4003, allocations: 0.5827 MB / 463 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4003, allocations: 3.375 kB / 463 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4003, allocations: 7.328 kB / 463 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4003, allocations: 0.5625 kB / 463 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.4021, allocations: 1.331 MB / 464.3 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4021, allocations: 0 / 464.3 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.4026, allocations: 116.2 kB / 464.4 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.4026, allocations: 7.172 kB / 464.4 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.4027, allocations: 17 kB / 464.4 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.4027, allocations: 7.75 kB / 464.4 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4027, allocations: 0 / 464.4 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.4041, allocations: 0.9347 MB / 465.4 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.4044, allocations: 198.8 kB / 465.6 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.4044, allocations: 10.97 kB / 465.6 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.4048, allocations: 42.12 kB / 465.6 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4049, allocations: 40.41 kB / 465.7 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4049, allocations: 14.19 kB / 465.7 MB, free: 45.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005052/0.4055, allocations: 421.5 kB / 466.1 MB, free: 45.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4055, allocations: 0 / 466.1 MB, free: 45.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000905/0.4064, allocations: 268.3 kB / 466.4 MB, free: 45.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001441/0.4065, allocations: 116.8 kB / 466.5 MB, free: 45.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.4083, allocations: 1.098 MB / 467.6 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4083, allocations: 4.062 kB / 467.6 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.4087, allocations: 264.1 kB / 467.8 MB, free: 44.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.4093, allocations: 121.8 kB / 467.9 MB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.4117, allocations: 1.789 MB / 469.7 MB, free: 43.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.4121, allocations: 0.9721 MB / 470.7 MB, free: 43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003804/0.4125, allocations: 121.3 kB / 470.8 MB, free: 42.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.4126, allocations: 43.52 kB / 470.9 MB, free: 42.97 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4126, allocations: 0 / 470.9 MB, free: 42.97 MB / 382.1 MB Notification: Performance of Templates: time 0.01248/0.4251, allocations: 7.388 MB / 478.3 MB, free: 42.38 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) Environment - environmentSimulation: