Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.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.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001543/0.001544, allocations: 182 kB / 13.64 MB, free: 1.676 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.624/1.624, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001578/0.001578, allocations: 129.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1617/0.1617, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.492e-05/4.494e-05, allocations: 8 kB / 397.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2779, allocations: 53.22 MB / 450.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.4094, allocations: 89.24 MB / 0.5273 GB, free: 4.117 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001526/0.411, allocations: 0.6905 MB / 0.528 GB, free: 3.43 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.2352/0.6462, allocations: 14.37 MB / 0.542 GB, free: 84.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.634e-06/0.6463, allocations: 3.031 kB / 0.542 GB, free: 84.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.394e-05/0.6463, allocations: 3.312 kB / 0.542 GB, free: 84.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007987/0.6471, allocations: 0.6142 MB / 0.5426 GB, free: 84.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.6472, allocations: 11.59 kB / 0.5427 GB, free: 84.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007904/0.648, allocations: 105.5 kB / 0.5428 GB, free: 84.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.6486, allocations: 355.5 kB / 0.5431 GB, free: 83.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.6486, allocations: 15.97 kB / 0.5431 GB, free: 83.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.6487, allocations: 15.47 kB / 0.5431 GB, free: 83.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.6492, allocations: 365 kB / 0.5435 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6492, allocations: 0 / 0.5435 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.6493, allocations: 13.59 kB / 0.5435 GB, free: 83.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.6493, allocations: 14.61 kB / 0.5435 GB, free: 83.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.6498, allocations: 438.5 kB / 0.5439 GB, free: 83.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.6513, allocations: 1.618 MB / 0.5455 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.6519, allocations: 365.1 kB / 0.5459 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.652, allocations: 122.5 kB / 0.546 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.6521, allocations: 7.969 kB / 0.546 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.6523, allocations: 197 kB / 0.5462 GB, free: 81.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.914e-06/0.6523, allocations: 0 / 0.5462 GB, free: 81.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004977/0.6528, allocations: 320.4 kB / 0.5465 GB, free: 81.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.6529, allocations: 136.5 kB / 0.5466 GB, free: 81.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.6531, allocations: 296.2 kB / 0.5469 GB, free: 81.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.6532, allocations: 33.61 kB / 0.5469 GB, free: 81.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.6532, allocations: 178.5 kB / 0.5471 GB, free: 80.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.6533, allocations: 82.28 kB / 0.5472 GB, free: 80.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.6533, allocations: 4 kB / 0.5472 GB, free: 80.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.6534, allocations: 338.7 kB / 0.5475 GB, free: 80.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.6535, allocations: 118.8 kB / 0.5476 GB, free: 80.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.6537, allocations: 208.4 kB / 0.5478 GB, free: 80.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.6539, allocations: 185.3 kB / 0.548 GB, free: 80.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6539, allocations: 3.938 kB / 0.548 GB, free: 80.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005163/0.6544, allocations: 463.9 kB / 0.5484 GB, free: 79.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.6545, allocations: 33.7 kB / 0.5485 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6545, allocations: 0 / 0.5485 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.6545, allocations: 7.984 kB / 0.5485 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.6548, allocations: 67.84 kB / 0.5485 GB, free: 79.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.6548, allocations: 4 kB / 0.5485 GB, free: 79.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.6549, allocations: 27.69 kB / 0.5486 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.655, allocations: 16 kB / 0.5486 GB, free: 79.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.city.data.nextTimeEvent,city.data.nextTimeEvent,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEventScaled,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.908e-05/0.6551, allocations: 132.8 kB / 0.5487 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.6551, allocations: 35.58 kB / 0.5487 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.6556, allocations: 407.6 kB / 0.5491 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6557, allocations: 4 kB / 0.5491 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6557, allocations: 3.938 kB / 0.5491 GB, free: 79.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6557, allocations: 7.984 kB / 0.5491 GB, free: 79.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/0.6566, allocations: 0.8496 MB / 0.55 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6566, allocations: 4 kB / 0.55 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.6568, allocations: 55.91 kB / 0.55 GB, free: 78.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.6568, allocations: 4 kB / 0.55 GB, free: 78.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.6568, allocations: 8 kB / 0.55 GB, free: 78.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6568, allocations: 4 kB / 0.55 GB, free: 78.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6568, allocations: 0 / 0.55 GB, free: 78.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.6573, allocations: 0.5074 MB / 0.5505 GB, free: 77.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.6574, allocations: 148.6 kB / 0.5507 GB, free: 77.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.6575, allocations: 12 kB / 0.5507 GB, free: 77.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.6576, allocations: 8 kB / 0.5507 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.6577, allocations: 23.97 kB / 0.5507 GB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.6577, allocations: 15.98 kB / 0.5507 GB, free: 77.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.6579, allocations: 231.1 kB / 0.551 GB, free: 77.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6579, allocations: 0 / 0.551 GB, free: 77.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004129/0.6583, allocations: 115.7 kB / 0.5511 GB, free: 77.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009089/0.6592, allocations: 437.1 kB / 0.5515 GB, free: 76.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004525/0.6597, allocations: 391 kB / 0.5519 GB, free: 76.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6597, allocations: 0 / 0.5519 GB, free: 76.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.6599, allocations: 151.8 kB / 0.552 GB, free: 76.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.6604, allocations: 41.47 kB / 0.552 GB, free: 76.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.6615, allocations: 483.6 kB / 0.5525 GB, free: 75.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.6618, allocations: 0.8115 MB / 0.5533 GB, free: 74.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.6621, allocations: 90.88 kB / 0.5534 GB, free: 74.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.6622, allocations: 35.42 kB / 0.5534 GB, free: 74.61 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.6622, allocations: 0 / 0.5534 GB, free: 74.61 MB / 378.7 MB Notification: Performance of Templates: time 0.009705/0.6719, allocations: 3.887 MB / 0.5572 GB, free: 70.72 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1)