Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009659/0.0009656, allocations: 179.5 kB / 17.4 MB, free: 4.418 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.41/1.41, allocations: 194.5 MB / 212.6 MB, free: 2.953 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.001705/0.001705, allocations: 121.6 kB / 257.9 MB, free: 4.262 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1758/0.1758, allocations: 38.01 MB / 341.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 8 kB / 405 MB, free: 68.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08058/0.08094, allocations: 53.24 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4209, allocations: 95.32 MB / 0.5406 GB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4212, allocations: 88.25 kB / 0.5407 GB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03721/0.4584, allocations: 13.2 MB / 0.5536 GB, free: 4.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.4585, allocations: 0 / 0.5536 GB, free: 4.324 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.152e-05/0.4585, allocations: 12 kB / 0.5536 GB, free: 4.312 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001577/0.4601, allocations: 0.7127 MB / 0.5543 GB, free: 3.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4601, allocations: 8.031 kB / 0.5543 GB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005667/0.4607, allocations: 92.22 kB / 0.5544 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.4618, allocations: 0.5445 MB / 0.5549 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.4619, allocations: 30.75 kB / 0.5549 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.845e-05/0.462, allocations: 45.89 kB / 0.555 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.463, allocations: 0.6713 MB / 0.5556 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.4631, allocations: 3.984 kB / 0.5556 GB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.4631, allocations: 13.5 kB / 0.5557 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.4632, allocations: 51.91 kB / 0.5557 GB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.4642, allocations: 0.6372 MB / 0.5563 GB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.4677, allocations: 2.436 MB / 0.5587 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.4683, allocations: 342.8 kB / 0.559 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.4687, allocations: 253.4 kB / 0.5593 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.4687, allocations: 4.625 kB / 0.5593 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.4688, allocations: 45.42 kB / 0.5593 GB, free: 15.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.555e-06/0.4688, allocations: 0 / 0.5593 GB, free: 15.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.002374/0.4711, allocations: 1.457 MB / 0.5607 GB, free: 14.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.4712, allocations: 93.14 kB / 0.5608 GB, free: 13.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.4715, allocations: 282.4 kB / 0.5611 GB, free: 13.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.4716, allocations: 40.89 kB / 0.5611 GB, free: 13.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.4717, allocations: 246.6 kB / 0.5614 GB, free: 13.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.4719, allocations: 155.5 kB / 0.5615 GB, free: 13.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.4719, allocations: 10.94 kB / 0.5615 GB, free: 13.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4721, allocations: 349.4 kB / 0.5619 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.4724, allocations: 215.9 kB / 0.5621 GB, free: 12.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.4728, allocations: 358.2 kB / 0.5624 GB, free: 12.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.4736, allocations: 0.629 MB / 0.563 GB, free: 11.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4736, allocations: 4 kB / 0.563 GB, free: 11.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009746/0.4746, allocations: 0.6375 MB / 0.5637 GB, free: 11.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4746, allocations: 8 kB / 0.5637 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4746, allocations: 4 kB / 0.5637 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4747, allocations: 11.94 kB / 0.5637 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.4751, allocations: 115.7 kB / 0.5638 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.4752, allocations: 16.47 kB / 0.5638 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.4754, allocations: 31.72 kB / 0.5638 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.4755, allocations: 19.88 kB / 0.5639 GB, free: 11.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (55): * Single equations (assignments): 52 * Array equations: 3 * 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.0003197/0.4758, allocations: 216.3 kB / 0.5641 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/0.4759, allocations: 31.62 kB / 0.5641 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008891/0.4768, allocations: 0.5421 MB / 0.5646 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-05/0.4769, allocations: 12 kB / 0.5646 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4769, allocations: 7.938 kB / 0.5646 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4769, allocations: 7.984 kB / 0.5646 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.4789, allocations: 1.166 MB / 0.5658 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.4789, allocations: 3.938 kB / 0.5658 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.4793, allocations: 75.06 kB / 0.5659 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.4793, allocations: 4 kB / 0.5659 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.4794, allocations: 11.47 kB / 0.5659 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.4794, allocations: 7.938 kB / 0.5659 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4794, allocations: 0 / 0.5659 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.4806, allocations: 0.8981 MB / 0.5668 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.577e-05/0.4807, allocations: 116.2 kB / 0.5669 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.4808, allocations: 11.09 kB / 0.5669 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.481, allocations: 27.02 kB / 0.5669 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.4811, allocations: 22.16 kB / 0.5669 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.4811, allocations: 11.5 kB / 0.5669 GB, free: 8.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000212/0.4813, allocations: 203.5 kB / 0.5671 GB, free: 8.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4814, allocations: 0 / 0.5671 GB, free: 8.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005426/0.4819, allocations: 125.8 kB / 0.5673 GB, free: 8.438 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (34): * Single equations (assignments): 30 * Array equations: 3 * 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.0002355/0.4821, allocations: 142.2 kB / 0.5674 GB, free: 8.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007544/0.4829, allocations: 0.5208 MB / 0.5679 GB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4829, allocations: 1.188 kB / 0.5679 GB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.4833, allocations: 247.8 kB / 0.5681 GB, free: 7.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.4838, allocations: 75.55 kB / 0.5682 GB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.4858, allocations: 1.397 MB / 0.5696 GB, free: 6.367 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.4864, allocations: 0.8796 MB / 0.5704 GB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003997/0.4868, allocations: 115.2 kB / 0.5705 GB, free: 5.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.4869, allocations: 42.8 kB / 0.5706 GB, free: 5.324 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.4869, allocations: 0 / 0.5706 GB, free: 5.324 MB / 378.7 MB Notification: Performance of Templates: time 0.008751/0.4957, allocations: 3.664 MB / 0.5742 GB, free: 1.668 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1)