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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 170.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2519/0.2519, allocations: 29.42 MB / 291.2 MB, free: 2.473 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.837e-05, allocations: 3.516 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.00562/0.005648, allocations: 5.257 MB / 322.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.008446, allocations: 1.913 MB / 324.1 MB, free: 8.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004603/0.008906, allocations: 35.69 kB / 324.1 MB, free: 8.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.009531, allocations: 218.4 kB / 324.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005215/0.01005, allocations: 313.9 kB / 324.6 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009322/0.01099, allocations: 0.5145 MB / 325.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000859/0.01184, allocations: 1.011 MB / 326.1 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006221/0.01247, allocations: 0.5701 MB / 326.7 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/0.01302, allocations: 0.5495 MB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.01336, allocations: 315 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.01343, allocations: 80 kB / 327.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.01376, allocations: 263.4 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.01392, allocations: 231.2 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.0143, allocations: 239.3 kB / 328.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006627/0.01496, allocations: 0.6849 MB / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01497, allocations: 0 / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01497, allocations: 0 / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.01498, allocations: 0 / 329 MB, free: 3.711 MB / 298.7 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.0009687/0.01595, allocations: 0.993 MB / 330 MB, free: 2.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.01597, allocations: 15.98 kB / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005686/0.01654, allocations: 204.7 kB / 330.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.01706, allocations: 474 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.01709, allocations: 49.62 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.01716, allocations: 64.36 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.01769, allocations: 0.5487 MB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.0177, allocations: 192 / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.01774, allocations: 40.34 kB / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.01777, allocations: 29.25 kB / 331.4 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/0.01805, allocations: 209 kB / 331.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.01988, allocations: 1.943 MB / 333.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.02025, allocations: 324.3 kB / 333.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/0.02034, allocations: 75.25 kB / 334 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.02036, allocations: 8.5 kB / 334 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.02039, allocations: 43 kB / 334 MB, free: 14.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 1.543e-06/0.02039, allocations: 0 / 334 MB, free: 14.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.000363/0.02075, allocations: 269.8 kB / 334.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.0208, allocations: 148.9 kB / 334.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.02104, allocations: 419.2 kB / 334.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.02107, allocations: 37.69 kB / 334.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.0212, allocations: 293.9 kB / 335.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.02155, allocations: 190.3 kB / 335.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.02165, allocations: 102.3 kB / 335.5 MB, free: 13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.02176, allocations: 370.7 kB / 335.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.112e-05/0.02185, allocations: 62.28 kB / 335.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.022, allocations: 237.1 kB / 336.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.02226, allocations: 284.1 kB / 336.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.02226, allocations: 4 kB / 336.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005021/0.02276, allocations: 376.6 kB / 336.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.02278, allocations: 8 kB / 336.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.02279, allocations: 4 kB / 336.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.02305, allocations: 96.11 kB / 336.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.02341, allocations: 159.4 kB / 337 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.02452, allocations: 1.688 MB / 338.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.02469, allocations: 55.62 kB / 338.8 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.02471, allocations: 23.92 kB / 338.8 MB, free: 9.441 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001622/0.02488, allocations: 155.1 kB / 338.9 MB, free: 9.285 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001494/0.02503, allocations: 228.9 kB / 339.2 MB, free: 8.992 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002386/0.02526, allocations: 289.4 kB / 339.4 MB, free: 8.664 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.02527, allocations: 0 / 339.4 MB, free: 8.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0003998/0.02567, allocations: 348.8 kB / 339.8 MB, free: 8.316 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.02567, allocations: 11.94 kB / 339.8 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.02568, allocations: 4 kB / 339.8 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.02582, allocations: 73.91 kB / 339.9 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.02615, allocations: 151.9 kB / 340 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009756/0.02712, allocations: 1.658 MB / 341.7 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.02729, allocations: 59.69 kB / 341.7 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.02731, allocations: 20 kB / 341.8 MB, free: 6.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.hotwellLevel.local_reset,powerPlant.throttleCosts.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.02743, allocations: 213 kB / 342 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.0275, allocations: 51.89 kB / 342 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.02781, allocations: 264.9 kB / 342.3 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.02781, allocations: 8 kB / 342.3 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.02781, allocations: 0 / 342.3 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.02782, allocations: 0 / 342.3 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009527/0.02877, allocations: 0.6571 MB / 342.9 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.02877, allocations: 4 kB / 342.9 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.02909, allocations: 116.7 kB / 343.1 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.02909, allocations: 4 kB / 343.1 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.02911, allocations: 8 kB / 343.1 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.02911, allocations: 0 / 343.1 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.02911, allocations: 4 kB / 343.1 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.02953, allocations: 474.2 kB / 343.5 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.02962, allocations: 71.48 kB / 343.6 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.02966, allocations: 8 kB / 343.6 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.02979, allocations: 23.98 kB / 343.6 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.02985, allocations: 36.38 kB / 343.7 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.02987, allocations: 15.98 kB / 343.7 MB, free: 4.262 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.03, allocations: 180.4 kB / 343.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03, allocations: 0 / 343.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006186/0.03062, allocations: 295.2 kB / 344.2 MB, free: 3.797 MB / 314.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001113/0.03073, allocations: 92.36 kB / 344.2 MB, free: 3.699 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003824/0.03456, allocations: 0.6717 MB / 344.9 MB, free: 3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.03457, allocations: 15.94 kB / 344.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.03473, allocations: 124.6 kB / 345.1 MB, free: 2.859 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.03521, allocations: 142.7 kB / 345.2 MB, free: 2.723 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.03715, allocations: 1.249 MB / 346.4 MB, free: 1.441 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003152/0.0403, allocations: 162.9 kB / 346.6 MB, free: 1.262 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002682/0.04057, allocations: 72.39 kB / 346.7 MB, free: 1.188 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.04085, allocations: 157.3 kB / 346.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of SimCode: time 1.243e-06/0.04085, allocations: 0 / 346.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of Templates: time 0.02556/0.06641, allocations: 8.62 MB / 355.4 MB, free: 8.531 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0916696353815496]