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.001427/0.001427, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001538/0.001538, allocations: 161.7 kB / 24.27 MB, free: 172 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.513/1.513, allocations: 177.1 MB / 204.6 MB, free: 5.574 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.3201/0.3201, allocations: 29.42 MB / 290.5 MB, free: 2.445 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 2.275e-06/2.275e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.481e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.006146/0.006181, allocations: 3.607 MB / 372.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003461/0.009642, allocations: 1.82 MB / 374.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.009847, allocations: 11.94 kB / 374.3 MB, free: 5.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000953/0.0108, allocations: 230.8 kB / 374.6 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008165/0.01162, allocations: 314.4 kB / 374.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.01214, allocations: 187.2 kB / 375 MB, free: 5.109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006001/0.01274, allocations: 458.7 kB / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.01307, allocations: 162 kB / 375.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005368/0.01361, allocations: 267.2 kB / 375.9 MB, free: 4.246 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.0139, allocations: 167.5 kB / 376.1 MB, free: 4.082 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.01396, allocations: 32 kB / 376.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006259/0.01458, allocations: 339 kB / 376.4 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.01473, allocations: 127.6 kB / 376.6 MB, free: 3.594 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.01488, allocations: 103.8 kB / 376.7 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008574/0.01573, allocations: 0.5881 MB / 377.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01574, allocations: 0 / 377.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01574, allocations: 0 / 377.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.01575, allocations: 0 / 377.3 MB, free: 2.902 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.001048/0.01679, allocations: 0.5904 MB / 377.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.01684, allocations: 11.98 kB / 377.9 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008618/0.0177, allocations: 140.5 kB / 378 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.01821, allocations: 296.6 kB / 378.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.01823, allocations: 12.75 kB / 378.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.01827, allocations: 16.38 kB / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.01896, allocations: 403.3 kB / 378.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.01898, allocations: 3.938 kB / 378.7 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.01902, allocations: 15.94 kB / 378.7 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.01905, allocations: 12.38 kB / 378.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008501/0.0199, allocations: 444.6 kB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.02199, allocations: 1.357 MB / 380.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.02277, allocations: 345.1 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.02298, allocations: 117.6 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.02301, allocations: 8 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.02339, allocations: 200.1 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/0.02339, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009453/0.02434, allocations: 448.5 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.02444, allocations: 132.5 kB / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.02487, allocations: 340.2 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.02491, allocations: 33.7 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.02507, allocations: 180.3 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.186e-05/0.02516, allocations: 87.64 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.02527, allocations: 61.92 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.02546, allocations: 338.8 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.02567, allocations: 108.5 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.02597, allocations: 221 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/0.02674, allocations: 333.1 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.02675, allocations: 0 / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0011/0.02785, allocations: 411.7 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.02787, allocations: 4.312 kB / 383.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.02788, allocations: 11.98 kB / 383.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.02791, allocations: 4 kB / 383.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.02837, allocations: 59.91 kB / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.02839, allocations: 4 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.02863, allocations: 19.89 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.02868, allocations: 19.98 kB / 383.9 MB, free: 11.86 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.0003078/0.02899, allocations: 184.7 kB / 384.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.02912, allocations: 39.81 kB / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.03032, allocations: 412 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.03033, allocations: 8 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.03033, allocations: 0 / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.03034, allocations: 3.984 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.03172, allocations: 0.7482 MB / 385.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.03172, allocations: 0 / 385.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.03194, allocations: 55.97 kB / 385.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.03195, allocations: 4 kB / 385.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.03197, allocations: 8 kB / 385.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.03198, allocations: 7.875 kB / 385.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.03198, allocations: 11.98 kB / 385.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000767/0.03275, allocations: 491.4 kB / 385.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.03282, allocations: 39.67 kB / 385.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.03287, allocations: 12 kB / 385.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.03302, allocations: 4 kB / 385.9 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.0331, allocations: 27.95 kB / 386 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.03313, allocations: 15.92 kB / 386 MB, free: 9.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005819/0.03371, allocations: 255 kB / 386.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03371, allocations: 0 / 386.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004795/0.03419, allocations: 99.81 kB / 386.3 MB, free: 9.391 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.002309/0.0365, allocations: 0.5424 MB / 386.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006271/0.03713, allocations: 280.1 kB / 387.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.03713, allocations: 0 / 387.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.03741, allocations: 147.8 kB / 387.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.03794, allocations: 73.31 kB / 387.4 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.03924, allocations: 0.6474 MB / 388 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.03948, allocations: 193 kB / 388.2 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.0397, allocations: 90.89 kB / 388.3 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.03982, allocations: 40.48 kB / 388.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.03982, allocations: 0 / 388.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of Templates: time 0.01024/0.05006, allocations: 4.41 MB / 392.7 MB, free: 3.203 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.785308444988914]