Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001176/0.001176, allocations: 186.6 kB / 18.68 MB, free: 4.41 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.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1813/0.1813, allocations: 38.03 MB / 330.6 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2805, allocations: 58.06 MB / 0.5048 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.007515/0.2881, allocations: 7.575 MB / 0.5122 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003843/0.2919, allocations: 2.322 MB / 0.5144 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006139/0.2926, allocations: 33.53 kB / 0.5145 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.2947, allocations: 0.8524 MB / 0.5153 GB, free: 404 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.2961, allocations: 0.505 MB / 0.5158 GB, free: 100 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.2975, allocations: 458.9 kB / 0.5162 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.2992, allocations: 1.274 MB / 0.5175 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.3003, allocations: 0.6721 MB / 0.5181 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.3014, allocations: 0.5615 MB / 0.5187 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.3028, allocations: 0.6539 MB / 0.5193 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.3031, allocations: 78.25 kB / 0.5194 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006977/0.3038, allocations: 215.7 kB / 0.5196 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006589/0.3045, allocations: 489.5 kB / 0.5201 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009514/0.3054, allocations: 0.5316 MB / 0.5206 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.3072, allocations: 1.235 MB / 0.5218 GB, free: 13.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3072, allocations: 1.125 kB / 0.5218 GB, free: 13.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3072, allocations: 0 / 0.5218 GB, free: 13.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.581e-05/0.3073, allocations: 3.938 kB / 0.5218 GB, free: 13.56 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003168/0.3104, allocations: 1.31 MB / 0.5231 GB, free: 12.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3105, allocations: 12.11 kB / 0.5231 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.3116, allocations: 162.6 kB / 0.5232 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.3131, allocations: 0.7334 MB / 0.5239 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.3132, allocations: 60.38 kB / 0.524 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.3134, allocations: 91.02 kB / 0.5241 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.3154, allocations: 1.175 MB / 0.5252 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.3155, allocations: 6.781 kB / 0.5252 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.3156, allocations: 41.61 kB / 0.5253 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.823e-05/0.3157, allocations: 57.14 kB / 0.5253 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.3174, allocations: 0.9284 MB / 0.5262 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006231/0.3237, allocations: 4.76 MB / 0.5309 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.3249, allocations: 0.676 MB / 0.5316 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/0.3254, allocations: 382.5 kB / 0.5319 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.3255, allocations: 15.52 kB / 0.5319 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006809/0.3262, allocations: 436.8 kB / 0.5324 GB, free: 6.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.996e-06/0.3262, allocations: 0 / 0.5324 GB, free: 6.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.005675/0.3319, allocations: 2.443 MB / 0.5347 GB, free: 5.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.332, allocations: 167.6 kB / 0.5349 GB, free: 5.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.3327, allocations: 0.6042 MB / 0.5355 GB, free: 4.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.3328, allocations: 37.86 kB / 0.5355 GB, free: 4.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.3332, allocations: 486.3 kB / 0.536 GB, free: 4.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.3334, allocations: 225.3 kB / 0.5362 GB, free: 4.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.3336, allocations: 152.5 kB / 0.5363 GB, free: 4.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3338, allocations: 390.4 kB / 0.5367 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.3343, allocations: 284.9 kB / 0.537 GB, free: 3.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/0.335, allocations: 0.5546 MB / 0.5375 GB, free: 3.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3362, allocations: 0.9534 MB / 0.5385 GB, free: 2.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/0.3363, allocations: 6.75 kB / 0.5385 GB, free: 2.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002245/0.3385, allocations: 1.222 MB / 0.5397 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.3386, allocations: 35.2 kB / 0.5397 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.3386, allocations: 8.406 kB / 0.5397 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.3397, allocations: 346 kB / 0.54 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.3403, allocations: 144.3 kB / 0.5402 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006283/0.3465, allocations: 5.383 MB / 0.5454 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006132/0.3472, allocations: 27.22 kB / 0.5455 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/0.3473, allocations: 50.02 kB / 0.5455 GB, free: 12.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005427/0.3478, allocations: 353.1 kB / 0.5458 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.348, allocations: 75.19 kB / 0.5459 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.35, allocations: 1.038 MB / 0.5469 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.35, allocations: 5.484 kB / 0.5469 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.35, allocations: 0 / 0.5469 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.3502, allocations: 145.5 kB / 0.5471 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.3504, allocations: 21.78 kB / 0.5471 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.3507, allocations: 23.39 kB / 0.5471 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.3508, allocations: 60.38 kB / 0.5472 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002498/0.3534, allocations: 1.345 MB / 0.5485 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001781/0.3551, allocations: 1.426 MB / 0.5499 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004662/0.3556, allocations: 328.2 kB / 0.5502 GB, free: 8.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004977/0.3561, allocations: 419 kB / 0.5506 GB, free: 8.355 MB / 414.1 MB Notification: Performance of Backend: time 5.11e-07/0.3561, allocations: 0 / 0.5506 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.3584, allocations: 1.054 MB / 0.5516 GB, free: 7.254 MB / 414.1 MB Notification: Performance of SimCode: time 0.00307/0.3615, allocations: 2.317 MB / 0.5539 GB, free: 4.879 MB / 414.1 MB Notification: Performance of Templates: time 0.02053/0.3821, allocations: 11.74 MB / 0.5653 GB, free: 9.199 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1)