Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.749/1.749, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.593e-05, allocations: 0 / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2147, allocations: 38.77 MB / 263.8 MB, free: 9.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.3695, allocations: 77.24 MB / 341 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.3698, allocations: 75.95 kB / 341.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3661/0.736, allocations: 51.75 MB / 392.9 MB, free: 74.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.177e-06/0.736, allocations: 0 / 392.9 MB, free: 74.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001719/0.7362, allocations: 65.11 kB / 392.9 MB, free: 74.64 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.008401/0.7446, allocations: 2.67 MB / 395.6 MB, free: 73.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.7447, allocations: 6.156 kB / 395.6 MB, free: 73.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.747, allocations: 421.1 kB / 396 MB, free: 73.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004302/0.7514, allocations: 1.746 MB / 397.7 MB, free: 72.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.7516, allocations: 185 kB / 397.9 MB, free: 72.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000756/0.7524, allocations: 255.3 kB / 398.2 MB, free: 72.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007435/0.7598, allocations: 3.189 MB / 401.4 MB, free: 69.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.565e-05/0.7599, allocations: 4 kB / 401.4 MB, free: 69.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003889/0.7603, allocations: 104 kB / 401.5 MB, free: 69.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.7605, allocations: 100.9 kB / 401.6 MB, free: 69.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005822/0.7663, allocations: 2.433 MB / 404 MB, free: 67.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01931/0.7856, allocations: 9.764 MB / 413.8 MB, free: 57.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.7876, allocations: 1.438 MB / 415.2 MB, free: 55.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.7888, allocations: 0.676 MB / 415.9 MB, free: 55.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.944e-05/0.7889, allocations: 8.766 kB / 415.9 MB, free: 55.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.7889, allocations: 47.33 kB / 415.9 MB, free: 54.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 4.36e-06/0.7889, allocations: 4 kB / 415.9 MB, free: 54.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.002744/0.7917, allocations: 1.325 MB / 417.3 MB, free: 53.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.7917, allocations: 93.42 kB / 417.4 MB, free: 53.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.7938, allocations: 1.19 MB / 418.5 MB, free: 52.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.7939, allocations: 41.7 kB / 418.6 MB, free: 52.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/0.7946, allocations: 1.121 MB / 419.7 MB, free: 51.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/0.7949, allocations: 305.8 kB / 420 MB, free: 50.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.7949, allocations: 24 kB / 420 MB, free: 50.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.795, allocations: 349.9 kB / 420.4 MB, free: 50.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008309/0.7959, allocations: 478.4 kB / 420.8 MB, free: 50 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009272/0.7968, allocations: 0.6919 MB / 421.5 MB, free: 49.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.7978, allocations: 0.6004 MB / 422.1 MB, free: 48.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.674e-06/0.7979, allocations: 7.938 kB / 422.1 MB, free: 48.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003232/0.8011, allocations: 1.69 MB / 423.8 MB, free: 46.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.8012, allocations: 10.38 kB / 423.8 MB, free: 46.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.8012, allocations: 12 kB / 423.8 MB, free: 46.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.8024, allocations: 407.1 kB / 424.2 MB, free: 46.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008761/0.8033, allocations: 179.7 kB / 424.4 MB, free: 46.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007938/0.8113, allocations: 6.148 MB / 430.6 MB, free: 39.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.8125, allocations: 127 kB / 430.7 MB, free: 39.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.8127, allocations: 39.98 kB / 430.7 MB, free: 39.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.8129, allocations: 172.5 kB / 430.9 MB, free: 39.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.8132, allocations: 130.4 kB / 431 MB, free: 39.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.8136, allocations: 159.4 kB / 431.2 MB, free: 39.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.8137, allocations: 8 kB / 431.2 MB, free: 39.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.8137, allocations: 8 kB / 431.2 MB, free: 39.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.8137, allocations: 7.984 kB / 431.2 MB, free: 39.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006973/0.8207, allocations: 3.69 MB / 434.9 MB, free: 35.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.8207, allocations: 0 / 434.9 MB, free: 35.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.8213, allocations: 111.9 kB / 435 MB, free: 35.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.8226, allocations: 393.3 kB / 435.4 MB, free: 34.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.8227, allocations: 31.98 kB / 435.4 MB, free: 34.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007768/0.8305, allocations: 6.056 MB / 441.5 MB, free: 28.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.658e-06/0.8305, allocations: 4 kB / 441.5 MB, free: 28.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/0.8342, allocations: 2.326 MB / 443.8 MB, free: 26.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007739/0.835, allocations: 343.2 kB / 444.1 MB, free: 25.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.8353, allocations: 31.98 kB / 444.2 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009576/0.8362, allocations: 95.91 kB / 444.3 MB, free: 25.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.8365, allocations: 87.77 kB / 444.4 MB, free: 25.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.604e-05/0.8366, allocations: 27.98 kB / 444.4 MB, free: 25.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001533/0.8381, allocations: 0.9291 MB / 445.3 MB, free: 24.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.86e-07/0.8381, allocations: 0 / 445.3 MB, free: 24.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002109/0.8403, allocations: 0.6299 MB / 445.9 MB, free: 24.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002707/0.8406, allocations: 159.9 kB / 446.1 MB, free: 23.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002716/0.8433, allocations: 1.495 MB / 447.6 MB, free: 22.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.148e-06/0.8433, allocations: 4 kB / 447.6 MB, free: 22.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.8451, allocations: 1.001 MB / 448.6 MB, free: 21.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.8468, allocations: 281 kB / 448.9 MB, free: 21.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006919/0.8538, allocations: 3.515 MB / 452.4 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/0.8559, allocations: 2.17 MB / 454.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001094/0.857, allocations: 277.4 kB / 454.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.8573, allocations: 75.42 kB / 454.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.843e-06/0.8573, allocations: 0 / 454.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of Templates: time 0.04776/0.9051, allocations: 18.12 MB / 473 MB, free: 12.93 MB / 330.7 MB