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.0008956/0.0008956, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004546/0.004546, allocations: 160.5 kB / 24.7 MB, free: 9.43 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.8859/0.8859, allocations: 177.1 MB / 205 MB, free: 5.715 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.2245/0.2245, allocations: 29.41 MB / 290.9 MB, free: 2.418 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.293e-06/1.293e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.642e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003007/0.003023, allocations: 3.595 MB / 435.1 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.004638, allocations: 1.835 MB / 436.9 MB, free: 7.625 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.004744, allocations: 11.94 kB / 436.9 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.005285, allocations: 234.8 kB / 437.1 MB, free: 7.383 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006165/0.005901, allocations: 310.5 kB / 437.4 MB, free: 7.078 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.006129, allocations: 179.2 kB / 437.6 MB, free: 6.902 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.006455, allocations: 462.7 kB / 438.1 MB, free: 6.449 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.006689, allocations: 165.9 kB / 438.2 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.006985, allocations: 271.2 kB / 438.5 MB, free: 6.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.007153, allocations: 167.5 kB / 438.7 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.007187, allocations: 32 kB / 438.7 MB, free: 5.824 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.007482, allocations: 335 kB / 439 MB, free: 5.496 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.00757, allocations: 131.6 kB / 439.2 MB, free: 5.367 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.007649, allocations: 103.7 kB / 439.3 MB, free: 5.266 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004638/0.008113, allocations: 0.5921 MB / 439.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.008115, allocations: 0 / 439.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.008116, allocations: 0 / 439.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.00812, allocations: 4 kB / 439.8 MB, free: 4.668 MB / 410.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.0006156/0.008735, allocations: 0.5827 MB / 440.4 MB, free: 4.051 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.008766, allocations: 11.98 kB / 440.4 MB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.00914, allocations: 96.59 kB / 440.5 MB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.009447, allocations: 284.6 kB / 440.8 MB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.009465, allocations: 20.75 kB / 440.8 MB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.009489, allocations: 20.36 kB / 440.9 MB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.00987, allocations: 399.3 kB / 441.2 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.009881, allocations: 3.938 kB / 441.2 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.009899, allocations: 8 kB / 441.3 MB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.009921, allocations: 12.38 kB / 441.3 MB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.01033, allocations: 440.7 kB / 441.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.01139, allocations: 1.365 MB / 443.1 MB, free: 1.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.01181, allocations: 337.1 kB / 443.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.01192, allocations: 109.7 kB / 443.5 MB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.01194, allocations: 4 kB / 443.5 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.01215, allocations: 220.7 kB / 443.7 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.162e-06/0.01215, allocations: 0 / 443.7 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004816/0.01264, allocations: 432 kB / 444.1 MB, free: 172 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.01269, allocations: 136.5 kB / 444.3 MB, free: 4 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1419/0.1546, allocations: 336.7 kB / 444.6 MB, free: 54.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.1546, allocations: 34.08 kB / 444.6 MB, free: 54.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.1547, allocations: 183 kB / 444.8 MB, free: 54.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.1547, allocations: 88.83 kB / 444.9 MB, free: 54.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.1548, allocations: 61.59 kB / 445 MB, free: 54.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.855e-05/0.1548, allocations: 338.9 kB / 445.3 MB, free: 54.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.155, allocations: 111.6 kB / 445.4 MB, free: 54.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1551, allocations: 220.8 kB / 445.6 MB, free: 54.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.1554, allocations: 326.2 kB / 445.9 MB, free: 53.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1554, allocations: 3.062 kB / 445.9 MB, free: 53.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003407/0.1557, allocations: 387.3 kB / 446.3 MB, free: 53.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1557, allocations: 6 kB / 446.3 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1557, allocations: 2.969 kB / 446.3 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.1557, allocations: 7.156 kB / 446.3 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.1559, allocations: 67.22 kB / 446.4 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1559, allocations: 6.188 kB / 446.4 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/0.156, allocations: 24.67 kB / 446.4 MB, free: 53.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.156, allocations: 19.33 kB / 446.4 MB, free: 53.8 MB / 410.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.0001062/0.1561, allocations: 180.1 kB / 446.6 MB, free: 53.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.1562, allocations: 28.88 kB / 446.7 MB, free: 53.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.1565, allocations: 406.6 kB / 447 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1565, allocations: 9.406 kB / 447.1 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1565, allocations: 0 / 447.1 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1566, allocations: 3.422 kB / 447.1 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.1571, allocations: 0.7491 MB / 447.8 MB, free: 53.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1571, allocations: 2.188 kB / 447.8 MB, free: 53.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1572, allocations: 59.94 kB / 447.9 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1572, allocations: 0 / 447.9 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1572, allocations: 10.44 kB / 447.9 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1572, allocations: 3.281 kB / 447.9 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1572, allocations: 6.625 kB / 447.9 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.1575, allocations: 484.1 kB / 448.4 MB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.1576, allocations: 40.23 kB / 448.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.1576, allocations: 7.156 kB / 448.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1577, allocations: 7.156 kB / 448.4 MB, free: 52.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.1577, allocations: 31.58 kB / 448.4 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.1577, allocations: 16.41 kB / 448.5 MB, free: 52.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.1578, allocations: 248.3 kB / 448.7 MB, free: 52.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1578, allocations: 1.562 kB / 448.7 MB, free: 52.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000276/0.1581, allocations: 100.9 kB / 448.8 MB, free: 52.6 MB / 410.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.0007747/0.1589, allocations: 0.5506 MB / 449.4 MB, free: 52.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.1592, allocations: 284.5 kB / 449.6 MB, free: 52.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1592, allocations: 2.188 kB / 449.6 MB, free: 52.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1593, allocations: 144.8 kB / 449.8 MB, free: 52.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1596, allocations: 53.06 kB / 449.8 MB, free: 52.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.1603, allocations: 0.6754 MB / 450.5 MB, free: 51.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.1604, allocations: 198 kB / 450.7 MB, free: 51.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.1604, allocations: 47.59 kB / 450.7 MB, free: 51.79 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1604, allocations: 0 / 450.7 MB, free: 51.79 MB / 410.7 MB Notification: Performance of Templates: time 0.004151/0.1646, allocations: 5.164 MB / 455.9 MB, free: 51.22 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.818393198773265] Failed to read output from testmodel.py, exit status != 0: 0.1703929528594017 0.18041426300000002 0.170037976 Calling exit ...