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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001163/0.001163, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.164/1.164, allocations: 194.2 MB / 212.2 MB, free: 2.371 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001727/0.001727, allocations: 125.1 kB / 256.6 MB, free: 4.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1604/0.1604, allocations: 37.96 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 71.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07876/0.0799, allocations: 52.2 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004029/0.08399, allocations: 3.799 MB / 457.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.08582, allocations: 1.786 MB / 459.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.08596, allocations: 11.94 kB / 459.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.08665, allocations: 207.2 kB / 459.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.08704, allocations: 231.2 kB / 460 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.08734, allocations: 151.7 kB / 460.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.08773, allocations: 0.5808 MB / 460.8 MB, free: 9.777 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.088, allocations: 181.7 kB / 460.9 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.08828, allocations: 163.3 kB / 461.1 MB, free: 9.441 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.08848, allocations: 179.4 kB / 461.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.08852, allocations: 16 kB / 461.3 MB, free: 9.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.08892, allocations: 375.2 kB / 461.6 MB, free: 8.883 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.08902, allocations: 107.6 kB / 461.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.08913, allocations: 143.2 kB / 461.9 MB, free: 8.637 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.08957, allocations: 0.5336 MB / 462.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.08958, allocations: 4 kB / 462.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.08959, allocations: 0 / 462.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.0896, allocations: 0 / 462.4 MB, free: 8.098 MB / 314.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.0007056/0.09031, allocations: 0.6779 MB / 463.1 MB, free: 7.355 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.09035, allocations: 12.03 kB / 463.1 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006147/0.09097, allocations: 88.47 kB / 463.2 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.09135, allocations: 370.8 kB / 463.6 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.09138, allocations: 20.73 kB / 463.6 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.09142, allocations: 23.94 kB / 463.6 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.09186, allocations: 364.6 kB / 464 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.09188, allocations: 0 / 464 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.09191, allocations: 11.98 kB / 464 MB, free: 6.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.09194, allocations: 24.31 kB / 464 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.09241, allocations: 400.8 kB / 464.4 MB, free: 6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.09379, allocations: 1.581 MB / 466 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.09431, allocations: 329.1 kB / 466.3 MB, free: 3.969 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.09448, allocations: 109.7 kB / 466.4 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.09452, allocations: 15.98 kB / 466.4 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.09478, allocations: 205.8 kB / 466.6 MB, free: 3.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.09479, allocations: 0 / 466.6 MB, free: 3.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006033/0.0954, allocations: 397.2 kB / 467 MB, free: 3.223 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.09545, allocations: 132.5 kB / 467.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.09566, allocations: 287.2 kB / 467.4 MB, free: 2.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.09569, allocations: 41.7 kB / 467.5 MB, free: 2.723 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.09577, allocations: 168.2 kB / 467.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.09582, allocations: 82.83 kB / 467.7 MB, free: 2.473 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.0959, allocations: 73.97 kB / 467.8 MB, free: 2.395 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.09597, allocations: 334.8 kB / 468.1 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.09614, allocations: 120.2 kB / 468.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.09633, allocations: 198.8 kB / 468.4 MB, free: 1.711 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.09671, allocations: 362.9 kB / 468.8 MB, free: 1.316 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.09672, allocations: 0 / 468.8 MB, free: 1.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005257/0.09725, allocations: 458.5 kB / 469.2 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.09729, allocations: 37.7 kB / 469.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.0973, allocations: 4 kB / 469.3 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.09732, allocations: 4 kB / 469.3 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.09755, allocations: 59.91 kB / 469.3 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.09757, allocations: 4.312 kB / 469.3 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.09769, allocations: 39.67 kB / 469.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.09773, allocations: 16 kB / 469.4 MB, free: 0.6875 MB / 314.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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.0001204/0.09785, allocations: 177.7 kB / 469.6 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.0979, allocations: 31.62 kB / 469.6 MB, free: 484 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.09839, allocations: 331.6 kB / 469.9 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.0984, allocations: 4 kB / 469.9 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.09841, allocations: 0 / 469.9 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.09842, allocations: 4 kB / 469.9 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009085/0.09934, allocations: 0.7756 MB / 470.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.09935, allocations: 0 / 470.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.09951, allocations: 39.98 kB / 470.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.09952, allocations: 0 / 470.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.09955, allocations: 19.92 kB / 470.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.09956, allocations: 7.922 kB / 470.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.09956, allocations: 3.938 kB / 470.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009709/0.1005, allocations: 1.142 MB / 471.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.1007, allocations: 140.6 kB / 472 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.1007, allocations: 12 kB / 472.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1009, allocations: 8 kB / 472.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.1009, allocations: 23.97 kB / 472.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.101, allocations: 8 kB / 472.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1011, allocations: 209.9 kB / 472.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1011, allocations: 0 / 472.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004475/0.1016, allocations: 91.83 kB / 472.4 MB, free: 13.52 MB / 330.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 (25): * Single equations (assignments): 22 * 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.000936/0.1025, allocations: 468.1 kB / 472.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005154/0.1031, allocations: 359.1 kB / 473.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1031, allocations: 3.938 kB / 473.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.1033, allocations: 120.5 kB / 473.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.1037, allocations: 61.38 kB / 473.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1048, allocations: 0.8775 MB / 474.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.1051, allocations: 0.7956 MB / 475 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.1053, allocations: 74.86 kB / 475.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.768e-05/0.1054, allocations: 43.36 kB / 475.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1054, allocations: 4 kB / 475.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of Templates: time 0.006967/0.1124, allocations: 3.813 MB / 479 MB, free: 6.852 MB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile (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)