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.0009513/0.0009513, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009262/0.0009262, allocations: 161 kB / 24.56 MB, free: 12 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 0.9468/0.9468, allocations: 177.1 MB / 205 MB, free: 5.309 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.2284/0.2284, allocations: 29.41 MB / 290.9 MB, free: 2.465 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.192e-06/1.192e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.722e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003759/0.003776, allocations: 3.758 MB / 373.4 MB, free: 7.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.005651, allocations: 1.617 MB / 375 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.005807, allocations: 11.88 kB / 375 MB, free: 5.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006335/0.00644, allocations: 238.8 kB / 375.3 MB, free: 5.355 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.006941, allocations: 310.5 kB / 375.6 MB, free: 5.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.007276, allocations: 183.2 kB / 375.7 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.007685, allocations: 454.7 kB / 376.2 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.007936, allocations: 162 kB / 376.3 MB, free: 4.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003573/0.008293, allocations: 267.2 kB / 376.6 MB, free: 4.012 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.0085, allocations: 175.5 kB / 376.8 MB, free: 3.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.008535, allocations: 32 kB / 376.8 MB, free: 3.809 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.008895, allocations: 323.2 kB / 377.1 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.008998, allocations: 135.6 kB / 377.3 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.42e-05/0.009082, allocations: 103.7 kB / 377.4 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.009559, allocations: 474.4 kB / 377.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.009562, allocations: 0 / 377.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.009562, allocations: 0 / 377.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.009567, allocations: 0 / 377.8 MB, free: 2.793 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.000701/0.01027, allocations: 0.6826 MB / 378.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.0103, allocations: 11.98 kB / 378.5 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/0.01076, allocations: 132.5 kB / 378.6 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.01107, allocations: 291.4 kB / 378.9 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.01109, allocations: 12.75 kB / 378.9 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.01112, allocations: 20.36 kB / 379 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.01145, allocations: 303.9 kB / 379.3 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01146, allocations: 3.938 kB / 379.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.01148, allocations: 11.98 kB / 379.3 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.01151, allocations: 16.36 kB / 379.3 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.01182, allocations: 236.8 kB / 379.5 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.01293, allocations: 1.487 MB / 381 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.01331, allocations: 262.1 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.01339, allocations: 63.34 kB / 381.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.01341, allocations: 7.938 kB / 381.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.01359, allocations: 164 kB / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.01359, allocations: 0 / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004034/0.014, allocations: 260.6 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.01405, allocations: 136.5 kB / 381.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.01428, allocations: 338.3 kB / 382.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.0143, allocations: 33.7 kB / 382.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.0144, allocations: 231.3 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.01444, allocations: 91.44 kB / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.01451, allocations: 63.59 kB / 382.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01463, allocations: 0.5118 MB / 383.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.01471, allocations: 40.53 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.01483, allocations: 191 kB / 383.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.01505, allocations: 220.3 kB / 383.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01505, allocations: 0 / 383.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000303/0.01535, allocations: 276 kB / 383.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.01536, allocations: 12.25 kB / 383.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01537, allocations: 4 kB / 383.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01538, allocations: 4 kB / 383.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.01554, allocations: 63.91 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.01555, allocations: 7.984 kB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.359e-05/0.01563, allocations: 23.84 kB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.01564, allocations: 12 kB / 384 MB, free: 12.2 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 9.407e-05/0.01574, allocations: 180.4 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.01578, allocations: 35.84 kB / 384.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.01613, allocations: 300 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01613, allocations: 4 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01614, allocations: 7.938 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01614, allocations: 7.984 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.01671, allocations: 0.6537 MB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01671, allocations: 0 / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.01683, allocations: 59.91 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.01683, allocations: 4 kB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.01685, allocations: 8 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01685, allocations: 3.984 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01685, allocations: 8 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.01718, allocations: 429.6 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.01721, allocations: 39.7 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.01724, allocations: 15.98 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.01731, allocations: 8 kB / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.01736, allocations: 27.94 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.01737, allocations: 15.94 kB / 385.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.01751, allocations: 231 kB / 386 MB, free: 10.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01751, allocations: 0 / 386 MB, free: 10.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.01778, allocations: 99.81 kB / 386.1 MB, free: 10 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.0009118/0.01869, allocations: 0.5036 MB / 386.6 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.01894, allocations: 176.7 kB / 386.8 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01895, allocations: 0 / 386.8 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01906, allocations: 103.5 kB / 386.9 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.01934, allocations: 71.27 kB / 386.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009543/0.0203, allocations: 0.5843 MB / 387.5 MB, free: 8.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.59e-05/0.02036, allocations: 110 kB / 387.6 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.02047, allocations: 70.89 kB / 387.7 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.511e-05/0.02055, allocations: 44.48 kB / 387.7 MB, free: 8.477 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02055, allocations: 4 kB / 387.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of Templates: time 0.005824/0.02637, allocations: 4.433 MB / 392.2 MB, free: 4.086 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: 3.0833030408248305]