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/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.001239/0.001239, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001384/0.001384, allocations: 164.9 kB / 25.61 MB, free: 8.902 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 0.8825/0.8825, allocations: 177.1 MB / 206 MB, free: 4.5 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.1238/0.1238, allocations: 29.42 MB / 292 MB, free: 2.633 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.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.245e-05, allocations: 4.688 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.002899/0.002911, allocations: 3.736 MB / 374.6 MB, free: 28.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.004439, allocations: 1.597 MB / 376.2 MB, free: 26.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.004579, allocations: 11.94 kB / 376.2 MB, free: 26.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006417/0.00522, allocations: 238.8 kB / 376.4 MB, free: 26.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.005672, allocations: 302.5 kB / 376.7 MB, free: 26.42 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.005957, allocations: 187.2 kB / 376.9 MB, free: 26.24 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.00625, allocations: 450.8 kB / 377.4 MB, free: 25.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.006443, allocations: 161.9 kB / 377.5 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.006737, allocations: 279.1 kB / 377.8 MB, free: 25.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.006898, allocations: 171.5 kB / 378 MB, free: 25.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.006923, allocations: 28 kB / 378 MB, free: 25.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.007212, allocations: 327.2 kB / 378.3 MB, free: 24.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.65e-05/0.007288, allocations: 131.6 kB / 378.4 MB, free: 24.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.007351, allocations: 103.7 kB / 378.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.007721, allocations: 470.5 kB / 379 MB, free: 24.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.007723, allocations: 3.938 kB / 379 MB, free: 24.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.007723, allocations: 0 / 379 MB, free: 24.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.007727, allocations: 0 / 379 MB, free: 24.16 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000479/0.008207, allocations: 0.6903 MB / 379.7 MB, free: 23.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.008233, allocations: 8.031 kB / 379.7 MB, free: 23.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.008614, allocations: 128.5 kB / 379.8 MB, free: 23.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.008839, allocations: 271.4 kB / 380.1 MB, free: 23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.008854, allocations: 16.75 kB / 380.1 MB, free: 22.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.008876, allocations: 16.38 kB / 380.1 MB, free: 22.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.009098, allocations: 299.8 kB / 380.4 MB, free: 22.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.009108, allocations: 3.938 kB / 380.4 MB, free: 22.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.009124, allocations: 4 kB / 380.4 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.009145, allocations: 16.36 kB / 380.4 MB, free: 22.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.009316, allocations: 188.3 kB / 380.6 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/0.01004, allocations: 1.417 MB / 382 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.0103, allocations: 242.1 kB / 382.3 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.01035, allocations: 51.34 kB / 382.3 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.01036, allocations: 4 kB / 382.3 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.01049, allocations: 155.9 kB / 382.5 MB, free: 20.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.142e-06/0.01049, allocations: 3.938 kB / 382.5 MB, free: 20.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002952/0.01078, allocations: 248.4 kB / 382.7 MB, free: 20.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.01081, allocations: 132.5 kB / 382.9 MB, free: 20.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.01094, allocations: 330.2 kB / 383.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.01096, allocations: 37.7 kB / 383.2 MB, free: 19.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.01102, allocations: 231 kB / 383.4 MB, free: 19.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.01106, allocations: 83.3 kB / 383.5 MB, free: 19.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.01111, allocations: 67.61 kB / 383.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.01116, allocations: 0.5157 MB / 384.1 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.0112, allocations: 32.53 kB / 384.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.01127, allocations: 178.9 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.01139, allocations: 211.9 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.0114, allocations: 0 / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002116/0.01161, allocations: 261 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.01162, allocations: 8 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01162, allocations: 0 / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.01163, allocations: 8 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.01177, allocations: 59.91 kB / 384.9 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01177, allocations: 4 kB / 384.9 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.874e-05/0.01184, allocations: 24.19 kB / 384.9 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.01185, allocations: 16 kB / 384.9 MB, free: 17.83 MB / 314.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 ($PRE.city.data.nextTimeEvent,$whenCondition1,city.data.nextTimeEventScaled,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEvent,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/0.01192, allocations: 191.1 kB / 385.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.01195, allocations: 31.81 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.0122, allocations: 276.6 kB / 385.4 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.0122, allocations: 4 kB / 385.4 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.01221, allocations: 0 / 385.4 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01221, allocations: 0 / 385.4 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.01259, allocations: 0.6035 MB / 386 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01259, allocations: 0 / 386 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/0.01269, allocations: 59.92 kB / 386 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.0127, allocations: 7.984 kB / 386.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.01271, allocations: 8 kB / 386.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01271, allocations: 0 / 386.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01271, allocations: 0 / 386.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.01293, allocations: 417.6 kB / 386.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.01295, allocations: 31.73 kB / 386.5 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.01298, allocations: 15.95 kB / 386.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.01304, allocations: 8 kB / 386.5 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.01308, allocations: 31.89 kB / 386.6 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.01309, allocations: 12 kB / 386.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.921e-05/0.01316, allocations: 226.9 kB / 386.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01316, allocations: 0 / 386.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.01349, allocations: 99.8 kB / 386.9 MB, free: 15.77 MB / 314.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) * Number of clocked states: 0 () * 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 (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.0008316/0.01432, allocations: 0.4931 MB / 387.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.01452, allocations: 148.2 kB / 387.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01452, allocations: 0 / 387.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.235e-05/0.01459, allocations: 95.48 kB / 387.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.01485, allocations: 73.22 kB / 387.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007539/0.0156, allocations: 0.5699 MB / 388.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.832e-05/0.01565, allocations: 118 kB / 388.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.802e-05/0.01574, allocations: 54.94 kB / 388.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.01586, allocations: 134.2 kB / 388.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01586, allocations: 0 / 388.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of Templates: time 0.005386/0.02125, allocations: 4.937 MB / 393.5 MB, free: 9.379 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0941482852213085]