Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001294/0.001294, allocations: 179.4 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.556/1.556, allocations: 194.5 MB / 212.6 MB, free: 2.949 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.001797/0.001797, allocations: 125.8 kB / 257.9 MB, free: 4.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.18/0.18, allocations: 38.01 MB / 341.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 53.23 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.4656, allocations: 91.36 MB / 0.5367 GB, free: 3.484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.4659, allocations: 97.44 kB / 0.5368 GB, free: 3.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02061/0.4865, allocations: 7.653 MB / 0.5443 GB, free: 12.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4866, allocations: 0 / 0.5443 GB, free: 12.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.4866, allocations: 11.94 kB / 0.5443 GB, free: 12.83 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001125/0.4877, allocations: 0.655 MB / 0.545 GB, free: 12.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4878, allocations: 15.97 kB / 0.545 GB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.4879, allocations: 40.47 kB / 0.545 GB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009969/0.4889, allocations: 0.491 MB / 0.5455 GB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.4889, allocations: 19.44 kB / 0.5455 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.489, allocations: 23.44 kB / 0.5455 GB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.4896, allocations: 365.9 kB / 0.5459 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4896, allocations: 3.938 kB / 0.5459 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.4896, allocations: 10.38 kB / 0.5459 GB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4897, allocations: 4 kB / 0.5459 GB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.4901, allocations: 256.8 kB / 0.5461 GB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.4917, allocations: 1.445 MB / 0.5475 GB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.4919, allocations: 158.9 kB / 0.5477 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.492, allocations: 80.86 kB / 0.5478 GB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.4921, allocations: 0 / 0.5478 GB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4921, allocations: 42.55 kB / 0.5478 GB, free: 9.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.4921, allocations: 0 / 0.5478 GB, free: 9.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0011/0.4932, allocations: 0.6726 MB / 0.5485 GB, free: 8.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.4933, allocations: 88.78 kB / 0.5486 GB, free: 8.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.4936, allocations: 293.4 kB / 0.5488 GB, free: 8.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.4936, allocations: 29.39 kB / 0.5489 GB, free: 8.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4938, allocations: 215.9 kB / 0.5491 GB, free: 8.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.4938, allocations: 62.05 kB / 0.5491 GB, free: 8.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.4938, allocations: 7.438 kB / 0.5491 GB, free: 8.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.494, allocations: 337.7 kB / 0.5495 GB, free: 7.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.4941, allocations: 66.64 kB / 0.5495 GB, free: 7.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.4942, allocations: 162.2 kB / 0.5497 GB, free: 7.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.4945, allocations: 266.2 kB / 0.5499 GB, free: 7.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4946, allocations: 0 / 0.5499 GB, free: 7.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000401/0.495, allocations: 285.8 kB / 0.5502 GB, free: 7.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.495, allocations: 4 kB / 0.5502 GB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.495, allocations: 4 kB / 0.5502 GB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.495, allocations: 4 kB / 0.5502 GB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.4953, allocations: 59.72 kB / 0.5503 GB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.4953, allocations: 8 kB / 0.5503 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.4955, allocations: 15.3 kB / 0.5503 GB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.4955, allocations: 15.98 kB / 0.5503 GB, free: 7.098 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * 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.0001725/0.4957, allocations: 171.4 kB / 0.5505 GB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.4957, allocations: 27.7 kB / 0.5505 GB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.4961, allocations: 233 kB / 0.5507 GB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4961, allocations: 4 kB / 0.5507 GB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4961, allocations: 3.938 kB / 0.5507 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4961, allocations: 7.922 kB / 0.5507 GB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000758/0.4969, allocations: 0.6242 MB / 0.5513 GB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4969, allocations: 0 / 0.5513 GB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.4971, allocations: 34.36 kB / 0.5514 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4971, allocations: 7.984 kB / 0.5514 GB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.4972, allocations: 7.5 kB / 0.5514 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4972, allocations: 0 / 0.5514 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4972, allocations: 7.938 kB / 0.5514 GB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.4977, allocations: 424.8 kB / 0.5518 GB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.4978, allocations: 96.86 kB / 0.5519 GB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.4978, allocations: 15.11 kB / 0.5519 GB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.498, allocations: 7.375 kB / 0.5519 GB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.498, allocations: 7.984 kB / 0.5519 GB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.498, allocations: 11.94 kB / 0.5519 GB, free: 5.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.4982, allocations: 212.1 kB / 0.5521 GB, free: 5.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4982, allocations: 0 / 0.5521 GB, free: 5.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003472/0.4986, allocations: 71.12 kB / 0.5522 GB, free: 5.367 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001478/0.4987, allocations: 107.1 kB / 0.5523 GB, free: 5.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.4991, allocations: 197.1 kB / 0.5525 GB, free: 5.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.4991, allocations: 4 kB / 0.5525 GB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.4992, allocations: 85.8 kB / 0.5526 GB, free: 5.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.4997, allocations: 70.23 kB / 0.5527 GB, free: 4.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.5009, allocations: 0.7913 MB / 0.5534 GB, free: 4.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.5013, allocations: 0.8055 MB / 0.5542 GB, free: 3.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.5016, allocations: 58.92 kB / 0.5543 GB, free: 3.316 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.5016, allocations: 23.44 kB / 0.5543 GB, free: 3.293 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5016, allocations: 0 / 0.5543 GB, free: 3.293 MB / 362.7 MB Notification: Performance of Templates: time 0.006558/0.5082, allocations: 2.748 MB / 0.557 GB, free: 0.5625 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)