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.001406/0.001406, allocations: 80.92 kB / 21.49 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.002081/0.002081, allocations: 169.2 kB / 24.91 MB, free: 9.188 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.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2411/0.2411, allocations: 29.42 MB / 291.2 MB, free: 2.477 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 2.093e-06/2.093e-06, allocations: 0 / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.905e-05, allocations: 6.25 kB / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.006343/0.006372, allocations: 5.215 MB / 322.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003713/0.01008, allocations: 1.909 MB / 324 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.01066, allocations: 31.75 kB / 324 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.01147, allocations: 226.3 kB / 324.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007058/0.01217, allocations: 313.9 kB / 324.5 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.01318, allocations: 0.5183 MB / 325 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009324/0.01411, allocations: 1.011 MB / 326 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007638/0.01488, allocations: 0.5663 MB / 326.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006434/0.01552, allocations: 0.5572 MB / 327.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.01592, allocations: 311 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.01603, allocations: 83.94 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.01643, allocations: 251.4 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.01661, allocations: 231.2 kB / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.01684, allocations: 247.3 kB / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008233/0.01766, allocations: 0.6771 MB / 328.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.01766, allocations: 0 / 328.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01767, allocations: 0 / 328.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.01767, allocations: 0 / 328.9 MB, free: 3.82 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.001227/0.0189, allocations: 1.001 MB / 329.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.01894, allocations: 11.98 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007343/0.01967, allocations: 220.6 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/0.02033, allocations: 466 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.02037, allocations: 45.69 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.02046, allocations: 60.38 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006967/0.02116, allocations: 0.5526 MB / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.02118, allocations: 4.125 kB / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.02122, allocations: 28.38 kB / 331.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/0.02127, allocations: 33.23 kB / 331.3 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.02163, allocations: 209 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.02409, allocations: 1.947 MB / 333.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.02454, allocations: 324.3 kB / 333.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.02466, allocations: 71.27 kB / 333.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.0247, allocations: 24.48 kB / 333.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.02473, allocations: 35.06 kB / 333.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.337e-06/0.02473, allocations: 0 / 333.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.0004813/0.02521, allocations: 261.8 kB / 334.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.02528, allocations: 141 kB / 334.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.0256, allocations: 423.2 kB / 334.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.02563, allocations: 37.7 kB / 334.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.02579, allocations: 289.9 kB / 335.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.0259, allocations: 194.5 kB / 335.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.02603, allocations: 102.3 kB / 335.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.02614, allocations: 374.6 kB / 335.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.02626, allocations: 62.28 kB / 335.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.02644, allocations: 240.9 kB / 336 MB, free: 12.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.02677, allocations: 276.2 kB / 336.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.02677, allocations: 0 / 336.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006198/0.02739, allocations: 384.4 kB / 336.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.02741, allocations: 8 kB / 336.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.02742, allocations: 4.438 kB / 336.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.02774, allocations: 88.36 kB / 336.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.02809, allocations: 127.8 kB / 336.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.02945, allocations: 1.688 MB / 338.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.02968, allocations: 59.61 kB / 338.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.02971, allocations: 19.98 kB / 338.7 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001996/0.02991, allocations: 147.1 kB / 338.8 MB, free: 9.426 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001852/0.0301, allocations: 237 kB / 339 MB, free: 9.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000293/0.03039, allocations: 277.4 kB / 339.3 MB, free: 8.809 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.03039, allocations: 7.938 kB / 339.3 MB, free: 8.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0005027/0.03089, allocations: 360.6 kB / 339.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.03091, allocations: 8 kB / 339.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.03091, allocations: 0 / 339.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.03109, allocations: 76 kB / 339.7 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.03142, allocations: 123.8 kB / 339.9 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.03267, allocations: 1.655 MB / 341.5 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.03289, allocations: 55.66 kB / 341.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.03292, allocations: 20 kB / 341.6 MB, free: 6.414 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.0001391/0.03306, allocations: 208.1 kB / 341.8 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.03314, allocations: 51.89 kB / 341.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.03353, allocations: 268.9 kB / 342.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.03354, allocations: 4.031 kB / 342.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.03354, allocations: 4 kB / 342.1 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.03354, allocations: 4 kB / 342.1 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.03446, allocations: 0.6416 MB / 342.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.03446, allocations: 4.047 kB / 342.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.0348, allocations: 103.8 kB / 342.9 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.03481, allocations: 3.984 kB / 342.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.03483, allocations: 12 kB / 342.9 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.03484, allocations: 11.94 kB / 342.9 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.03484, allocations: 4 kB / 342.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.03533, allocations: 462.3 kB / 343.4 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.03546, allocations: 79.41 kB / 343.4 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.03551, allocations: 12 kB / 343.4 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.03568, allocations: 19.98 kB / 343.5 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.03575, allocations: 32.44 kB / 343.5 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.03577, allocations: 15.98 kB / 343.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.03594, allocations: 188.3 kB / 343.7 MB, free: 4.254 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03594, allocations: 4 kB / 343.7 MB, free: 4.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000732/0.03667, allocations: 283.2 kB / 344 MB, free: 3.973 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.0001354/0.0368, allocations: 92.34 kB / 344.1 MB, free: 3.875 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008198/0.03762, allocations: 0.6747 MB / 344.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.03763, allocations: 4 kB / 344.7 MB, free: 3.168 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.03779, allocations: 124.7 kB / 344.9 MB, free: 3.043 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.0383, allocations: 157.9 kB / 345 MB, free: 2.902 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.04035, allocations: 1.243 MB / 346.3 MB, free: 1.625 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.0405, allocations: 166.8 kB / 346.4 MB, free: 1.441 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002655/0.04076, allocations: 68.34 kB / 346.5 MB, free: 1.371 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.04102, allocations: 151.3 kB / 346.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of SimCode: time 1.293e-06/0.04103, allocations: 0 / 346.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of Templates: time 0.01333/0.05436, allocations: 8.377 MB / 355 MB, free: 8.965 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1700477148406208]