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.001393/0.001393, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001586/0.001586, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.9501/0.9501, allocations: 177.1 MB / 205 MB, free: 5.258 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.2352/0.2352, allocations: 29.42 MB / 290.9 MB, free: 2.438 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.543e-06/1.543e-06, allocations: 3.938 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.37e-05, allocations: 6.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004056/0.00408, allocations: 3.751 MB / 373.4 MB, free: 7.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.006062, allocations: 1.621 MB / 375 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.006246, allocations: 11.94 kB / 375 MB, free: 5.605 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.006936, allocations: 238.8 kB / 375.3 MB, free: 5.371 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006357/0.007572, allocations: 302.5 kB / 375.5 MB, free: 5.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.007976, allocations: 183.2 kB / 375.7 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.008438, allocations: 462.7 kB / 376.2 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.008723, allocations: 161.9 kB / 376.3 MB, free: 4.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004406/0.009164, allocations: 271.2 kB / 376.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.009407, allocations: 163.6 kB / 376.8 MB, free: 3.863 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.009442, allocations: 31.94 kB / 376.8 MB, free: 3.832 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.009913, allocations: 331.2 kB / 377.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.01003, allocations: 127.6 kB / 377.2 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.01014, allocations: 107.7 kB / 377.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006196/0.01076, allocations: 470.5 kB / 377.8 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01076, allocations: 4 kB / 377.8 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01076, allocations: 0 / 377.8 MB, free: 2.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.01077, allocations: 0 / 377.8 MB, free: 2.812 MB / 346.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.0007627/0.01153, allocations: 0.6826 MB / 378.5 MB, free: 2.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.01157, allocations: 15.98 kB / 378.5 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000507/0.01207, allocations: 128.5 kB / 378.6 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.01242, allocations: 291.4 kB / 378.9 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.01244, allocations: 12.75 kB / 378.9 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.01246, allocations: 24.34 kB / 379 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.01283, allocations: 303.9 kB / 379.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005141/0.01335, allocations: 3.938 kB / 379.3 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.01337, allocations: 12 kB / 379.3 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.0134, allocations: 16.36 kB / 379.3 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.01371, allocations: 228.8 kB / 379.5 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.01488, allocations: 1.491 MB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.01527, allocations: 266.1 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.01535, allocations: 55.92 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.01537, allocations: 4 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.01555, allocations: 170.8 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.944e-06/0.01555, allocations: 4 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004113/0.01596, allocations: 260.4 kB / 381.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.01602, allocations: 132.5 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.01624, allocations: 342.3 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.01626, allocations: 29.7 kB / 382.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.01637, allocations: 231 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.01642, allocations: 91.38 kB / 382.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.01649, allocations: 67.58 kB / 382.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.01662, allocations: 0.5121 MB / 383.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.0167, allocations: 44.53 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.01682, allocations: 191 kB / 383.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.01703, allocations: 216.4 kB / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01703, allocations: 0 / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002904/0.01732, allocations: 279.9 kB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01734, allocations: 8 kB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01734, allocations: 0 / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.01736, allocations: 4 kB / 383.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.01752, allocations: 76.16 kB / 383.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.01753, allocations: 4 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.525e-05/0.0176, allocations: 27.83 kB / 384 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.01762, allocations: 8 kB / 384 MB, free: 12.22 MB / 362.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 0.0001006/0.01772, allocations: 184.4 kB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.01776, allocations: 31.86 kB / 384.2 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.01811, allocations: 300 kB / 384.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01812, allocations: 4 kB / 384.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01812, allocations: 0 / 384.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01813, allocations: 7.984 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.0187, allocations: 0.6654 MB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0187, allocations: 4 kB / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.01882, allocations: 55.91 kB / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01882, allocations: 0 / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.01884, allocations: 8 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01884, allocations: 4 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01884, allocations: 0 / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.01917, allocations: 437.5 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.0192, allocations: 39.7 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.01924, allocations: 16 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.01931, allocations: 11.98 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.01935, allocations: 19.97 kB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.01937, allocations: 15.92 kB / 385.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.0195, allocations: 231 kB / 386 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0195, allocations: 3.938 kB / 386 MB, free: 10.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002856/0.01979, allocations: 99.81 kB / 386.1 MB, free: 10.02 MB / 362.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.001274/0.02106, allocations: 0.5049 MB / 386.6 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.02133, allocations: 164.3 kB / 386.7 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02133, allocations: 0 / 386.7 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.02144, allocations: 104.1 kB / 386.8 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.02173, allocations: 76.92 kB / 386.9 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.02278, allocations: 0.5801 MB / 387.5 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.474e-05/0.02285, allocations: 114 kB / 387.6 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.02297, allocations: 74.89 kB / 387.7 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.02305, allocations: 44.47 kB / 387.7 MB, free: 8.492 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02305, allocations: 0 / 387.7 MB, free: 8.492 MB / 362.7 MB Notification: Performance of Templates: time 0.006507/0.02956, allocations: 4.74 MB / 392.5 MB, free: 3.805 MB / 362.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.0136751630343497]