Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001085/0.001086, allocations: 182.7 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.436/1.436, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001693/0.001693, allocations: 122.2 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1614/0.1614, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.424e-05/4.426e-05, allocations: 11.98 kB / 397.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3036, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/0.7093, allocations: 95.21 MB / 0.5332 GB, free: 88.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.7097, allocations: 79.91 kB / 0.5333 GB, free: 88.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03242/0.7421, allocations: 12.22 MB / 0.5452 GB, free: 83.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7421, allocations: 0 / 0.5452 GB, free: 83.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.7422, allocations: 8 kB / 0.5452 GB, free: 83.92 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0009052/0.7431, allocations: 0.6409 MB / 0.5458 GB, free: 83.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.7431, allocations: 8.031 kB / 0.5458 GB, free: 83.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005021/0.7436, allocations: 87.33 kB / 0.5459 GB, free: 83.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.7453, allocations: 0.8398 MB / 0.5467 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.7454, allocations: 29 kB / 0.5468 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.7455, allocations: 43.98 kB / 0.5468 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.7461, allocations: 0.59 MB / 0.5474 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.7462, allocations: 7.891 kB / 0.5474 GB, free: 81.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.7462, allocations: 23.98 kB / 0.5474 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.7463, allocations: 28.78 kB / 0.5474 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.7468, allocations: 438.7 kB / 0.5479 GB, free: 81.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.7492, allocations: 2.867 MB / 0.5507 GB, free: 78.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.7495, allocations: 221.3 kB / 0.5509 GB, free: 77.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.7497, allocations: 142 kB / 0.551 GB, free: 77.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.7497, allocations: 11.98 kB / 0.551 GB, free: 77.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.7497, allocations: 42.5 kB / 0.5511 GB, free: 77.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.7497, allocations: 0 / 0.5511 GB, free: 77.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001114/0.7509, allocations: 0.855 MB / 0.5519 GB, free: 76.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.7509, allocations: 81.11 kB / 0.552 GB, free: 76.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.7511, allocations: 290.5 kB / 0.5522 GB, free: 76.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.7512, allocations: 37.73 kB / 0.5523 GB, free: 76.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.7513, allocations: 275.2 kB / 0.5525 GB, free: 75.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.7513, allocations: 106.5 kB / 0.5526 GB, free: 75.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/0.7514, allocations: 11.94 kB / 0.5527 GB, free: 75.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.7514, allocations: 350.8 kB / 0.553 GB, free: 75.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.7516, allocations: 137.1 kB / 0.5531 GB, free: 75.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.7519, allocations: 343.7 kB / 0.5534 GB, free: 74.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.7521, allocations: 208.3 kB / 0.5536 GB, free: 74.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7521, allocations: 0 / 0.5536 GB, free: 74.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005953/0.7527, allocations: 0.5285 MB / 0.5542 GB, free: 74.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.7527, allocations: 8 kB / 0.5542 GB, free: 74.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7528, allocations: 8 kB / 0.5542 GB, free: 74.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.7528, allocations: 8 kB / 0.5542 GB, free: 74.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.7531, allocations: 107.8 kB / 0.5543 GB, free: 74.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.7531, allocations: 19.89 kB / 0.5543 GB, free: 74.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.7534, allocations: 27.97 kB / 0.5543 GB, free: 74.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.7534, allocations: 24 kB / 0.5544 GB, free: 74.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (57): * Single equations (assignments): 56 * Array equations: 1 * 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 8.376e-05/0.7535, allocations: 140.7 kB / 0.5545 GB, free: 73.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.7535, allocations: 31.62 kB / 0.5545 GB, free: 73.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.754, allocations: 345.5 kB / 0.5548 GB, free: 73.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.7541, allocations: 8 kB / 0.5549 GB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7541, allocations: 0 / 0.5549 GB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.7541, allocations: 7.938 kB / 0.5549 GB, free: 73.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.7551, allocations: 0.8679 MB / 0.5557 GB, free: 72.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7552, allocations: 4 kB / 0.5557 GB, free: 72.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.7555, allocations: 67.89 kB / 0.5558 GB, free: 72.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.7555, allocations: 3.953 kB / 0.5558 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.7555, allocations: 8 kB / 0.5558 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7555, allocations: 11.92 kB / 0.5558 GB, free: 72.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7555, allocations: 4 kB / 0.5558 GB, free: 72.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/0.7562, allocations: 0.6262 MB / 0.5564 GB, free: 71.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.7562, allocations: 112.7 kB / 0.5565 GB, free: 71.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.7563, allocations: 8 kB / 0.5565 GB, free: 71.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.7565, allocations: 16.03 kB / 0.5565 GB, free: 71.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.7565, allocations: 19.92 kB / 0.5566 GB, free: 71.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.7565, allocations: 12 kB / 0.5566 GB, free: 71.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.7567, allocations: 218.2 kB / 0.5568 GB, free: 71.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7567, allocations: 0 / 0.5568 GB, free: 71.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004061/0.7571, allocations: 100 kB / 0.5569 GB, free: 71.27 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 (29): * Single equations (assignments): 27 * Array equations: 1 * 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.0001659/0.7573, allocations: 127.1 kB / 0.557 GB, free: 71.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004387/0.7577, allocations: 361 kB / 0.5573 GB, free: 70.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.7577, allocations: 3.938 kB / 0.5573 GB, free: 70.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.7579, allocations: 149.9 kB / 0.5575 GB, free: 70.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.7583, allocations: 61.17 kB / 0.5576 GB, free: 70.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.7594, allocations: 0.7846 MB / 0.5583 GB, free: 69.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.7597, allocations: 0.867 MB / 0.5592 GB, free: 68.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.76, allocations: 127.1 kB / 0.5593 GB, free: 68.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.76, allocations: 31.42 kB / 0.5593 GB, free: 68.7 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.76, allocations: 0 / 0.5593 GB, free: 68.7 MB / 378.7 MB Notification: Performance of Templates: time 0.005919/0.766, allocations: 2.959 MB / 0.5622 GB, free: 65.76 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)