Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001415/0.001415, allocations: 168.8 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.259/1.259, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001516/0.001516, allocations: 119.4 kB / 218 MB, free: 8.398 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.625e-05, allocations: 0 / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09214, allocations: 38.77 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4213, allocations: 73.85 MB / 374.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4216, allocations: 80.45 kB / 374.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5018/0.9234, allocations: 170.1 MB / 0.5322 GB, free: 60.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.9234, allocations: 0 / 0.5322 GB, free: 60.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001968/0.9236, allocations: 107.9 kB / 0.5323 GB, free: 60.24 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: 1355 * Number of variables: 1355 Notification: Performance of Generate backend data structure: time 0.01344/0.9371, allocations: 4.488 MB / 0.5367 GB, free: 55.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.9372, allocations: 8.031 kB / 0.5367 GB, free: 55.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.9393, allocations: 490.3 kB / 0.5372 GB, free: 55.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005619/0.9449, allocations: 2.921 MB / 0.5401 GB, free: 52.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003961/0.9453, allocations: 168 kB / 0.5402 GB, free: 52.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/0.9468, allocations: 276 kB / 0.5405 GB, free: 51.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0107/0.9575, allocations: 5.151 MB / 0.5455 GB, free: 46.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.9728, allocations: 6.911 MB / 0.5523 GB, free: 39.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.973, allocations: 3.906 kB / 0.5523 GB, free: 39.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004679/0.9735, allocations: 7.938 kB / 0.5523 GB, free: 39.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.9737, allocations: 219.9 kB / 0.5525 GB, free: 39.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03452/1.008, allocations: 22.74 MB / 0.5747 GB, free: 16.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/1.011, allocations: 2.676 MB / 0.5773 GB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/1.015, allocations: 3.112 MB / 0.5803 GB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/1.015, allocations: 75.27 kB / 0.5804 GB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/1.015, allocations: 64.5 kB / 0.5805 GB, free: 10.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 5.17e-06/1.015, allocations: 3.938 kB / 0.5805 GB, free: 10.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.006086/1.021, allocations: 5.397 MB / 0.5857 GB, free: 5.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/1.021, allocations: 132.9 kB / 0.5859 GB, free: 5.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009835/1.022, allocations: 0.719 MB / 0.5866 GB, free: 4.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001779/1.022, allocations: 25.7 kB / 0.5866 GB, free: 4.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007037/1.023, allocations: 1.62 MB / 0.5882 GB, free: 2.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007605/1.024, allocations: 1.031 MB / 0.5892 GB, free: 1.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/1.024, allocations: 0 / 0.5892 GB, free: 1.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002281/1.024, allocations: 488.9 kB / 0.5896 GB, free: 1.137 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2244/1.248, allocations: 2.054 MB / 0.5917 GB, free: 61.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/1.252, allocations: 2.495 MB / 0.5941 GB, free: 60.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/1.256, allocations: 2.497 MB / 0.5965 GB, free: 60.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/1.256, allocations: 6.312 kB / 0.5965 GB, free: 60.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.008692/1.265, allocations: 5.783 MB / 0.6022 GB, free: 60.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/1.265, allocations: 10.25 kB / 0.6022 GB, free: 60.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/1.265, allocations: 10.88 kB / 0.6022 GB, free: 60.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/1.267, allocations: 1.731 MB / 0.6039 GB, free: 60.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/1.269, allocations: 327.1 kB / 0.6042 GB, free: 60.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005102/1.274, allocations: 6.557 MB / 0.6106 GB, free: 58.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.275, allocations: 196.5 kB / 0.6108 GB, free: 57.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/1.275, allocations: 103 kB / 0.6109 GB, free: 57.98 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: currentSensor.y[2].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[1].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor.y[3].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor.y[3].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[1].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[2].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[1].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star2.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: voltageSource.voltageSource[2].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.im:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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.im: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: 48 * 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): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005493/1.276, allocations: 227.1 kB / 0.6111 GB, free: 57.87 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/1.276, allocations: 153 kB / 0.6113 GB, free: 57.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/1.283, allocations: 5.675 MB / 0.6168 GB, free: 57.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005964/1.289, allocations: 5.367 MB / 0.622 GB, free: 57.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/1.289, allocations: 0 / 0.622 GB, free: 57.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/1.289, allocations: 9.844 kB / 0.622 GB, free: 57.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.305, allocations: 11 MB / 0.6328 GB, free: 55.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/1.305, allocations: 3.625 kB / 0.6328 GB, free: 55.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.306, allocations: 220.3 kB / 0.633 GB, free: 55.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/1.308, allocations: 1.717 MB / 0.6347 GB, free: 54.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/1.309, allocations: 51.59 kB / 0.6347 GB, free: 54.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/1.314, allocations: 6.56 MB / 0.6411 GB, free: 50.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/1.314, allocations: 9.062 kB / 0.6411 GB, free: 50.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/1.324, allocations: 9.148 MB / 0.6501 GB, free: 46.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/1.325, allocations: 273.7 kB / 0.6503 GB, free: 45.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/1.325, allocations: 6.234 kB / 0.6503 GB, free: 45.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/1.326, allocations: 27.86 kB / 0.6504 GB, free: 45.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004156/1.326, allocations: 264.7 kB / 0.6506 GB, free: 45.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/1.326, allocations: 82.92 kB / 0.6507 GB, free: 45.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006892/1.327, allocations: 0.5552 MB / 0.6512 GB, free: 45.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.327, allocations: 2.375 kB / 0.6513 GB, free: 45.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002556/1.33, allocations: 0.9871 MB / 0.6522 GB, free: 45.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (147): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004128/1.33, allocations: 163.5 kB / 0.6524 GB, free: 45.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006168/1.336, allocations: 4.87 MB / 0.6571 GB, free: 42.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.336, allocations: 4 kB / 0.6571 GB, free: 42.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003031/1.339, allocations: 2.5 MB / 0.6596 GB, free: 40.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/1.341, allocations: 313.4 kB / 0.6599 GB, free: 40.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.354, allocations: 8.252 MB / 0.6679 GB, free: 33.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002727/1.356, allocations: 3.596 MB / 0.6714 GB, free: 30.19 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001014/1.357, allocations: 378 kB / 0.6718 GB, free: 29.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/1.358, allocations: 79.44 kB / 0.6719 GB, free: 29.85 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/1.358, allocations: 0 / 0.6719 GB, free: 29.85 MB / 346.7 MB Notification: Performance of Templates: time 0.057/1.415, allocations: 43.66 MB / 0.7145 GB, free: 12.18 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1)