Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001196/0.001197, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.22/1.22, allocations: 194.2 MB / 212.2 MB, free: 2.371 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001606/0.001606, allocations: 124 kB / 256.6 MB, free: 4.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1613/0.1613, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 67.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0727/0.07384, allocations: 52.19 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.00498/0.07886, allocations: 5.663 MB / 459.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.08139, allocations: 2.324 MB / 462 MB, free: 8.551 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.08181, allocations: 31.81 kB / 462 MB, free: 8.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006824/0.0825, allocations: 219 kB / 462.2 MB, free: 8.305 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.08306, allocations: 310.5 kB / 462.5 MB, free: 8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.08377, allocations: 426.9 kB / 462.9 MB, free: 7.586 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.08441, allocations: 1.092 MB / 464 MB, free: 6.492 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005465/0.08497, allocations: 496.4 kB / 464.5 MB, free: 6.004 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.08527, allocations: 334.4 kB / 464.8 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.08557, allocations: 370.2 kB / 465.2 MB, free: 5.312 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.08564, allocations: 40 kB / 465.2 MB, free: 5.273 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.08608, allocations: 395.2 kB / 465.6 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.08621, allocations: 187.2 kB / 465.8 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.08641, allocations: 326 kB / 466.1 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.08702, allocations: 0.9928 MB / 467.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.08703, allocations: 0 / 467.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.08704, allocations: 0 / 467.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.08705, allocations: 0 / 467.1 MB, free: 3.387 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001559/0.08861, allocations: 1.102 MB / 468.2 MB, free: 2.234 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.08865, allocations: 8.031 kB / 468.2 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006976/0.08935, allocations: 147.9 kB / 468.4 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/0.09005, allocations: 0.5617 MB / 468.9 MB, free: 1.477 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.09009, allocations: 45.69 kB / 469 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.09017, allocations: 59.94 kB / 469 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/0.09114, allocations: 0.7177 MB / 469.8 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.09117, allocations: 7.875 kB / 469.8 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.09123, allocations: 24 kB / 469.8 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.09126, allocations: 29.3 kB / 469.8 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.09231, allocations: 0.6297 MB / 470.5 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.09581, allocations: 2.523 MB / 473 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.0972, allocations: 0.7235 MB / 473.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.09769, allocations: 247 kB / 473.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.09775, allocations: 4.438 kB / 473.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.09778, allocations: 43 kB / 474 MB, free: 12.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 1.833e-06/0.09779, allocations: 0 / 474 MB, free: 12.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.001582/0.09938, allocations: 0.7402 MB / 474.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.09945, allocations: 115.2 kB / 474.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.1001, allocations: 0.5225 MB / 475.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.1002, allocations: 37.83 kB / 475.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.1004, allocations: 325.4 kB / 475.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.1005, allocations: 177.4 kB / 475.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.1007, allocations: 98.23 kB / 476 MB, free: 10.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1008, allocations: 370.8 kB / 476.3 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/0.1013, allocations: 223 kB / 476.6 MB, free: 9.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.1019, allocations: 329 kB / 476.9 MB, free: 9.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009882/0.1029, allocations: 0.534 MB / 477.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1029, allocations: 0 / 477.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001633/0.1045, allocations: 0.7691 MB / 478.2 MB, free: 7.883 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1045, allocations: 8 kB / 478.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1045, allocations: 0 / 478.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.1049, allocations: 108.7 kB / 478.3 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.1054, allocations: 132.1 kB / 478.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.1079, allocations: 2.124 MB / 480.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.1083, allocations: 79.33 kB / 480.6 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.1083, allocations: 24 kB / 480.7 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006171/0.109, allocations: 377.1 kB / 481 MB, free: 4.906 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005071/0.1095, allocations: 313 kB / 481.3 MB, free: 4.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009254/0.1104, allocations: 0.5222 MB / 481.9 MB, free: 4.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.834e-06/0.1104, allocations: 0 / 481.9 MB, free: 4.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001274/0.1117, allocations: 0.6833 MB / 482.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.1117, allocations: 8 kB / 482.5 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.1117, allocations: 0 / 482.5 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.112, allocations: 85.08 kB / 482.6 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.1125, allocations: 143.8 kB / 482.8 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.1143, allocations: 1.929 MB / 484.7 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.1147, allocations: 71.48 kB / 484.8 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.1148, allocations: 20 kB / 484.8 MB, free: 0.9141 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * 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 initialization (57): * Single equations (assignments): 56 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.1149, allocations: 208.2 kB / 485 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.115, allocations: 71.17 kB / 485.1 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.1162, allocations: 0.5806 MB / 485.6 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1163, allocations: 4 kB / 485.6 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1163, allocations: 0 / 485.6 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1163, allocations: 3.984 kB / 485.6 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.1183, allocations: 1.326 MB / 487 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1183, allocations: 0 / 487 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.1188, allocations: 111.9 kB / 487.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1189, allocations: 4 kB / 487.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.1189, allocations: 15.98 kB / 487.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1189, allocations: 4 kB / 487.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1189, allocations: 0 / 487.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007446/0.1264, allocations: 4.5 MB / 491.6 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.1266, allocations: 188.2 kB / 491.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.453e-05/0.1267, allocations: 19.92 kB / 491.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.1271, allocations: 39.95 kB / 491.8 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.1272, allocations: 36.39 kB / 491.9 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.1272, allocations: 15.98 kB / 491.9 MB, free: 9.547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004937/0.1277, allocations: 386.8 kB / 492.3 MB, free: 9.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1277, allocations: 0 / 492.3 MB, free: 9.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001027/0.1288, allocations: 347.2 kB / 492.6 MB, free: 8.832 MB / 346.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.0001231/0.1289, allocations: 115.2 kB / 492.7 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.131, allocations: 1.087 MB / 493.8 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.131, allocations: 4 kB / 493.8 MB, free: 7.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.1316, allocations: 270.3 kB / 494.1 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.1323, allocations: 122.4 kB / 494.2 MB, free: 7.215 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.1353, allocations: 2.059 MB / 496.3 MB, free: 5.109 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.1358, allocations: 0.9418 MB / 497.2 MB, free: 4.141 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004559/0.1362, allocations: 128.4 kB / 497.3 MB, free: 4.016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.1364, allocations: 43.44 kB / 497.4 MB, free: 3.973 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1364, allocations: 0 / 497.4 MB, free: 3.973 MB / 346.7 MB Notification: Performance of Templates: time 0.013/0.1494, allocations: 8.558 MB / 0.4941 GB, free: 11.42 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1)