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.0009998/0.0009999, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.277/1.277, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001616/0.001616, allocations: 112.2 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1583/0.1583, allocations: 38 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004256, allocations: 8 kB / 403.8 MB, free: 68.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08482/0.08527, allocations: 53.24 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/0.3865, allocations: 90.8 MB / 0.535 GB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.3868, allocations: 101.4 kB / 0.5351 GB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03294/0.4197, allocations: 12.87 MB / 0.5476 GB, free: 9.484 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4198, allocations: 0 / 0.5476 GB, free: 9.484 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.708e-05/0.4198, allocations: 8 kB / 0.5476 GB, free: 9.477 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.001474/0.4213, allocations: 0.6841 MB / 0.5483 GB, free: 8.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4213, allocations: 20.02 kB / 0.5483 GB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007413/0.4221, allocations: 91.38 kB / 0.5484 GB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.4244, allocations: 0.8787 MB / 0.5493 GB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.4245, allocations: 26.5 kB / 0.5493 GB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.4246, allocations: 41.83 kB / 0.5493 GB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.4253, allocations: 478.5 kB / 0.5498 GB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4254, allocations: 0 / 0.5498 GB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.4254, allocations: 12.81 kB / 0.5498 GB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.4255, allocations: 24.98 kB / 0.5498 GB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005492/0.426, allocations: 336.7 kB / 0.5502 GB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.4283, allocations: 1.635 MB / 0.5517 GB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.4287, allocations: 172.1 kB / 0.5519 GB, free: 5.602 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.4287, allocations: 11.55 kB / 0.5519 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.4287, allocations: 34.84 kB / 0.552 GB, free: 5.551 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.274e-06/0.4288, allocations: 0 / 0.552 GB, free: 5.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001429/0.4302, allocations: 0.7843 MB / 0.5527 GB, free: 4.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.4302, allocations: 85.23 kB / 0.5528 GB, free: 4.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.4306, allocations: 268.1 kB / 0.5531 GB, free: 4.527 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.4306, allocations: 36.95 kB / 0.5531 GB, free: 4.488 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.4308, allocations: 250.9 kB / 0.5533 GB, free: 4.289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.4308, allocations: 73.36 kB / 0.5534 GB, free: 4.227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.4309, allocations: 9.5 kB / 0.5534 GB, free: 4.223 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.431, allocations: 339.3 kB / 0.5537 GB, free: 3.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.4311, allocations: 100.1 kB / 0.5538 GB, free: 3.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.4314, allocations: 198.5 kB / 0.554 GB, free: 3.625 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.4316, allocations: 129.9 kB / 0.5541 GB, free: 3.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4316, allocations: 0 / 0.5541 GB, free: 3.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007868/0.4324, allocations: 429.7 kB / 0.5546 GB, free: 3.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4324, allocations: 11.95 kB / 0.5546 GB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005007/0.4329, allocations: 261 kB / 0.5548 GB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/0.4333, allocations: 76.91 kB / 0.5549 GB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.4335, allocations: 65.64 kB / 0.555 GB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.4352, allocations: 1.608 MB / 0.5565 GB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.4354, allocations: 11.69 kB / 0.5565 GB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.4355, allocations: 11.38 kB / 0.5565 GB, free: 1.277 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.0002486/0.4357, allocations: 204 kB / 0.5567 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.4358, allocations: 31.61 kB / 0.5568 GB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/0.4362, allocations: 267.9 kB / 0.557 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4362, allocations: 4 kB / 0.557 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.4362, allocations: 0 / 0.557 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4362, allocations: 3.984 kB / 0.557 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.4374, allocations: 0.7518 MB / 0.5578 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4374, allocations: 0 / 0.5578 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.4376, allocations: 51.91 kB / 0.5578 GB, free: 152 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4377, allocations: 0 / 0.5578 GB, free: 152 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.4377, allocations: 10.62 kB / 0.5578 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.716e-06/0.4377, allocations: 4 kB / 0.5578 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4377, allocations: 4 kB / 0.5578 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.4382, allocations: 493.4 kB / 0.5583 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.4383, allocations: 112.1 kB / 0.5584 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.4384, allocations: 3.953 kB / 0.5584 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.4385, allocations: 13.5 kB / 0.5584 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.4386, allocations: 19.91 kB / 0.5584 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.4386, allocations: 7.125 kB / 0.5585 GB, free: 15.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001904/0.4388, allocations: 214.1 kB / 0.5587 GB, free: 15.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4388, allocations: 0 / 0.5587 GB, free: 15.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004277/0.4392, allocations: 102.8 kB / 0.5588 GB, free: 15.28 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.0001827/0.4394, allocations: 122.9 kB / 0.5589 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000642/0.4401, allocations: 372.8 kB / 0.5592 GB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4401, allocations: 192 / 0.5592 GB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.4402, allocations: 101.5 kB / 0.5593 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.4407, allocations: 60.14 kB / 0.5594 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.4424, allocations: 1.122 MB / 0.5605 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.4429, allocations: 0.86 MB / 0.5613 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.4431, allocations: 70.91 kB / 0.5614 GB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/0.4432, allocations: 31 kB / 0.5614 GB, free: 12.67 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4432, allocations: 0 / 0.5614 GB, free: 12.67 MB / 378.7 MB Notification: Performance of Templates: time 0.00702/0.4503, allocations: 3.46 MB / 0.5648 GB, free: 9.223 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)