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.0019/0.0019, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002169/0.002169, allocations: 168 kB / 23.95 MB, free: 4.16 MB / 14.72 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 1.576/1.576, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] 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.1807/0.1807, allocations: 29.43 MB / 290.1 MB, free: 3.305 MB / 270.1 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 2.495e-06/2.495e-06, allocations: 0 / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.554e-05, allocations: 6.281 kB / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.008856/0.008892, allocations: 3.599 MB / 434.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004959/0.01385, allocations: 1.831 MB / 436.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.01413, allocations: 7.938 kB / 436.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.01541, allocations: 226.9 kB / 436.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.01666, allocations: 310.4 kB / 436.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.01743, allocations: 183.2 kB / 436.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009463/0.01838, allocations: 462.8 kB / 437.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005119/0.01889, allocations: 157.9 kB / 437.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008526/0.01974, allocations: 279.1 kB / 437.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.02021, allocations: 163.5 kB / 437.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.02038, allocations: 28 kB / 437.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.0214, allocations: 327.2 kB / 438.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.02165, allocations: 127.6 kB / 438.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.0219, allocations: 107.7 kB / 438.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.02336, allocations: 0.5998 MB / 439.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.02337, allocations: 0 / 439.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02337, allocations: 0 / 439.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.02338, allocations: 0 / 439.1 MB, free: 9.562 MB / 366.1 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.001598/0.02498, allocations: 0.5865 MB / 439.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.02503, allocations: 15.98 kB / 439.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.02637, allocations: 84.67 kB / 439.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008167/0.02719, allocations: 300.5 kB / 440.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.02722, allocations: 12.75 kB / 440.1 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.02729, allocations: 20.36 kB / 440.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.02846, allocations: 399.4 kB / 440.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.02849, allocations: 7.875 kB / 440.5 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.808e-05/0.02853, allocations: 4 kB / 440.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.02858, allocations: 20.36 kB / 440.5 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.02979, allocations: 432.7 kB / 440.9 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.03307, allocations: 1.365 MB / 442.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.0344, allocations: 341.1 kB / 442.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.03473, allocations: 109.7 kB / 442.7 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.03476, allocations: 8 kB / 442.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005553/0.03531, allocations: 212.5 kB / 442.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.835e-06/0.03532, allocations: 0 / 442.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.00142/0.03674, allocations: 429.2 kB / 443.4 MB, free: 5.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.03686, allocations: 136.5 kB / 443.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.03754, allocations: 340.2 kB / 443.8 MB, free: 4.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.03759, allocations: 29.7 kB / 443.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.03782, allocations: 180.3 kB / 444 MB, free: 4.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.03795, allocations: 91.27 kB / 444.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.03811, allocations: 58.22 kB / 444.2 MB, free: 4.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.03835, allocations: 342.8 kB / 444.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.03868, allocations: 108.5 kB / 444.6 MB, free: 3.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.03915, allocations: 221 kB / 444.8 MB, free: 3.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000856/0.04, allocations: 328.4 kB / 445.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.04001, allocations: 4 kB / 445.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00112/0.04113, allocations: 393 kB / 445.5 MB, free: 2.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.04115, allocations: 4 kB / 445.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.04116, allocations: 4.312 kB / 445.6 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/0.0412, allocations: 8 kB / 445.6 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.04165, allocations: 59.91 kB / 445.6 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.04167, allocations: 7.984 kB / 445.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.04193, allocations: 27.83 kB / 445.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.04199, allocations: 16 kB / 445.7 MB, free: 2.602 MB / 366.1 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.0003384/0.04233, allocations: 184.9 kB / 445.9 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.04244, allocations: 35.75 kB / 445.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.0437, allocations: 400.2 kB / 446.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.0437, allocations: 7.938 kB / 446.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.04372, allocations: 4 kB / 446.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.04373, allocations: 3.984 kB / 446.3 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.04562, allocations: 0.7482 MB / 447 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.04562, allocations: 3.984 kB / 447 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.04598, allocations: 55.98 kB / 447.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.04599, allocations: 0 / 447.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.04603, allocations: 15.92 kB / 447.1 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.04603, allocations: 4 kB / 447.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.04603, allocations: 0 / 447.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.04717, allocations: 492 kB / 447.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.04727, allocations: 35.75 kB / 447.6 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.04737, allocations: 11.94 kB / 447.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.04763, allocations: 15.98 kB / 447.7 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.04774, allocations: 19.97 kB / 447.7 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/0.04779, allocations: 19.92 kB / 447.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004754/0.04827, allocations: 255 kB / 448 MB, free: 256 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04827, allocations: 0 / 448 MB, free: 256 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007928/0.04906, allocations: 99.77 kB / 448 MB, free: 156 kB / 366.1 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.1737/0.2228, allocations: 0.5395 MB / 448.6 MB, free: 30.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006481/0.2234, allocations: 286.4 kB / 448.9 MB, free: 30.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2234, allocations: 1.031 kB / 448.9 MB, free: 30.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.2236, allocations: 144 kB / 449 MB, free: 30.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.2242, allocations: 66.67 kB / 449.1 MB, free: 30.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009386/0.2251, allocations: 0.6303 MB / 449.7 MB, free: 29.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.2253, allocations: 200.4 kB / 449.9 MB, free: 29.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.2255, allocations: 81.91 kB / 450 MB, free: 29.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.2256, allocations: 42.44 kB / 450 MB, free: 29.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2256, allocations: 1.312 kB / 450 MB, free: 29.84 MB / 366.1 MB Notification: Performance of Templates: time 0.009506/0.2351, allocations: 4.386 MB / 454.4 MB, free: 29.32 MB / 366.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.95949038118124] Failed to read output from testmodel.py, exit status != 0: 0.24621675163507462 0.25461420500000004 0.228573352 Calling exit ...