Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001608/0.001608, allocations: 188.6 kB / 8.353 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.517/1.517, allocations: 194.3 MB / 203.1 MB, free: 9.258 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.001691/0.001691, allocations: 123.7 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.801e-05, allocations: 4 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09035/0.09039, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2766/0.367, allocations: 93.85 MB / 436.4 MB, free: 2.105 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.3673, allocations: 89.62 kB / 436.5 MB, free: 2.059 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9846/1.352, allocations: 305.5 MB / 0.7246 GB, free: 54.3 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.305e-06/1.352, allocations: 0 / 0.7246 GB, free: 54.3 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.0006541/1.353, allocations: 191.4 kB / 0.7248 GB, free: 54.29 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: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03052/1.383, allocations: 8.721 MB / 0.7333 GB, free: 51.83 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.383, allocations: 14.47 kB / 0.7334 GB, free: 51.83 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02291/1.406, allocations: 4.186 MB / 0.7374 GB, free: 51.35 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/1.419, allocations: 5.798 MB / 0.7431 GB, free: 50.32 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007802/1.42, allocations: 296.1 kB / 0.7434 GB, free: 50.32 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003835/1.424, allocations: 497.2 kB / 0.7439 GB, free: 50.32 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02543/1.449, allocations: 11.96 MB / 0.7555 GB, free: 50.27 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03592/1.485, allocations: 13.71 MB / 0.7689 GB, free: 45.18 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/1.486, allocations: 7.781 kB / 0.7689 GB, free: 45.18 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002307/1.488, allocations: 7.344 kB / 0.769 GB, free: 45.18 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000767/1.489, allocations: 0.6054 MB / 0.7695 GB, free: 45.02 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07805/1.567, allocations: 43.92 MB / 0.8124 GB, free: 9 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2825/1.849, allocations: 12.08 MB / 0.8242 GB, free: 50.69 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01055/1.86, allocations: 7.107 MB / 0.8312 GB, free: 50.61 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009218/1.861, allocations: 275 kB / 0.8314 GB, free: 50.48 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.432e-05/1.861, allocations: 101.9 kB / 0.8315 GB, free: 50.44 MB / 411.1 MB Notification: Performance of pre-optimization done (n=817): time 1.103e-05/1.861, allocations: 0 / 0.8315 GB, free: 50.44 MB / 411.1 MB Notification: Performance of matching and sorting (n=817): time 0.02694/1.888, allocations: 14.05 MB / 0.8453 GB, free: 50.18 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/1.888, allocations: 150.8 kB / 0.8454 GB, free: 50.08 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/1.891, allocations: 1.607 MB / 0.847 GB, free: 49.93 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002001/1.893, allocations: 27.14 kB / 0.847 GB, free: 49.9 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002075/1.895, allocations: 2.759 MB / 0.8497 GB, free: 48.9 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00464/1.9, allocations: 2.579 MB / 0.8522 GB, free: 47.25 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009008/1.901, allocations: 0 / 0.8522 GB, free: 47.25 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0007443/1.902, allocations: 0.5999 MB / 0.8528 GB, free: 46.93 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008073/1.91, allocations: 5.001 MB / 0.8577 GB, free: 46.91 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009787/1.919, allocations: 5.811 MB / 0.8634 GB, free: 46.29 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/1.933, allocations: 7.033 MB / 0.8702 GB, free: 46.2 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/1.933, allocations: 7.469 kB / 0.8702 GB, free: 46.2 MB / 411.1 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.03193/1.965, allocations: 14.92 MB / 0.8848 GB, free: 42.65 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/1.965, allocations: 16.42 kB / 0.8848 GB, free: 42.65 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-05/1.966, allocations: 14.94 kB / 0.8848 GB, free: 42.65 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008038/1.974, allocations: 4.298 MB / 0.889 GB, free: 41.41 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005864/1.979, allocations: 1.089 MB / 0.8901 GB, free: 41.39 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/1.993, allocations: 10.85 MB / 0.9007 GB, free: 35.61 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006198/1.999, allocations: 0.6297 MB / 0.9013 GB, free: 35.3 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001917/2.001, allocations: 255.1 kB / 0.9015 GB, free: 35.25 MB / 411.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: loss_e.conductor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] loss_e.conductor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] loss_e.conductor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] loss_e.conductor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_e.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] loss_e.conductor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_e.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_e.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] 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 [3] star_e.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] 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 [3] resistor_m.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor_m.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor_m.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_m.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_m.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_m.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_m.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_m.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 484 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * 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,12 72,6 9,12 95} Notification: Performance of prepare postOptimizeDAE: time 0.003182/2.004, allocations: 309 kB / 0.9018 GB, free: 35.11 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002011/2.006, allocations: 389.6 kB / 0.9022 GB, free: 34.9 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02974/2.036, allocations: 15.51 MB / 0.9174 GB, free: 29.04 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02496/2.061, allocations: 14.06 MB / 0.9311 GB, free: 20.94 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.109e-05/2.061, allocations: 0 / 0.9311 GB, free: 20.94 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001408/2.061, allocations: 39.64 kB / 0.9311 GB, free: 20.94 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04858/2.11, allocations: 26.96 MB / 0.9575 GB, free: 15.81 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.549e-05/2.11, allocations: 3.578 kB / 0.9575 GB, free: 15.81 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004944/2.115, allocations: 0.9485 MB / 0.9584 GB, free: 15.11 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008672/2.123, allocations: 4.264 MB / 0.9625 GB, free: 11.66 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002311/2.126, allocations: 84.81 kB / 0.9626 GB, free: 11.59 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/2.138, allocations: 10.83 MB / 0.9732 GB, free: 1.844 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/2.138, allocations: 8.625 kB / 0.9732 GB, free: 1.84 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3072/2.445, allocations: 24.05 MB / 0.9967 GB, free: 64.03 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004576/2.45, allocations: 1.719 MB / 0.9984 GB, free: 63.79 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/2.451, allocations: 2.531 kB / 0.9984 GB, free: 63.79 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003036/2.454, allocations: 284.1 kB / 0.9986 GB, free: 63.79 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009525/2.455, allocations: 0.566 MB / 0.9992 GB, free: 63.78 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004957/2.456, allocations: 217.8 kB / 0.9994 GB, free: 63.78 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.001624/2.458, allocations: 1.218 MB / 1.001 GB, free: 63.67 MB / 427.1 MB Notification: Performance of sort global known variables: time 2.51e-07/2.458, allocations: 0 / 1.001 GB, free: 63.67 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.005466/2.463, allocations: 2.036 MB / 1.003 GB, free: 63.43 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (488): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * 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,11 73,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/2.464, allocations: 217.5 kB / 1.003 GB, free: 63.34 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.02469/2.489, allocations: 12.22 MB / 1.015 GB, free: 63.1 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/2.489, allocations: 1.094 kB / 1.015 GB, free: 63.1 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01496/2.504, allocations: 6.494 MB / 1.021 GB, free: 63.02 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005782/2.51, allocations: 0.5271 MB / 1.022 GB, free: 63.01 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03435/2.544, allocations: 17.15 MB / 1.038 GB, free: 60.73 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00793/2.552, allocations: 6.202 MB / 1.044 GB, free: 59.3 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.004977/2.557, allocations: 1.56 MB / 1.046 GB, free: 59.2 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/2.558, allocations: 281.1 kB / 1.046 GB, free: 59.17 MB / 427.1 MB Notification: Performance of SimCode: time 1.352e-06/2.558, allocations: 0 / 1.046 GB, free: 59.17 MB / 427.1 MB Notification: Performance of Templates: time 0.4182/2.976, allocations: 99.81 MB / 1.144 GB, free: 63.81 MB / 427.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)