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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 112.5 kB / 17.06 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001559, allocations: 195.9 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1754/0.1754, allocations: 38.04 MB / 329.9 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.91 kB / 458.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4675, allocations: 58.06 MB / 0.5041 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005046/0.4726, allocations: 3.608 MB / 0.5076 GB, free: 5.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.4756, allocations: 1.803 MB / 0.5094 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.4759, allocations: 9.469 kB / 0.5094 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009991/0.4769, allocations: 230.8 kB / 0.5096 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007353/0.4776, allocations: 265.4 kB / 0.5099 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.4783, allocations: 213.5 kB / 0.5101 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.4789, allocations: 436.9 kB / 0.5105 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.4792, allocations: 188.8 kB / 0.5107 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.4796, allocations: 189.3 kB / 0.5108 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.4799, allocations: 176.5 kB / 0.511 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.4799, allocations: 27.25 kB / 0.511 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.4806, allocations: 324.6 kB / 0.5113 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.4807, allocations: 112.4 kB / 0.5114 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.4809, allocations: 153.8 kB / 0.5116 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007923/0.4817, allocations: 0.5111 MB / 0.5121 GB, free: 2.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4817, allocations: 0 / 0.5121 GB, free: 2.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4817, allocations: 3.938 kB / 0.5121 GB, free: 2.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.4817, allocations: 0 / 0.5121 GB, free: 2.738 MB / 382.1 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.001028/0.4828, allocations: 0.6392 MB / 0.5127 GB, free: 2.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4828, allocations: 13.55 kB / 0.5127 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008554/0.4837, allocations: 91.86 kB / 0.5128 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.4842, allocations: 377.3 kB / 0.5132 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.4843, allocations: 13.94 kB / 0.5132 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.4843, allocations: 19.84 kB / 0.5132 GB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.4849, allocations: 365.7 kB / 0.5136 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4849, allocations: 0 / 0.5136 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.485, allocations: 11.25 kB / 0.5136 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.485, allocations: 18.56 kB / 0.5136 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.4857, allocations: 387.9 kB / 0.514 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.4874, allocations: 1.549 MB / 0.5155 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/0.4881, allocations: 317.5 kB / 0.5158 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.4883, allocations: 109.3 kB / 0.5159 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.4883, allocations: 7.719 kB / 0.5159 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003415/0.4887, allocations: 199.3 kB / 0.5161 GB, free: 8 kB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.014e-06/0.4887, allocations: 0 / 0.5161 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.000958/0.4897, allocations: 385 kB / 0.5164 GB, free: 15.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.47e-05/0.4898, allocations: 135.8 kB / 0.5166 GB, free: 15.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.4902, allocations: 287.1 kB / 0.5169 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.4903, allocations: 37.66 kB / 0.5169 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.4904, allocations: 182.3 kB / 0.5171 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.4905, allocations: 88 kB / 0.5171 GB, free: 15.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.4907, allocations: 59.03 kB / 0.5172 GB, free: 15.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4908, allocations: 339.1 kB / 0.5175 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.4911, allocations: 101.4 kB / 0.5176 GB, free: 14.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.4914, allocations: 182.5 kB / 0.5178 GB, free: 14.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.4919, allocations: 302.7 kB / 0.5181 GB, free: 14.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.492, allocations: 1.25 kB / 0.5181 GB, free: 14.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006274/0.4926, allocations: 357 kB / 0.5184 GB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.4926, allocations: 6.406 kB / 0.5184 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4926, allocations: 3.547 kB / 0.5184 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.4927, allocations: 8.469 kB / 0.5184 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.4929, allocations: 65.17 kB / 0.5185 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.493, allocations: 4.672 kB / 0.5185 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.4931, allocations: 32.12 kB / 0.5185 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.4932, allocations: 11.2 kB / 0.5186 GB, free: 14.35 MB / 398.1 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.0001995/0.4934, allocations: 180.5 kB / 0.5187 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.4934, allocations: 29.91 kB / 0.5188 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/0.4941, allocations: 322.8 kB / 0.5191 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.4941, allocations: 3.891 kB / 0.5191 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.4941, allocations: 9.156 kB / 0.5191 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.4941, allocations: 6.516 kB / 0.5191 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.4955, allocations: 0.7481 MB / 0.5198 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4955, allocations: 1.406 kB / 0.5198 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.4957, allocations: 38.33 kB / 0.5198 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.4957, allocations: 6.531 kB / 0.5199 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.4958, allocations: 10.78 kB / 0.5199 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4958, allocations: 5.375 kB / 0.5199 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4958, allocations: 0 / 0.5199 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.4964, allocations: 414.4 kB / 0.5203 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.4965, allocations: 111.4 kB / 0.5204 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.4965, allocations: 12.44 kB / 0.5204 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.4967, allocations: 11.94 kB / 0.5204 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.4968, allocations: 16.52 kB / 0.5204 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.4968, allocations: 13.2 kB / 0.5204 GB, free: 13.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.497, allocations: 214.3 kB / 0.5206 GB, free: 13.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.497, allocations: 0 / 0.5206 GB, free: 13.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.4975, allocations: 76.34 kB / 0.5207 GB, free: 13.04 MB / 398.1 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.001174/0.4987, allocations: 456.3 kB / 0.5211 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.4992, allocations: 247.8 kB / 0.5214 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4992, allocations: 5.125 kB / 0.5214 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.4995, allocations: 118.4 kB / 0.5215 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.5, allocations: 76.5 kB / 0.5216 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.5012, allocations: 0.5957 MB / 0.5221 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.5017, allocations: 0.7911 MB / 0.5229 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.502, allocations: 87.62 kB / 0.523 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.5021, allocations: 40.59 kB / 0.523 GB, free: 11.57 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5021, allocations: 0 / 0.523 GB, free: 11.57 MB / 398.1 MB Notification: Performance of Templates: time 0.011/0.5131, allocations: 3.611 MB / 0.5266 GB, free: 11.18 MB / 398.1 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)