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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001283/0.001283, allocations: 195.5 kB / 8.139 MB, free: 2.203 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.079/1.079, allocations: 194.2 MB / 202.8 MB, free: 8.66 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.001796/0.001795, allocations: 120.5 kB / 247.7 MB, free: 6.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.503e-06/6.523e-06, allocations: 4 kB / 297.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06883/0.06885, allocations: 44.49 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/0.2766, allocations: 93.78 MB / 435.8 MB, free: 1.672 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.2769, allocations: 81.45 kB / 435.9 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.8992/1.176, allocations: 303.5 MB / 0.7221 GB, free: 51.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006105/1.177, allocations: 191.1 kB / 0.7222 GB, free: 51.24 MB / 410.7 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.03091/1.208, allocations: 8.629 MB / 0.7307 GB, free: 48.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.208, allocations: 11.09 kB / 0.7307 GB, free: 48.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0257/1.233, allocations: 3.909 MB / 0.7345 GB, free: 48.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01603/1.249, allocations: 5.799 MB / 0.7402 GB, free: 47.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000879/1.25, allocations: 301.5 kB / 0.7405 GB, free: 47.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004209/1.255, allocations: 495.6 kB / 0.7409 GB, free: 47.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02599/1.281, allocations: 12.23 MB / 0.7529 GB, free: 47.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04064/1.321, allocations: 13.96 MB / 0.7665 GB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005204/1.322, allocations: 11.16 kB / 0.7665 GB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00392/1.326, allocations: 8.438 kB / 0.7665 GB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008393/1.327, allocations: 0.6193 MB / 0.7671 GB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08648/1.413, allocations: 44.32 MB / 0.8104 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/1.426, allocations: 8.986 MB / 0.8192 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1457/1.572, allocations: 7.266 MB / 0.8263 GB, free: 81.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009547/1.573, allocations: 269.1 kB / 0.8265 GB, free: 80.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.74e-05/1.573, allocations: 103.9 kB / 0.8266 GB, free: 80.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=817): time 1.178e-05/1.573, allocations: 0 / 0.8266 GB, free: 80.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=817): time 0.02325/1.596, allocations: 13.82 MB / 0.8401 GB, free: 80.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/1.596, allocations: 147.8 kB / 0.8403 GB, free: 80.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/1.598, allocations: 1.64 MB / 0.8419 GB, free: 80.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001037/1.599, allocations: 29.39 kB / 0.8419 GB, free: 80.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/1.601, allocations: 2.482 MB / 0.8443 GB, free: 79.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003763/1.604, allocations: 2.576 MB / 0.8468 GB, free: 77.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009263/1.605, allocations: 0 / 0.8468 GB, free: 77.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005491/1.606, allocations: 0.5994 MB / 0.8474 GB, free: 77.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007243/1.613, allocations: 5.228 MB / 0.8525 GB, free: 77.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009134/1.622, allocations: 6.046 MB / 0.8584 GB, free: 76.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.634, allocations: 6.363 MB / 0.8646 GB, free: 76.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-05/1.634, allocations: 6.781 kB / 0.8646 GB, free: 76.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02967/1.664, allocations: 14.64 MB / 0.8789 GB, free: 76.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.664, allocations: 4.562 kB / 0.8789 GB, free: 76.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.972e-05/1.664, allocations: 15.19 kB / 0.879 GB, free: 76.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008509/1.672, allocations: 4.344 MB / 0.8832 GB, free: 76.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005664/1.678, allocations: 1.028 MB / 0.8842 GB, free: 76.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/1.691, allocations: 11.21 MB / 0.8952 GB, free: 70.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005302/1.696, allocations: 0.5278 MB / 0.8957 GB, free: 70.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001805/1.698, allocations: 252.9 kB / 0.8959 GB, free: 70.21 MB / 410.7 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.002856/1.701, allocations: 298.8 kB / 0.8962 GB, free: 70.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/1.703, allocations: 384.6 kB / 0.8966 GB, free: 69.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03085/1.734, allocations: 15.39 MB / 0.9116 GB, free: 64.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02345/1.757, allocations: 13.78 MB / 0.925 GB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.148e-05/1.757, allocations: 0 / 0.925 GB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.545e-05/1.757, allocations: 32.44 kB / 0.9251 GB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04772/1.805, allocations: 26.31 MB / 0.9508 GB, free: 38.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.329e-05/1.805, allocations: 0 / 0.9508 GB, free: 38.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005221/1.811, allocations: 0.8943 MB / 0.9516 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009583/1.82, allocations: 4.315 MB / 0.9559 GB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001792/1.822, allocations: 90.97 kB / 0.9559 GB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/1.835, allocations: 11.2 MB / 0.9669 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.835, allocations: 3.781 kB / 0.9669 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03841/1.874, allocations: 22.93 MB / 0.9893 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005111/1.879, allocations: 1.721 MB / 0.9909 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002435/1.881, allocations: 0 / 0.9909 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004404/1.886, allocations: 187.3 kB / 0.9911 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001946/1.888, allocations: 0.5437 MB / 0.9917 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001199/1.889, allocations: 218.3 kB / 0.9919 GB, free: 1.906 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001842/1.891, allocations: 1.258 MB / 0.9931 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1688/2.059, allocations: 2.12 MB / 0.9952 GB, free: 81.98 MB / 410.7 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,12 72,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.002758/2.062, allocations: 230.9 kB / 0.9954 GB, free: 81.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02195/2.084, allocations: 12.7 MB / 1.008 GB, free: 81.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/2.084, allocations: 0 / 1.008 GB, free: 81.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01275/2.097, allocations: 6.743 MB / 1.014 GB, free: 81.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00458/2.102, allocations: 0.4896 MB / 1.015 GB, free: 81.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03472/2.136, allocations: 17.56 MB / 1.032 GB, free: 79.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009975/2.146, allocations: 6.529 MB / 1.038 GB, free: 78.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/2.146, allocations: 0 / 1.038 GB, free: 78.47 MB / 410.7 MB Notification: Performance of Templates: time 0.1683/2.315, allocations: 118 MB / 1.154 GB, free: 14.24 MB / 410.7 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)