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.001505/0.001505, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.392/1.392, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0018/0.001801, allocations: 117.6 kB / 248.1 MB, free: 6.367 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.213/0.213, allocations: 37.92 MB / 330.9 MB, free: 7.324 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.357e-05/1.359e-05, allocations: 0 / 390.4 MB, free: 78.24 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 53.25 MB / 443.6 MB, free: 25.09 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5393, allocations: 94.54 MB / 0.5255 GB, free: 9.676 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.5396, allocations: 81.92 kB / 0.5256 GB, free: 9.668 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02979/0.5694, allocations: 12.11 MB / 0.5374 GB, free: 2.902 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5694, allocations: 0 / 0.5374 GB, free: 2.902 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.5694, allocations: 8 kB / 0.5374 GB, free: 2.895 MB / 347.1 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.0008914/0.5703, allocations: 0.6389 MB / 0.5381 GB, free: 2.238 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5704, allocations: 8.031 kB / 0.5381 GB, free: 2.23 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004933/0.5709, allocations: 91.33 kB / 0.5382 GB, free: 2.141 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.5728, allocations: 0.8311 MB / 0.539 GB, free: 1.422 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.5728, allocations: 12 kB / 0.539 GB, free: 1.41 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.5729, allocations: 24 kB / 0.539 GB, free: 1.387 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005043/0.5734, allocations: 372.4 kB / 0.5394 GB, free: 1.133 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/0.574, allocations: 0.5481 MB / 0.5399 GB, free: 0.6367 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.574, allocations: 4 kB / 0.5399 GB, free: 0.6328 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.5741, allocations: 0 / 0.5399 GB, free: 0.6328 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.5741, allocations: 24.72 kB / 0.5399 GB, free: 0.6055 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/0.577, allocations: 2.788 MB / 0.5427 GB, free: 13.97 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.5774, allocations: 214 kB / 0.5429 GB, free: 13.8 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.5775, allocations: 137.2 kB / 0.543 GB, free: 13.7 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.5776, allocations: 7.984 kB / 0.543 GB, free: 13.69 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.5776, allocations: 33.88 kB / 0.543 GB, free: 13.65 MB / 363.1 MB Notification: Performance of pre-optimization done (n=29): time 1.903e-06/0.5776, allocations: 0 / 0.543 GB, free: 13.65 MB / 363.1 MB Notification: Performance of matching and sorting (n=30): time 0.001552/0.5792, allocations: 0.8283 MB / 0.5438 GB, free: 12.9 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.5793, allocations: 85.06 kB / 0.5439 GB, free: 12.8 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.5795, allocations: 265.9 kB / 0.5442 GB, free: 12.58 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.5795, allocations: 25.7 kB / 0.5442 GB, free: 12.55 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.5797, allocations: 273 kB / 0.5445 GB, free: 12.31 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.5798, allocations: 105.5 kB / 0.5446 GB, free: 12.22 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.5798, allocations: 0 / 0.5446 GB, free: 12.22 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.58, allocations: 353.9 kB / 0.5449 GB, free: 11.88 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.5802, allocations: 131.2 kB / 0.545 GB, free: 11.79 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.5805, allocations: 327.7 kB / 0.5453 GB, free: 11.44 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.5808, allocations: 205.1 kB / 0.5455 GB, free: 11.29 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5808, allocations: 4 kB / 0.5455 GB, free: 11.28 MB / 363.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006689/0.5815, allocations: 491.9 kB / 0.546 GB, free: 10.88 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.5815, allocations: 11.98 kB / 0.546 GB, free: 10.87 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.5815, allocations: 7.984 kB / 0.546 GB, free: 10.86 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.5815, allocations: 12 kB / 0.546 GB, free: 10.85 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.5819, allocations: 111.8 kB / 0.5461 GB, free: 10.75 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.582, allocations: 11.94 kB / 0.5461 GB, free: 10.73 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.5822, allocations: 19.94 kB / 0.5462 GB, free: 10.71 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.5822, allocations: 20 kB / 0.5462 GB, free: 10.7 MB / 363.1 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 0.0002013/0.5824, allocations: 121.2 kB / 0.5463 GB, free: 10.57 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.5825, allocations: 31.62 kB / 0.5463 GB, free: 10.54 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/0.5831, allocations: 337.5 kB / 0.5467 GB, free: 10.29 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.5831, allocations: 8 kB / 0.5467 GB, free: 10.28 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5831, allocations: 0 / 0.5467 GB, free: 10.28 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5831, allocations: 3.984 kB / 0.5467 GB, free: 10.28 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.5843, allocations: 0.8065 MB / 0.5475 GB, free: 9.57 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5843, allocations: 0 / 0.5475 GB, free: 9.57 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.5846, allocations: 59.95 kB / 0.5475 GB, free: 9.512 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.5846, allocations: 4 kB / 0.5475 GB, free: 9.508 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.5846, allocations: 7.938 kB / 0.5475 GB, free: 9.504 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.5846, allocations: 7.891 kB / 0.5475 GB, free: 9.496 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5847, allocations: 11.92 kB / 0.5475 GB, free: 9.484 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.5854, allocations: 0.6168 MB / 0.5481 GB, free: 8.941 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.5855, allocations: 100.7 kB / 0.5482 GB, free: 8.824 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.5855, allocations: 16.03 kB / 0.5483 GB, free: 8.809 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.5857, allocations: 7.984 kB / 0.5483 GB, free: 8.801 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.5857, allocations: 19.73 kB / 0.5483 GB, free: 8.785 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.5858, allocations: 11.98 kB / 0.5483 GB, free: 8.773 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.586, allocations: 199.2 kB / 0.5485 GB, free: 8.613 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.586, allocations: 0 / 0.5485 GB, free: 8.613 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.5865, allocations: 91.98 kB / 0.5486 GB, free: 8.523 MB / 363.1 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.0001856/0.5867, allocations: 119.1 kB / 0.5487 GB, free: 8.398 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.5871, allocations: 335.5 kB / 0.549 GB, free: 8.156 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5871, allocations: 1.812 kB / 0.549 GB, free: 8.156 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.5873, allocations: 138.3 kB / 0.5491 GB, free: 8.059 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.5877, allocations: 53 kB / 0.5492 GB, free: 8.02 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.589, allocations: 0.7648 MB / 0.5499 GB, free: 7.297 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.5894, allocations: 0.8657 MB / 0.5508 GB, free: 6.418 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0003433/0.5898, allocations: 127.1 kB / 0.5509 GB, free: 6.289 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.5899, allocations: 31.42 kB / 0.5509 GB, free: 6.258 MB / 363.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5899, allocations: 0 / 0.5509 GB, free: 6.258 MB / 363.1 MB Notification: Performance of Templates: time 0.006337/0.5962, allocations: 2.801 MB / 0.5537 GB, free: 3.492 MB / 363.1 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)