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.001403/0.001403, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001562/0.001562, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.57/1.57, allocations: 230.6 MB / 258.3 MB, free: 8.234 MB / 206.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.1976/0.1976, allocations: 38.51 MB / 353.2 MB, free: 12.6 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 63.91 kB / 493.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3122, allocations: 62.46 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005122/0.3173, allocations: 3.772 MB / 0.5469 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.3204, allocations: 1.983 MB / 0.5488 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.3206, allocations: 13.81 kB / 0.5489 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.3214, allocations: 245.2 kB / 0.5491 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006721/0.3221, allocations: 311.4 kB / 0.5494 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.3225, allocations: 178.8 kB / 0.5496 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.323, allocations: 452.5 kB / 0.55 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.3233, allocations: 162 kB / 0.5501 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004181/0.3238, allocations: 207.1 kB / 0.5503 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3241, allocations: 190.6 kB / 0.5505 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.3241, allocations: 28.91 kB / 0.5505 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005888/0.3247, allocations: 386.9 kB / 0.5509 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.3248, allocations: 116.4 kB / 0.551 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.325, allocations: 152.8 kB / 0.5512 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007491/0.3257, allocations: 0.5744 MB / 0.5517 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3257, allocations: 0 / 0.5517 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3257, allocations: 0 / 0.5517 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3257, allocations: 1.188 kB / 0.5517 GB, free: 10.16 MB / 398.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.0009857/0.3267, allocations: 0.5866 MB / 0.5523 GB, free: 9.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3268, allocations: 12.77 kB / 0.5523 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007106/0.3275, allocations: 95.31 kB / 0.5524 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.3281, allocations: 323.8 kB / 0.5527 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.3281, allocations: 11.69 kB / 0.5527 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.3282, allocations: 20.47 kB / 0.5528 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.3289, allocations: 361.6 kB / 0.5531 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3289, allocations: 0 / 0.5531 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.3289, allocations: 6.75 kB / 0.5531 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.329, allocations: 21.36 kB / 0.5531 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.3297, allocations: 386.3 kB / 0.5535 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.3319, allocations: 1.522 MB / 0.555 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.3324, allocations: 294.7 kB / 0.5553 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.3326, allocations: 93.25 kB / 0.5553 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.3327, allocations: 17.2 kB / 0.5554 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003412/0.333, allocations: 194.6 kB / 0.5555 GB, free: 7.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.526e-06/0.333, allocations: 5.141 kB / 0.5556 GB, free: 7.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007829/0.3338, allocations: 387 kB / 0.5559 GB, free: 6.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.3339, allocations: 140 kB / 0.5561 GB, free: 6.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.3343, allocations: 309.1 kB / 0.5564 GB, free: 6.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.3343, allocations: 35.89 kB / 0.5564 GB, free: 6.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.3345, allocations: 180.9 kB / 0.5566 GB, free: 6.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/0.3345, allocations: 88.92 kB / 0.5566 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.3346, allocations: 52.27 kB / 0.5567 GB, free: 6.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3348, allocations: 342.6 kB / 0.557 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.335, allocations: 93.02 kB / 0.5571 GB, free: 5.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.3352, allocations: 183.1 kB / 0.5573 GB, free: 5.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.3357, allocations: 310.6 kB / 0.5576 GB, free: 5.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3357, allocations: 0 / 0.5576 GB, free: 5.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006126/0.3363, allocations: 364 kB / 0.5579 GB, free: 5.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3363, allocations: 4 kB / 0.5579 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3363, allocations: 4 kB / 0.5579 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3364, allocations: 7.938 kB / 0.5579 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.3366, allocations: 72.09 kB / 0.558 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3366, allocations: 4 kB / 0.558 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.3368, allocations: 27.78 kB / 0.558 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.3368, allocations: 16 kB / 0.5581 GB, free: 4.902 MB / 398.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.0002063/0.337, allocations: 183.9 kB / 0.5582 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.3371, allocations: 31.81 kB / 0.5583 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006411/0.3377, allocations: 340 kB / 0.5586 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3377, allocations: 4 kB / 0.5586 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3377, allocations: 7.938 kB / 0.5586 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.3377, allocations: 7.922 kB / 0.5586 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3388, allocations: 0.7064 MB / 0.5593 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3388, allocations: 0 / 0.5593 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.339, allocations: 51.91 kB / 0.5593 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.339, allocations: 3.938 kB / 0.5593 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.339, allocations: 4 kB / 0.5594 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.339, allocations: 4 kB / 0.5594 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.339, allocations: 0 / 0.5594 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.3396, allocations: 416.9 kB / 0.5598 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.3396, allocations: 31.75 kB / 0.5598 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.3397, allocations: 15.92 kB / 0.5598 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3398, allocations: 8 kB / 0.5598 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.3398, allocations: 23.97 kB / 0.5598 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3399, allocations: 8 kB / 0.5598 GB, free: 2.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002496/0.3401, allocations: 227 kB / 0.5601 GB, free: 2.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3401, allocations: 0 / 0.5601 GB, free: 2.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.3405, allocations: 95.75 kB / 0.5601 GB, free: 2.676 MB / 398.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 (25): * Single equations (assignments): 22 * 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.001781/0.3423, allocations: 0.5039 MB / 0.5606 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.3428, allocations: 232.3 kB / 0.5609 GB, free: 2.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3428, allocations: 4.062 kB / 0.5609 GB, free: 2.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.343, allocations: 111.7 kB / 0.561 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.3435, allocations: 63.84 kB / 0.561 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3445, allocations: 0.636 MB / 0.5616 GB, free: 1.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.345, allocations: 0.7914 MB / 0.5624 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3451, allocations: 43.42 kB / 0.5625 GB, free: 428 kB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3451, allocations: 3.938 kB / 0.5625 GB, free: 424 kB / 398.1 MB Notification: Performance of Templates: time 0.007868/0.3529, allocations: 4.927 MB / 0.5673 GB, free: 11.51 MB / 414.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: 8.385209957137704] Failed to read output from testmodel.py, exit status != 0: 0.3623402719385922 0.37622342099999995 0.047376562000000004 Calling exit ...