Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 109.4 kB / 17.06 MB, free: 5.965 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.001385/0.001385, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1975/0.1975, allocations: 38.03 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 55.91 kB / 458.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4702/0.4715, allocations: 58.07 MB / 0.5041 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.007081/0.4787, allocations: 5.895 MB / 0.5099 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004672/0.4834, allocations: 2.736 MB / 0.5125 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.4846, allocations: 25.62 kB / 0.5125 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.486, allocations: 385.7 kB / 0.5129 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.4875, allocations: 478.1 kB / 0.5134 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.4891, allocations: 0.555 MB / 0.5139 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.4905, allocations: 1.212 MB / 0.5151 GB, free: 212 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.4916, allocations: 0.709 MB / 0.5158 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00086/0.4925, allocations: 461.1 kB / 0.5162 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.4932, allocations: 474.8 kB / 0.5167 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.4934, allocations: 87.25 kB / 0.5168 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.4946, allocations: 0.5204 MB / 0.5173 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003235/0.495, allocations: 255.4 kB / 0.5175 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004155/0.4954, allocations: 438.1 kB / 0.5179 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.4974, allocations: 1.254 MB / 0.5192 GB, free: 14.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4974, allocations: 0 / 0.5192 GB, free: 14.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4974, allocations: 0 / 0.5192 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.4975, allocations: 5.438 kB / 0.5192 GB, free: 14.22 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002302/0.4998, allocations: 1.228 MB / 0.5204 GB, free: 13.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4998, allocations: 12.3 kB / 0.5204 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.5012, allocations: 204.2 kB / 0.5206 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.5023, allocations: 0.6447 MB / 0.5212 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.5024, allocations: 53.78 kB / 0.5213 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.5025, allocations: 74.47 kB / 0.5213 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.5042, allocations: 0.8784 MB / 0.5222 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.5042, allocations: 1.031 kB / 0.5222 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/0.5043, allocations: 27.36 kB / 0.5222 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.807e-05/0.5043, allocations: 39.19 kB / 0.5222 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.506, allocations: 0.7796 MB / 0.523 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005473/0.5115, allocations: 3.244 MB / 0.5262 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.5134, allocations: 0.9706 MB / 0.5271 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006159/0.5141, allocations: 304 kB / 0.5274 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.5141, allocations: 13.41 kB / 0.5274 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.5142, allocations: 38.59 kB / 0.5275 GB, free: 9.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.374e-06/0.5142, allocations: 0 / 0.5275 GB, free: 9.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.005462/0.5197, allocations: 2.56 MB / 0.53 GB, free: 7.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.5197, allocations: 111.7 kB / 0.5301 GB, free: 7.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008759/0.5206, allocations: 0.5737 MB / 0.5306 GB, free: 7.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.5207, allocations: 44.42 kB / 0.5307 GB, free: 7.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.521, allocations: 372 kB / 0.531 GB, free: 7.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.5212, allocations: 240.3 kB / 0.5313 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.5214, allocations: 116 kB / 0.5314 GB, free: 6.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5216, allocations: 384.6 kB / 0.5317 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/0.5222, allocations: 272.3 kB / 0.532 GB, free: 6.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/0.5229, allocations: 420.5 kB / 0.5324 GB, free: 6.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.5244, allocations: 0.6929 MB / 0.5331 GB, free: 5.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5244, allocations: 1.156 kB / 0.5331 GB, free: 5.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00192/0.5263, allocations: 0.8377 MB / 0.5339 GB, free: 5.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5264, allocations: 6.781 kB / 0.5339 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5264, allocations: 3.875 kB / 0.5339 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/0.5267, allocations: 65.78 kB / 0.534 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/0.5274, allocations: 172.4 kB / 0.5341 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.5295, allocations: 1.807 MB / 0.5359 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.53, allocations: 49.8 kB / 0.5359 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.5301, allocations: 31.95 kB / 0.536 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008072/0.5309, allocations: 448.6 kB / 0.5364 GB, free: 3.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000669/0.5316, allocations: 395.4 kB / 0.5368 GB, free: 2.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001186/0.5328, allocations: 0.6782 MB / 0.5374 GB, free: 2.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.5328, allocations: 5.219 kB / 0.5374 GB, free: 2.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001557/0.5343, allocations: 0.8121 MB / 0.5382 GB, free: 1.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5344, allocations: 6.656 kB / 0.5382 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.5344, allocations: 4 kB / 0.5382 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.5346, allocations: 61.88 kB / 0.5383 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.5353, allocations: 177 kB / 0.5385 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.5373, allocations: 1.794 MB / 0.5402 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/0.538, allocations: 48.86 kB / 0.5403 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.538, allocations: 31.08 kB / 0.5403 GB, free: 100 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 79 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003211/0.5384, allocations: 214 kB / 0.5405 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.5385, allocations: 73.62 kB / 0.5406 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.5404, allocations: 0.7775 MB / 0.5413 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.5405, allocations: 6.844 kB / 0.5413 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/0.5405, allocations: 5.219 kB / 0.5413 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.5405, allocations: 3.984 kB / 0.5414 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004374/0.5449, allocations: 2.144 MB / 0.5434 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.5449, allocations: 6.531 kB / 0.5435 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.5455, allocations: 127 kB / 0.5436 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.5457, allocations: 61.72 kB / 0.5436 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.5458, allocations: 18.47 kB / 0.5436 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.5473, allocations: 1.769 MB / 0.5454 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.627e-06/0.5473, allocations: 9.938 kB / 0.5454 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.5498, allocations: 1.321 MB / 0.5467 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.5502, allocations: 206.4 kB / 0.5469 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.605e-05/0.5503, allocations: 18.56 kB / 0.5469 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.5508, allocations: 49.86 kB / 0.5469 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.551, allocations: 80.42 kB / 0.547 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.5511, allocations: 27.22 kB / 0.547 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007297/0.5518, allocations: 417 kB / 0.5474 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5518, allocations: 1.344 kB / 0.5474 GB, free: 10.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001311/0.5532, allocations: 254.4 kB / 0.5477 GB, free: 10.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001843/0.5533, allocations: 131 kB / 0.5478 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.5559, allocations: 1.266 MB / 0.549 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.5559, allocations: 4.125 kB / 0.549 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009614/0.5569, allocations: 0.5076 MB / 0.5495 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.5579, allocations: 165.1 kB / 0.5497 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.5607, allocations: 1.731 MB / 0.5514 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.5613, allocations: 0.986 MB / 0.5524 GB, free: 5.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005181/0.5619, allocations: 152.8 kB / 0.5525 GB, free: 5.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.5621, allocations: 55.42 kB / 0.5526 GB, free: 5.375 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5621, allocations: 0 / 0.5526 GB, free: 5.375 MB / 414.1 MB Notification: Performance of Templates: time 0.01548/0.5776, allocations: 8.682 MB / 0.561 GB, free: 12.73 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)