Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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) 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(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001297/0.001297, allocations: 187.7 kB / 8.352 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.459/1.459, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001755/0.001755, allocations: 110.1 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.255e-05/1.257e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.09239, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2893/0.3818, allocations: 89.49 MB / 432.1 MB, free: 6.473 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.382, allocations: 81.95 kB / 432.2 MB, free: 6.43 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9472/1.329, allocations: 309.2 MB / 0.724 GB, free: 62.67 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.683e-06/1.329, allocations: 0 / 0.724 GB, free: 62.67 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.0004207/1.33, allocations: 178.2 kB / 0.7242 GB, free: 62.66 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03098/1.361, allocations: 9.553 MB / 0.7335 GB, free: 60.18 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/1.361, allocations: 7.438 kB / 0.7335 GB, free: 60.18 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02867/1.39, allocations: 5.516 MB / 0.7389 GB, free: 59.7 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/1.403, allocations: 6.126 MB / 0.7449 GB, free: 58.68 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007666/1.404, allocations: 290.8 kB / 0.7451 GB, free: 58.68 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003642/1.408, allocations: 488.1 kB / 0.7456 GB, free: 58.67 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02508/1.433, allocations: 14.14 MB / 0.7594 GB, free: 55.89 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03135/1.464, allocations: 15.27 MB / 0.7743 GB, free: 47.98 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003286/1.464, allocations: 11.22 kB / 0.7743 GB, free: 47.97 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001467/1.466, allocations: 6.062 kB / 0.7743 GB, free: 47.97 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005305/1.466, allocations: 0.714 MB / 0.775 GB, free: 47.34 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3193/1.786, allocations: 50.47 MB / 0.8243 GB, free: 57.77 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01895/1.805, allocations: 13.77 MB / 0.8378 GB, free: 55.54 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01306/1.818, allocations: 9.337 MB / 0.8469 GB, free: 55.44 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/1.819, allocations: 315.2 kB / 0.8472 GB, free: 55.31 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/1.819, allocations: 116.2 kB / 0.8473 GB, free: 55.27 MB / 411.1 MB Notification: Performance of pre-optimization done (n=968): time 1.069e-05/1.819, allocations: 0 / 0.8473 GB, free: 55.27 MB / 411.1 MB Notification: Performance of matching and sorting (n=968): time 0.03819/1.857, allocations: 18.66 MB / 0.8655 GB, free: 54.94 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/1.857, allocations: 162.3 kB / 0.8657 GB, free: 54.84 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/1.86, allocations: 1.502 MB / 0.8671 GB, free: 54.69 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002811/1.863, allocations: 25.7 kB / 0.8672 GB, free: 54.66 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/1.865, allocations: 2.527 MB / 0.8696 GB, free: 53.72 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003748/1.868, allocations: 3.043 MB / 0.8726 GB, free: 51.78 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008386/1.869, allocations: 0 / 0.8726 GB, free: 51.78 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0006016/1.87, allocations: 0.6454 MB / 0.8732 GB, free: 51.46 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009435/1.879, allocations: 6.571 MB / 0.8797 GB, free: 49.24 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01256/1.892, allocations: 7.146 MB / 0.8866 GB, free: 46.22 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01602/1.908, allocations: 9.066 MB / 0.8955 GB, free: 42.91 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.092e-05/1.908, allocations: 0 / 0.8955 GB, free: 42.91 MB / 411.1 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.03367/1.942, allocations: 19.42 MB / 0.9145 GB, free: 35.44 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/1.942, allocations: 12.05 kB / 0.9145 GB, free: 35.43 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-05/1.942, allocations: 3.312 kB / 0.9145 GB, free: 35.43 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01148/1.953, allocations: 6.534 MB / 0.9209 GB, free: 33.68 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006414/1.96, allocations: 1.225 MB / 0.922 GB, free: 33.65 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/1.974, allocations: 13.28 MB / 0.935 GB, free: 23.42 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006904/1.981, allocations: 0.7182 MB / 0.9357 GB, free: 22.85 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001644/1.983, allocations: 278.1 kB / 0.936 GB, free: 22.61 MB / 411.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: inductor_e.inductor[4].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[4].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_e.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_e.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] inductor_e.inductor[5].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[5].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_e.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[5].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[5].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[4].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[4].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: resistor_m.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_m.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[5].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[5].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_m.resistor[4].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_m.resistor[4].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_m.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_m.plugToPins_p.pin_p[5].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[4].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[5].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[4].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * 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 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.001787/1.985, allocations: 300.5 kB / 0.9363 GB, free: 22.43 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.986, allocations: 406.8 kB / 0.9367 GB, free: 22.03 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03204/2.018, allocations: 20.59 MB / 0.9568 GB, free: 5.027 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002893/2.018, allocations: 278.6 kB / 0.957 GB, free: 4.793 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/2.018, allocations: 3.906 kB / 0.957 GB, free: 4.793 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001212/2.018, allocations: 40.12 kB / 0.9571 GB, free: 4.793 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3473/2.366, allocations: 34.72 MB / 0.991 GB, free: 67.29 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.979e-05/2.366, allocations: 2 kB / 0.991 GB, free: 67.29 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005896/2.372, allocations: 1.161 MB / 0.9921 GB, free: 67.29 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01257/2.384, allocations: 6.535 MB / 0.9985 GB, free: 67.21 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002207/2.387, allocations: 115.6 kB / 0.9986 GB, free: 67.21 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/2.402, allocations: 13.25 MB / 1.012 GB, free: 65.07 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/2.402, allocations: 1.062 kB / 1.012 GB, free: 65.07 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04878/2.45, allocations: 30.25 MB / 1.041 GB, free: 61.85 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006238/2.457, allocations: 2.137 MB / 1.043 GB, free: 60.89 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003039/2.46, allocations: 1.266 kB / 1.043 GB, free: 60.89 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005666/2.466, allocations: 359.2 kB / 1.044 GB, free: 60.89 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002683/2.468, allocations: 0.7038 MB / 1.044 GB, free: 60.75 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002023/2.47, allocations: 257.8 kB / 1.044 GB, free: 60.69 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.002068/2.472, allocations: 1.155 MB / 1.046 GB, free: 60.23 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.91e-07/2.472, allocations: 3.562 kB / 1.046 GB, free: 60.23 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.009921/2.482, allocations: 2.175 MB / 1.048 GB, free: 59.99 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * 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 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.002363/2.485, allocations: 204 kB / 1.048 GB, free: 59.9 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.02843/2.513, allocations: 15.71 MB / 1.063 GB, free: 53.91 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/2.513, allocations: 2.953 kB / 1.063 GB, free: 53.91 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01687/2.53, allocations: 8.433 MB / 1.071 GB, free: 50.73 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005729/2.536, allocations: 454.7 kB / 1.072 GB, free: 50.64 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0429/2.579, allocations: 19.85 MB / 1.091 GB, free: 40.52 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008202/2.587, allocations: 6.327 MB / 1.097 GB, free: 35.67 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.005935/2.593, allocations: 1.864 MB / 1.099 GB, free: 34.37 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/2.594, allocations: 316.4 kB / 1.1 GB, free: 34.08 MB / 427.1 MB Notification: Performance of SimCode: time 8.52e-07/2.594, allocations: 4 kB / 1.1 GB, free: 34.07 MB / 427.1 MB Notification: Performance of Templates: time 0.4267/3.021, allocations: 123.4 MB / 1.22 GB, free: 53.3 MB / 427.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)