Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00096/0.0009602, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.315/1.315, allocations: 170.7 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001593/0.001593, allocations: 111.5 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.42e-05/1.426e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06508/0.06511, allocations: 38.76 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2908/0.3559, allocations: 74.1 MB / 375.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.3562, allocations: 79.14 kB / 375.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4747/0.831, allocations: 154.6 MB / 0.5173 GB, free: 71.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.831, allocations: 0 / 0.5173 GB, free: 71.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002328/0.8313, allocations: 98.5 kB / 0.5174 GB, free: 71.92 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01299/0.8443, allocations: 4.142 MB / 0.5214 GB, free: 69.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.8443, allocations: 11.66 kB / 0.5215 GB, free: 69.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.8464, allocations: 459.6 kB / 0.5219 GB, free: 69.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006187/0.8526, allocations: 2.651 MB / 0.5245 GB, free: 67.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.853, allocations: 153.3 kB / 0.5246 GB, free: 67.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.8544, allocations: 258.9 kB / 0.5249 GB, free: 67.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009477/0.8639, allocations: 4.725 MB / 0.5295 GB, free: 62.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/0.8767, allocations: 6.271 MB / 0.5356 GB, free: 56.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.8768, allocations: 8 kB / 0.5356 GB, free: 56.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003894/0.8772, allocations: 4 kB / 0.5356 GB, free: 56.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.8774, allocations: 195.9 kB / 0.5358 GB, free: 56.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02775/0.9051, allocations: 20.69 MB / 0.556 GB, free: 35.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.9078, allocations: 2.488 MB / 0.5585 GB, free: 32.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/0.9108, allocations: 2.777 MB / 0.5612 GB, free: 30.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.911, allocations: 69.17 kB / 0.5612 GB, free: 29.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.911, allocations: 52.56 kB / 0.5613 GB, free: 29.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 6.292e-06/0.911, allocations: 0 / 0.5613 GB, free: 29.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.005299/0.9163, allocations: 4.618 MB / 0.5658 GB, free: 25.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.9164, allocations: 124.8 kB / 0.5659 GB, free: 25.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.9176, allocations: 0.7147 MB / 0.5666 GB, free: 24.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.9177, allocations: 29.7 kB / 0.5666 GB, free: 24.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009209/0.9187, allocations: 1.526 MB / 0.5681 GB, free: 22.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000838/0.9195, allocations: 0.9005 MB / 0.569 GB, free: 21.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.9197, allocations: 0 / 0.569 GB, free: 21.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002748/0.92, allocations: 484.3 kB / 0.5695 GB, free: 21.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/0.922, allocations: 1.828 MB / 0.5713 GB, free: 19.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.9241, allocations: 2.253 MB / 0.5735 GB, free: 17.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.9264, allocations: 2.238 MB / 0.5756 GB, free: 14.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.9264, allocations: 0 / 0.5756 GB, free: 14.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.005869/0.9323, allocations: 5.085 MB / 0.5806 GB, free: 9.781 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.9324, allocations: 15.95 kB / 0.5806 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.9324, allocations: 12 kB / 0.5806 GB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/0.9341, allocations: 1.375 MB / 0.582 GB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.9354, allocations: 343.4 kB / 0.5823 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/0.9394, allocations: 5.234 MB / 0.5874 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.9407, allocations: 189.5 kB / 0.5876 GB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.9409, allocations: 96.03 kB / 0.5877 GB, free: 2.43 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: complexToPolar[1].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[2].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[2].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[1].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensor.powerSensor[3].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: voltageSource.voltageSource[3].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.000532/0.9414, allocations: 211.3 kB / 0.5879 GB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.9418, allocations: 138.1 kB / 0.588 GB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2273/1.169, allocations: 4.873 MB / 0.5928 GB, free: 68.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006687/1.176, allocations: 4.59 MB / 0.5973 GB, free: 68.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/1.176, allocations: 0 / 0.5973 GB, free: 68.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/1.176, allocations: 12.02 kB / 0.5973 GB, free: 68.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/1.19, allocations: 9.763 MB / 0.6068 GB, free: 67.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/1.19, allocations: 4.531 kB / 0.6068 GB, free: 67.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009134/1.191, allocations: 221.6 kB / 0.607 GB, free: 67.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/1.193, allocations: 1.36 MB / 0.6083 GB, free: 67.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/1.193, allocations: 44.97 kB / 0.6084 GB, free: 67.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004083/1.197, allocations: 5.223 MB / 0.6135 GB, free: 65.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.558e-05/1.197, allocations: 22.67 kB / 0.6135 GB, free: 65.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009233/1.207, allocations: 8.059 MB / 0.6214 GB, free: 64.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/1.207, allocations: 262.7 kB / 0.6216 GB, free: 64.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/1.207, allocations: 7.859 kB / 0.6216 GB, free: 64.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/1.208, allocations: 34.28 kB / 0.6217 GB, free: 64.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003989/1.209, allocations: 242.5 kB / 0.6219 GB, free: 64.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/1.209, allocations: 75.69 kB / 0.622 GB, free: 64.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006541/1.209, allocations: 0.5504 MB / 0.6225 GB, free: 64.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.209, allocations: 2.688 kB / 0.6225 GB, free: 64.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00238/1.212, allocations: 0.92 MB / 0.6234 GB, free: 64.17 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003954/1.212, allocations: 159.7 kB / 0.6236 GB, free: 64.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005149/1.217, allocations: 4.307 MB / 0.6278 GB, free: 63.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.217, allocations: 5.25 kB / 0.6278 GB, free: 63.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002738/1.22, allocations: 2.177 MB / 0.6299 GB, free: 62.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/1.222, allocations: 269.2 kB / 0.6302 GB, free: 62.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/1.232, allocations: 7.42 MB / 0.6374 GB, free: 59.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002559/1.235, allocations: 3.327 MB / 0.6407 GB, free: 57.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001002/1.236, allocations: 367.3 kB / 0.641 GB, free: 57.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/1.236, allocations: 76.84 kB / 0.6411 GB, free: 57.67 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/1.236, allocations: 0.7656 kB / 0.6411 GB, free: 57.67 MB / 346.7 MB Notification: Performance of Templates: time 0.0529/1.289, allocations: 37.67 MB / 0.6779 GB, free: 34.49 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1)