Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001325/0.001325, allocations: 184.1 kB / 17.4 MB, free: 4.414 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.565/1.565, allocations: 194.5 MB / 212.6 MB, free: 2.934 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.001583/0.001583, allocations: 117.9 kB / 257.9 MB, free: 4.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1857/0.1857, allocations: 38.02 MB / 341.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003912, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1213, allocations: 53.23 MB / 458.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4442/0.5655, allocations: 90.83 MB / 0.5362 GB, free: 4.152 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.5658, allocations: 109.6 kB / 0.5363 GB, free: 4.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03557/0.6014, allocations: 12.86 MB / 0.5489 GB, free: 9.043 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.6015, allocations: 0 / 0.5489 GB, free: 9.043 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.604e-05/0.6015, allocations: 8 kB / 0.5489 GB, free: 9.035 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001721/0.6032, allocations: 0.6761 MB / 0.5495 GB, free: 8.336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.6033, allocations: 12.03 kB / 0.5496 GB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007734/0.6041, allocations: 100.3 kB / 0.5497 GB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.6055, allocations: 0.5813 MB / 0.5502 GB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.6055, allocations: 30.05 kB / 0.5502 GB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.6056, allocations: 33.81 kB / 0.5503 GB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007963/0.6065, allocations: 477.3 kB / 0.5507 GB, free: 7.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.6065, allocations: 3.938 kB / 0.5507 GB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.6065, allocations: 18.62 kB / 0.5508 GB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.6066, allocations: 28.92 kB / 0.5508 GB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005731/0.6072, allocations: 331.8 kB / 0.5511 GB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.6098, allocations: 1.639 MB / 0.5527 GB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.6102, allocations: 174.8 kB / 0.5529 GB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.6104, allocations: 108 kB / 0.553 GB, free: 5.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.6104, allocations: 8 kB / 0.553 GB, free: 5.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.6105, allocations: 33.75 kB / 0.553 GB, free: 5.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.695e-06/0.6105, allocations: 0 / 0.553 GB, free: 5.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001648/0.6121, allocations: 0.782 MB / 0.5538 GB, free: 4.582 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.6122, allocations: 85.23 kB / 0.5539 GB, free: 4.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.6127, allocations: 297.2 kB / 0.5541 GB, free: 4.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.6127, allocations: 29.7 kB / 0.5542 GB, free: 4.199 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.6129, allocations: 258.1 kB / 0.5544 GB, free: 3.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.194e-05/0.613, allocations: 65.14 kB / 0.5545 GB, free: 3.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.613, allocations: 10.56 kB / 0.5545 GB, free: 3.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6132, allocations: 344.6 kB / 0.5548 GB, free: 3.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.6134, allocations: 92.94 kB / 0.5549 GB, free: 3.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.6136, allocations: 198.6 kB / 0.5551 GB, free: 3.336 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.6141, allocations: 323.6 kB / 0.5554 GB, free: 3.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.6142, allocations: 4 kB / 0.5554 GB, free: 3.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001012/0.6152, allocations: 429.3 kB / 0.5558 GB, free: 2.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.6152, allocations: 8 kB / 0.5558 GB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005091/0.6157, allocations: 257.2 kB / 0.5561 GB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.6161, allocations: 84.69 kB / 0.5561 GB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.6164, allocations: 65.28 kB / 0.5562 GB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.6181, allocations: 1.591 MB / 0.5578 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.6183, allocations: 19.25 kB / 0.5578 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.6184, allocations: 11.58 kB / 0.5578 GB, free: 0.7891 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 (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003073/0.6187, allocations: 192.4 kB / 0.558 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.6188, allocations: 35.56 kB / 0.558 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.6192, allocations: 268.9 kB / 0.5583 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.6192, allocations: 4 kB / 0.5583 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.6192, allocations: 0 / 0.5583 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6193, allocations: 0 / 0.5583 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.6206, allocations: 0.7567 MB / 0.559 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6206, allocations: 11.94 kB / 0.559 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.6209, allocations: 51.97 kB / 0.5591 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6209, allocations: 0 / 0.5591 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.6209, allocations: 7.312 kB / 0.5591 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.6209, allocations: 4 kB / 0.5591 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.621, allocations: 0 / 0.5591 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006024/0.6216, allocations: 461.7 kB / 0.5595 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.6217, allocations: 107.7 kB / 0.5596 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.6217, allocations: 7.156 kB / 0.5596 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.6219, allocations: 7.125 kB / 0.5596 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.6219, allocations: 19.88 kB / 0.5597 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.622, allocations: 7.188 kB / 0.5597 GB, free: 15.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002568/0.6222, allocations: 218.3 kB / 0.5599 GB, free: 14.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6222, allocations: 0 / 0.5599 GB, free: 14.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004699/0.6227, allocations: 101.4 kB / 0.56 GB, free: 14.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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.0002474/0.623, allocations: 122.2 kB / 0.5601 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.6236, allocations: 376.3 kB / 0.5604 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6236, allocations: 0 / 0.5604 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.6238, allocations: 104.3 kB / 0.5605 GB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.6243, allocations: 68.27 kB / 0.5606 GB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.6262, allocations: 1.115 MB / 0.5617 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.6267, allocations: 0.8483 MB / 0.5625 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002536/0.627, allocations: 74.91 kB / 0.5626 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.6271, allocations: 31.36 kB / 0.5626 GB, free: 12.24 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6271, allocations: 0 / 0.5626 GB, free: 12.24 MB / 378.7 MB Notification: Performance of Templates: time 0.008595/0.6357, allocations: 3.491 MB / 0.566 GB, free: 8.762 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)