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.00108/0.00108, allocations: 182.4 kB / 13.64 MB, free: 1.676 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.505/1.505, allocations: 194.2 MB / 208.4 MB, free: 6.719 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.001634/0.001634, allocations: 108.7 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1863/0.1863, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.611e-05/4.697e-05, allocations: 0 / 397.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3291, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.7413, allocations: 95.2 MB / 0.5332 GB, free: 31.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.7417, allocations: 79.38 kB / 0.5332 GB, free: 31.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03841/0.7801, allocations: 13.19 MB / 0.5461 GB, free: 30.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7802, allocations: 0 / 0.5461 GB, free: 30.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.293e-05/0.7802, allocations: 11.5 kB / 0.5461 GB, free: 30.3 MB / 378.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.001602/0.7818, allocations: 0.6737 MB / 0.5468 GB, free: 29.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.7819, allocations: 11.72 kB / 0.5468 GB, free: 29.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006909/0.7826, allocations: 91.98 kB / 0.5469 GB, free: 29.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.7847, allocations: 0.8526 MB / 0.5477 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.7848, allocations: 26.94 kB / 0.5477 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.7849, allocations: 36.69 kB / 0.5478 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.786, allocations: 0.6534 MB / 0.5484 GB, free: 29.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.786, allocations: 1.531 kB / 0.5484 GB, free: 29.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/0.7861, allocations: 18.2 kB / 0.5484 GB, free: 29.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.7862, allocations: 51.2 kB / 0.5485 GB, free: 29.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.7872, allocations: 0.6306 MB / 0.5491 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/0.7904, allocations: 2.434 MB / 0.5515 GB, free: 28.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.7908, allocations: 335.7 kB / 0.5518 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.7911, allocations: 249.3 kB / 0.552 GB, free: 28.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.7911, allocations: 7.109 kB / 0.552 GB, free: 28.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.7912, allocations: 34.31 kB / 0.5521 GB, free: 28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.384e-06/0.7912, allocations: 0 / 0.5521 GB, free: 28 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.001853/0.793, allocations: 1.259 MB / 0.5533 GB, free: 27.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.7931, allocations: 85.14 kB / 0.5534 GB, free: 27.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.7934, allocations: 251.7 kB / 0.5536 GB, free: 27.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.7934, allocations: 33.3 kB / 0.5537 GB, free: 27.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.7935, allocations: 244 kB / 0.5539 GB, free: 27.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.7937, allocations: 162.2 kB / 0.554 GB, free: 27.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.7937, allocations: 3.562 kB / 0.5541 GB, free: 27.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.166e-05/0.7938, allocations: 356.9 kB / 0.5544 GB, free: 26.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.794, allocations: 209.3 kB / 0.5546 GB, free: 26.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.7944, allocations: 361.2 kB / 0.5549 GB, free: 26.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.7947, allocations: 278.1 kB / 0.5552 GB, free: 26.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.7947, allocations: 0 / 0.5552 GB, free: 26.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007686/0.7955, allocations: 0.6303 MB / 0.5558 GB, free: 26.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.7955, allocations: 11.88 kB / 0.5558 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.7956, allocations: 3.844 kB / 0.5558 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.7956, allocations: 7.75 kB / 0.5558 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.796, allocations: 114.5 kB / 0.5559 GB, free: 26.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.796, allocations: 7.875 kB / 0.556 GB, free: 26.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.7963, allocations: 29.78 kB / 0.556 GB, free: 26.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.7964, allocations: 23.12 kB / 0.556 GB, free: 26.51 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 () * 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.0001067/0.7965, allocations: 138.7 kB / 0.5561 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.7966, allocations: 35.16 kB / 0.5562 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007864/0.7974, allocations: 0.5356 MB / 0.5567 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/0.7974, allocations: 18.98 kB / 0.5567 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.7974, allocations: 3.938 kB / 0.5567 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.7974, allocations: 0 / 0.5567 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.7991, allocations: 1.17 MB / 0.5579 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7991, allocations: 0 / 0.5579 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.7995, allocations: 81.92 kB / 0.5579 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.7995, allocations: 0 / 0.5579 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.7995, allocations: 10.7 kB / 0.5579 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7995, allocations: 3.875 kB / 0.558 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7996, allocations: 3.938 kB / 0.558 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/0.8005, allocations: 0.9469 MB / 0.5589 GB, free: 25.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.8006, allocations: 111.9 kB / 0.559 GB, free: 25.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.8007, allocations: 15.66 kB / 0.559 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.8009, allocations: 22.34 kB / 0.559 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.801, allocations: 22.88 kB / 0.559 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.801, allocations: 11.53 kB / 0.5591 GB, free: 25.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.8012, allocations: 204.7 kB / 0.5593 GB, free: 25.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8012, allocations: 0 / 0.5593 GB, free: 25.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005529/0.8017, allocations: 128.3 kB / 0.5594 GB, free: 25.46 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 () * 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.0002283/0.802, allocations: 137.5 kB / 0.5595 GB, free: 25.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006607/0.8026, allocations: 0.5181 MB / 0.56 GB, free: 25.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8026, allocations: 0 / 0.56 GB, free: 25.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.8029, allocations: 246.6 kB / 0.5602 GB, free: 25.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.8033, allocations: 64.75 kB / 0.5603 GB, free: 25.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.8048, allocations: 0.9282 MB / 0.5612 GB, free: 24.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.8051, allocations: 0.8895 MB / 0.5621 GB, free: 24.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003339/0.8054, allocations: 120 kB / 0.5622 GB, free: 24.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.8056, allocations: 37.92 kB / 0.5622 GB, free: 24.21 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.8056, allocations: 0 / 0.5622 GB, free: 24.21 MB / 378.7 MB Notification: Performance of Templates: time 0.007972/0.8135, allocations: 3.649 MB / 0.5658 GB, free: 23.95 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)