Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001292/0.001292, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.315/1.315, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.001535/0.001535, allocations: 113.4 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1753/0.1753, allocations: 38 MB / 340.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 16 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09038, allocations: 53.22 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3125/0.403, allocations: 90.13 MB / 0.5343 GB, free: 5.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.4032, allocations: 90.73 kB / 0.5344 GB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02558/0.4288, allocations: 10.21 MB / 0.5444 GB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4289, allocations: 4 kB / 0.5444 GB, free: 12.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.596e-05/0.4289, allocations: 12 kB / 0.5444 GB, free: 12.22 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001429/0.4304, allocations: 0.7485 MB / 0.5451 GB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4304, allocations: 12.02 kB / 0.5451 GB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.4305, allocations: 55.42 kB / 0.5452 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.433, allocations: 1.022 MB / 0.5462 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.433, allocations: 25.75 kB / 0.5462 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.4331, allocations: 37.19 kB / 0.5462 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.4338, allocations: 456 kB / 0.5467 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.4338, allocations: 3.953 kB / 0.5467 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.4338, allocations: 18.56 kB / 0.5467 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.4339, allocations: 12 kB / 0.5467 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.4343, allocations: 309.3 kB / 0.547 GB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.4365, allocations: 1.762 MB / 0.5487 GB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.4367, allocations: 136 kB / 0.5488 GB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.4368, allocations: 3.938 kB / 0.5488 GB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.4368, allocations: 43 kB / 0.5489 GB, free: 7.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.4368, allocations: 0 / 0.5489 GB, free: 7.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001081/0.4379, allocations: 0.6059 MB / 0.5495 GB, free: 7.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.438, allocations: 106.8 kB / 0.5496 GB, free: 7.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.4383, allocations: 316.2 kB / 0.5499 GB, free: 6.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.4384, allocations: 33.14 kB / 0.5499 GB, free: 6.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4385, allocations: 283.4 kB / 0.5502 GB, free: 6.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.4386, allocations: 62 kB / 0.5502 GB, free: 6.684 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.4386, allocations: 7.438 kB / 0.5503 GB, free: 6.684 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4388, allocations: 348.5 kB / 0.5506 GB, free: 6.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.4388, allocations: 46.16 kB / 0.5506 GB, free: 6.316 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.439, allocations: 196.2 kB / 0.5508 GB, free: 6.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.4392, allocations: 83.52 kB / 0.5509 GB, free: 6.027 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4392, allocations: 0 / 0.5509 GB, free: 6.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004001/0.4396, allocations: 289.5 kB / 0.5512 GB, free: 5.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4396, allocations: 8 kB / 0.5512 GB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.4396, allocations: 4 kB / 0.5512 GB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4397, allocations: 8 kB / 0.5512 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.4399, allocations: 71.47 kB / 0.5513 GB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.4399, allocations: 12.5 kB / 0.5513 GB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.4401, allocations: 11.69 kB / 0.5513 GB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.4401, allocations: 19.25 kB / 0.5513 GB, free: 5.668 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.4403, allocations: 187.2 kB / 0.5515 GB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.4404, allocations: 35.53 kB / 0.5515 GB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.4407, allocations: 175.6 kB / 0.5517 GB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4407, allocations: 0 / 0.5517 GB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4407, allocations: 4 kB / 0.5517 GB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4407, allocations: 0 / 0.5517 GB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006596/0.4414, allocations: 0.5371 MB / 0.5522 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4414, allocations: 0 / 0.5522 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.4416, allocations: 35.36 kB / 0.5522 GB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4416, allocations: 4 kB / 0.5522 GB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4416, allocations: 0 / 0.5522 GB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.4416, allocations: 4 kB / 0.5523 GB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4416, allocations: 0 / 0.5523 GB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.4421, allocations: 448.1 kB / 0.5527 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.4422, allocations: 108 kB / 0.5528 GB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.4422, allocations: 7.5 kB / 0.5528 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.4424, allocations: 8 kB / 0.5528 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.4424, allocations: 15.05 kB / 0.5528 GB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.4424, allocations: 7.984 kB / 0.5528 GB, free: 4.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002355/0.4427, allocations: 248.4 kB / 0.5531 GB, free: 4.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.034e-06/0.4427, allocations: 0 / 0.5531 GB, free: 4.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.4431, allocations: 79.28 kB / 0.5531 GB, free: 3.934 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltage2.theta,ind2.i,ind1.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001297/0.4432, allocations: 109.7 kB / 0.5532 GB, free: 3.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.4435, allocations: 155.3 kB / 0.5534 GB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4435, allocations: 0 / 0.5534 GB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.391e-05/0.4436, allocations: 58.11 kB / 0.5534 GB, free: 3.656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.4441, allocations: 96.08 kB / 0.5535 GB, free: 3.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.4456, allocations: 1.059 MB / 0.5546 GB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.446, allocations: 0.8448 MB / 0.5554 GB, free: 1.676 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.4462, allocations: 59.23 kB / 0.5554 GB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.4463, allocations: 27.44 kB / 0.5555 GB, free: 1.594 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.4463, allocations: 0 / 0.5555 GB, free: 1.594 MB / 362.7 MB Notification: Performance of Templates: time 0.006977/0.4533, allocations: 2.969 MB / 0.5584 GB, free: 14.64 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)