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.001022/0.001022, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001123/0.001123, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.2855/0.2855, allocations: 29.41 MB / 291.2 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 1.633e-06/1.633e-06, allocations: 0 / 316.8 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.81e-05, allocations: 2.969 kB / 316.8 MB, free: 44 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005638/0.005666, allocations: 3.758 MB / 320.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.008456, allocations: 1.626 MB / 322.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.008644, allocations: 11.94 kB / 322.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009617/0.009606, allocations: 230.8 kB / 322.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009264/0.01053, allocations: 310.5 kB / 322.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.01109, allocations: 183.2 kB / 322.9 MB, free: 9.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000583/0.01167, allocations: 459.1 kB / 323.4 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.01203, allocations: 167.9 kB / 323.5 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.0126, allocations: 279.1 kB / 323.8 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.01291, allocations: 159.5 kB / 324 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.01297, allocations: 28 kB / 324 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005955/0.01356, allocations: 323.1 kB / 324.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.01371, allocations: 131.6 kB / 324.4 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.01384, allocations: 103.8 kB / 324.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.01461, allocations: 462.5 kB / 325 MB, free: 7.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.01461, allocations: 0 / 325 MB, free: 7.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01462, allocations: 4 kB / 325 MB, free: 7.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.01462, allocations: 0 / 325 MB, free: 7.832 MB / 298.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.0008974/0.01552, allocations: 0.5613 MB / 325.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.01556, allocations: 11.98 kB / 325.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006853/0.01625, allocations: 124.8 kB / 325.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.01669, allocations: 256.6 kB / 325.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.01671, allocations: 16.75 kB / 326 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.01675, allocations: 24.36 kB / 326 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.01717, allocations: 270.9 kB / 326.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.01718, allocations: 7.938 kB / 326.3 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.01721, allocations: 8 kB / 326.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/0.01725, allocations: 16.36 kB / 326.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.01758, allocations: 171.1 kB / 326.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.01899, allocations: 1.042 MB / 327.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/0.01947, allocations: 244 kB / 327.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.272e-05/0.01956, allocations: 41.7 kB / 327.8 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.01958, allocations: 4 kB / 327.8 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.0198, allocations: 151.3 kB / 327.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.764e-06/0.0198, allocations: 0 / 327.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003512/0.02015, allocations: 160.9 kB / 328.1 MB, free: 4.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.02023, allocations: 136.5 kB / 328.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.02048, allocations: 276.5 kB / 328.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.02051, allocations: 33.7 kB / 328.5 MB, free: 4.066 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.0206, allocations: 152.8 kB / 328.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.02067, allocations: 87.3 kB / 328.7 MB, free: 3.828 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.02075, allocations: 53.97 kB / 328.8 MB, free: 3.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.02086, allocations: 346.7 kB / 329.1 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-05/0.02093, allocations: 35.62 kB / 329.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.02106, allocations: 149 kB / 329.3 MB, free: 3.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.02128, allocations: 164.7 kB / 329.5 MB, free: 3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.02128, allocations: 4.031 kB / 329.5 MB, free: 2.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002666/0.02155, allocations: 175.3 kB / 329.7 MB, free: 2.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.02157, allocations: 8 kB / 329.7 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.02158, allocations: 4 kB / 329.7 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.02159, allocations: 4 kB / 329.7 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.02181, allocations: 64.2 kB / 329.7 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.02182, allocations: 8 kB / 329.7 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.02193, allocations: 31.72 kB / 329.8 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.02195, allocations: 12 kB / 329.8 MB, free: 2.691 MB / 298.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.0001257/0.02208, allocations: 135.2 kB / 329.9 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.02213, allocations: 19.98 kB / 329.9 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.02246, allocations: 200 kB / 330.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.02247, allocations: 4 kB / 330.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.02247, allocations: 0 / 330.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.02248, allocations: 11.92 kB / 330.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.02307, allocations: 470.8 kB / 330.6 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.02308, allocations: 0 / 330.6 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.02325, allocations: 51.91 kB / 330.7 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.02326, allocations: 4 kB / 330.7 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.02328, allocations: 12 kB / 330.7 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.02328, allocations: 0 / 330.7 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.02329, allocations: 3.938 kB / 330.7 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.02362, allocations: 314.5 kB / 331 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.02367, allocations: 35.73 kB / 331 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.02372, allocations: 12 kB / 331 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.02383, allocations: 11.98 kB / 331 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.02389, allocations: 31.89 kB / 331.1 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.02391, allocations: 4 kB / 331.1 MB, free: 1.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.02405, allocations: 111.5 kB / 331.2 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02405, allocations: 0 / 331.2 MB, free: 1.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004075/0.02445, allocations: 103.8 kB / 331.3 MB, free: 1.121 MB / 298.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.001727/0.02618, allocations: 0.6609 MB / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.02642, allocations: 137.6 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.02642, allocations: 4 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.02653, allocations: 80.69 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.02685, allocations: 60.69 kB / 332.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.02813, allocations: 0.5823 MB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.764e-05/0.02822, allocations: 114 kB / 332.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.02837, allocations: 54.94 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.02856, allocations: 111.3 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.02856, allocations: 0 / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of Templates: time 0.01003/0.03859, allocations: 4.847 MB / 337.9 MB, free: 10.84 MB / 314.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.3611860489472747]