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.001039/0.001039, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001858/0.001858, allocations: 164.5 kB / 24.99 MB, free: 8.793 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.9386/0.9386, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2264/0.2264, allocations: 29.42 MB / 291.2 MB, free: 2.504 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.503e-06/1.503e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.448e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.00394/0.003964, allocations: 3.754 MB / 373.4 MB, free: 7.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.006059, allocations: 1.901 MB / 375.3 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.006228, allocations: 15.88 kB / 375.3 MB, free: 5.613 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006671/0.006895, allocations: 238.8 kB / 375.5 MB, free: 5.379 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000595/0.00749, allocations: 310.5 kB / 375.8 MB, free: 5.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.00786, allocations: 183.2 kB / 376 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.008284, allocations: 454.8 kB / 376.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.008557, allocations: 173.8 kB / 376.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.008936, allocations: 267.3 kB / 376.9 MB, free: 4.023 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.009152, allocations: 171.5 kB / 377 MB, free: 3.855 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.009183, allocations: 28 kB / 377.1 MB, free: 3.828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.009589, allocations: 339 kB / 377.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.009697, allocations: 127.7 kB / 377.5 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.009786, allocations: 103.8 kB / 377.6 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.01031, allocations: 470.5 kB / 378.1 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01032, allocations: 0 / 378.1 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01032, allocations: 0 / 378.1 MB, free: 2.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.01032, allocations: 0 / 378.1 MB, free: 2.809 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.0007197/0.01104, allocations: 0.6826 MB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.01108, allocations: 11.98 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/0.0116, allocations: 132.5 kB / 378.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.01192, allocations: 295.4 kB / 379.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.01194, allocations: 12.75 kB / 379.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.01197, allocations: 20.31 kB / 379.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.01232, allocations: 311.9 kB / 379.5 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.01233, allocations: 3.938 kB / 379.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.01238, allocations: 11.94 kB / 379.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.01242, allocations: 20.36 kB / 379.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.01275, allocations: 232.8 kB / 379.8 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.0139, allocations: 1.479 MB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.01428, allocations: 277.8 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.01437, allocations: 62.55 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.01438, allocations: 4 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.01457, allocations: 170.8 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.01457, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004191/0.01499, allocations: 261.2 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.01505, allocations: 132.5 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.01529, allocations: 338.2 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.01531, allocations: 37.7 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.01542, allocations: 227.3 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.01547, allocations: 83.38 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.01554, allocations: 67.58 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.01567, allocations: 0.5118 MB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.01575, allocations: 44.53 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.01589, allocations: 194.8 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.0161, allocations: 219.6 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.0161, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003251/0.01642, allocations: 273.3 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01644, allocations: 8 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.01644, allocations: 4 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.01646, allocations: 4 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.01663, allocations: 59.91 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01663, allocations: 7.938 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.01671, allocations: 35.77 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.01673, allocations: 16 kB / 384.3 MB, free: 12.2 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.0001009/0.01683, allocations: 176.5 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.01688, allocations: 35.86 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.01725, allocations: 296 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.01725, allocations: 4 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01726, allocations: 0 / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01726, allocations: 0 / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.01786, allocations: 0.6732 MB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01787, allocations: 0 / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.01799, allocations: 59.91 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01799, allocations: 0 / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01801, allocations: 8 kB / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.01801, allocations: 8 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01801, allocations: 0 / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.01836, allocations: 441.5 kB / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.01839, allocations: 35.64 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.01843, allocations: 16 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.0185, allocations: 7.984 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.01855, allocations: 23.97 kB / 386 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.01857, allocations: 15.92 kB / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.01871, allocations: 235 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01871, allocations: 0 / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002932/0.019, allocations: 99.75 kB / 386.4 MB, free: 10 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.001004/0.02001, allocations: 0.4937 MB / 386.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.02032, allocations: 172.6 kB / 387 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.02033, allocations: 0 / 387 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.02045, allocations: 103.5 kB / 387.1 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.02078, allocations: 64.06 kB / 387.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.02189, allocations: 0.5806 MB / 387.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.243e-05/0.02196, allocations: 113.8 kB / 387.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000123/0.02208, allocations: 74.89 kB / 388 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.02216, allocations: 48.34 kB / 388 MB, free: 8.488 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/0.02217, allocations: 4 kB / 388 MB, free: 8.484 MB / 362.7 MB Notification: Performance of Templates: time 0.006387/0.02855, allocations: 4.436 MB / 392.4 MB, free: 4.094 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.0580425150692463]