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.002305/0.002305, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002087/0.002087, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.619/1.619, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.3114/0.3114, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.904e-06/1.904e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.827e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.00626/0.006288, allocations: 3.712 MB / 372.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003519/0.009807, allocations: 1.893 MB / 374.5 MB, free: 5.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.009972, allocations: 7.938 kB / 374.5 MB, free: 5.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008993/0.01087, allocations: 242.8 kB / 374.7 MB, free: 5.453 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008079/0.01168, allocations: 310.5 kB / 375 MB, free: 5.148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.01218, allocations: 187.2 kB / 375.2 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.01278, allocations: 458.7 kB / 375.7 MB, free: 4.516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.01312, allocations: 166 kB / 375.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005598/0.01368, allocations: 267.2 kB / 376.1 MB, free: 4.098 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.01399, allocations: 175.5 kB / 376.2 MB, free: 3.926 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-05/0.01406, allocations: 35.94 kB / 376.3 MB, free: 3.891 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006386/0.0147, allocations: 327 kB / 376.6 MB, free: 3.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.01487, allocations: 131.6 kB / 376.7 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.01504, allocations: 99.75 kB / 376.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009672/0.016, allocations: 0.592 MB / 377.4 MB, free: 2.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01601, allocations: 0 / 377.4 MB, free: 2.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01601, allocations: 0 / 377.4 MB, free: 2.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.01602, allocations: 0 / 377.4 MB, free: 2.75 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.00123/0.01725, allocations: 0.7212 MB / 378.1 MB, free: 1.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.01729, allocations: 11.98 kB / 378.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007936/0.01808, allocations: 132.5 kB / 378.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005557/0.01864, allocations: 291.4 kB / 378.6 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.01866, allocations: 8.75 kB / 378.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.0187, allocations: 24.38 kB / 378.6 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.0193, allocations: 327.2 kB / 378.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.01932, allocations: 3.938 kB / 378.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.01935, allocations: 12 kB / 378.9 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.01939, allocations: 20.3 kB / 379 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008921/0.02028, allocations: 288.7 kB / 379.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.02258, allocations: 1.581 MB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007376/0.02332, allocations: 281.1 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.0235, allocations: 75.34 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.02353, allocations: 4 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.0239, allocations: 190.3 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.0239, allocations: 3.938 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007842/0.02469, allocations: 308.4 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.02481, allocations: 136.8 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.02529, allocations: 402.3 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.02532, allocations: 29.7 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/0.02576, allocations: 247 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.967e-05/0.02586, allocations: 95.38 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.02599, allocations: 71.59 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003296/0.02632, allocations: 0.5391 MB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.02648, allocations: 60.53 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.02679, allocations: 222.9 kB / 383.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.02724, allocations: 268.4 kB / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.02724, allocations: 0 / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006214/0.02786, allocations: 324.2 kB / 384 MB, free: 11.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.02788, allocations: 8 kB / 384 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.02789, allocations: 0 / 384 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.02791, allocations: 4 kB / 384 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.0282, allocations: 71.91 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.02822, allocations: 11.92 kB / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.02837, allocations: 19.83 kB / 384.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.0284, allocations: 12 kB / 384.1 MB, free: 11.59 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.0002085/0.02861, allocations: 192.7 kB / 384.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/0.0287, allocations: 43.8 kB / 384.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006968/0.0294, allocations: 320.1 kB / 384.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.02941, allocations: 4 kB / 384.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.02942, allocations: 0 / 384.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.02942, allocations: 3.984 kB / 384.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.03066, allocations: 0.7474 MB / 385.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.03066, allocations: 3.984 kB / 385.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.03088, allocations: 55.92 kB / 385.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.03089, allocations: 4 kB / 385.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.03091, allocations: 19.92 kB / 385.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.03091, allocations: 0 / 385.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.03092, allocations: 0 / 385.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.03163, allocations: 481.5 kB / 386 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.86e-05/0.0317, allocations: 43.62 kB / 386 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.03175, allocations: 12 kB / 386 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.03189, allocations: 4 kB / 386 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.03196, allocations: 27.95 kB / 386.1 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.03198, allocations: 11.94 kB / 386.1 MB, free: 9.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005369/0.03252, allocations: 271 kB / 386.4 MB, free: 9.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03252, allocations: 4 kB / 386.4 MB, free: 9.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004389/0.03296, allocations: 95.81 kB / 386.4 MB, free: 9.199 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.003443/0.0364, allocations: 0.54 MB / 387 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000521/0.03692, allocations: 215.4 kB / 387.2 MB, free: 8.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03693, allocations: 0 / 387.2 MB, free: 8.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.03717, allocations: 128.3 kB / 387.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.03768, allocations: 80.7 kB / 387.4 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.03882, allocations: 0.5765 MB / 388 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.03905, allocations: 193 kB / 388.2 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.03924, allocations: 66.91 kB / 388.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.03936, allocations: 40.48 kB / 388.3 MB, free: 7.535 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03936, allocations: 0 / 388.3 MB, free: 7.535 MB / 362.7 MB Notification: Performance of Templates: time 0.01029/0.04965, allocations: 4.426 MB / 392.7 MB, free: 3.152 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: 4.9165175560628995]