Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.887/1.887, allocations: 195 MB / 203.2 MB, free: 6.754 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.709e-05, allocations: 2.234 kB / 249.6 MB, free: 5.574 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07577/0.07581, allocations: 44.5 MB / 294.1 MB, free: 11.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3428/0.4187, allocations: 93.84 MB / 388 MB, free: 6.184 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.419, allocations: 87.22 kB / 388.1 MB, free: 6.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.317/1.736, allocations: 305.5 MB / 0.6773 GB, free: 52.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.329e-06/1.736, allocations: 3.781 kB / 0.6773 GB, free: 52.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004812/1.737, allocations: 193.9 kB / 0.6774 GB, free: 52.45 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.0358/1.773, allocations: 8.723 MB / 0.686 GB, free: 50.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.773, allocations: 10.34 kB / 0.686 GB, free: 50.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03025/1.803, allocations: 4.184 MB / 0.6901 GB, free: 49.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01633/1.819, allocations: 5.811 MB / 0.6957 GB, free: 48.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007843/1.82, allocations: 296 kB / 0.696 GB, free: 48.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003604/1.824, allocations: 496.4 kB / 0.6965 GB, free: 48.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02835/1.852, allocations: 11.96 MB / 0.7082 GB, free: 48.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03897/1.891, allocations: 13.71 MB / 0.7216 GB, free: 47.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003277/1.892, allocations: 17.3 kB / 0.7216 GB, free: 47.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002325/1.894, allocations: 7.219 kB / 0.7216 GB, free: 47.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006925/1.895, allocations: 0.6026 MB / 0.7222 GB, free: 47.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09146/1.986, allocations: 43.91 MB / 0.7651 GB, free: 23.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/2.006, allocations: 12.08 MB / 0.7769 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01503/2.021, allocations: 7.109 MB / 0.7838 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/2.022, allocations: 268 kB / 0.7841 GB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/2.022, allocations: 109.5 kB / 0.7842 GB, free: 5.207 MB / 410.7 MB Notification: Performance of pre-optimization done (n=817): time 1.5e-05/2.022, allocations: 0 / 0.7842 GB, free: 5.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=817): time 0.3013/2.323, allocations: 14.07 MB / 0.7979 GB, free: 48.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/2.323, allocations: 146.5 kB / 0.798 GB, free: 48.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/2.327, allocations: 1.608 MB / 0.7996 GB, free: 48.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001534/2.328, allocations: 28.92 kB / 0.7996 GB, free: 48.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/2.33, allocations: 2.704 MB / 0.8023 GB, free: 47.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003707/2.334, allocations: 2.573 MB / 0.8048 GB, free: 45.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/2.336, allocations: 3.469 kB / 0.8048 GB, free: 45.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0009196/2.337, allocations: 0.6064 MB / 0.8054 GB, free: 45.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01064/2.347, allocations: 4.996 MB / 0.8103 GB, free: 45.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01158/2.359, allocations: 5.815 MB / 0.8159 GB, free: 44.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01781/2.377, allocations: 7.038 MB / 0.8228 GB, free: 44.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.734e-05/2.377, allocations: 3.844 kB / 0.8228 GB, free: 44.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.0369/2.414, allocations: 14.81 MB / 0.8373 GB, free: 44.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/2.414, allocations: 12.53 kB / 0.8373 GB, free: 44.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.097e-05/2.414, allocations: 19.94 kB / 0.8373 GB, free: 44.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/2.426, allocations: 4.302 MB / 0.8415 GB, free: 44.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006258/2.432, allocations: 1.092 MB / 0.8426 GB, free: 44.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/2.449, allocations: 10.86 MB / 0.8532 GB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/2.455, allocations: 0.6277 MB / 0.8538 GB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002014/2.457, allocations: 255.3 kB / 0.854 GB, free: 41.55 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.003661/2.46, allocations: 304.8 kB / 0.8543 GB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002357/2.463, allocations: 389 kB / 0.8547 GB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03905/2.502, allocations: 15.52 MB / 0.8698 GB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03257/2.535, allocations: 14.06 MB / 0.8836 GB, free: 30.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.254e-05/2.535, allocations: 2.562 kB / 0.8836 GB, free: 30.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001389/2.535, allocations: 39.23 kB / 0.8836 GB, free: 30.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05801/2.593, allocations: 26.62 MB / 0.9096 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-05/2.593, allocations: 3.609 kB / 0.9096 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005288/2.598, allocations: 0.9433 MB / 0.9105 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/2.609, allocations: 4.272 MB / 0.9147 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001456/2.61, allocations: 90.31 kB / 0.9148 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01627/2.627, allocations: 10.83 MB / 0.9254 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.054e-06/2.627, allocations: 0 / 0.9254 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3324/2.959, allocations: 24.25 MB / 0.9491 GB, free: 60.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005523/2.965, allocations: 1.711 MB / 0.9507 GB, free: 60.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002135/2.967, allocations: 4.969 kB / 0.9507 GB, free: 60.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004903/2.972, allocations: 279.9 kB / 0.951 GB, free: 60.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002531/2.974, allocations: 0.5701 MB / 0.9516 GB, free: 60.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00161/2.976, allocations: 213 kB / 0.9518 GB, free: 60.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002616/2.979, allocations: 1.221 MB / 0.9529 GB, free: 60.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.145e-06/2.979, allocations: 1.281 kB / 0.953 GB, free: 60.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009517/2.988, allocations: 2.042 MB / 0.9549 GB, free: 60.39 MB / 426.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,11 73,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.002167/2.99, allocations: 225.6 kB / 0.9552 GB, free: 60.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02672/3.017, allocations: 12.21 MB / 0.9671 GB, free: 60.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/3.017, allocations: 2.719 kB / 0.9671 GB, free: 60.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01536/3.032, allocations: 6.489 MB / 0.9734 GB, free: 59.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005611/3.038, allocations: 0.5256 MB / 0.9739 GB, free: 59.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0391/3.077, allocations: 16.91 MB / 0.9904 GB, free: 57.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/3.089, allocations: 6.023 MB / 0.9963 GB, free: 56.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002625/3.091, allocations: 323.6 kB / 0.9966 GB, free: 56.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.158e-06/3.091, allocations: 0 / 0.9966 GB, free: 56.84 MB / 426.7 MB Notification: Performance of Templates: time 0.908/3.999, allocations: 295 MB / 1.285 GB, free: 95.85 MB / 458.7 MB