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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.668/1.668, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.919e-05, allocations: 0 / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2125, allocations: 38.76 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.3477, allocations: 77.24 MB / 341 MB, free: 12.51 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003744/0.3481, allocations: 79.95 kB / 341.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4151/0.7632, allocations: 51.74 MB / 392.8 MB, free: 75.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.363e-06/0.7632, allocations: 0 / 392.8 MB, free: 75.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001702/0.7634, allocations: 64.52 kB / 392.9 MB, free: 75.25 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.008723/0.7722, allocations: 2.67 MB / 395.5 MB, free: 73.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7722, allocations: 7.5 kB / 395.6 MB, free: 73.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/0.7747, allocations: 413.5 kB / 396 MB, free: 73.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004266/0.779, allocations: 1.754 MB / 397.7 MB, free: 72.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.7792, allocations: 187.7 kB / 397.9 MB, free: 72.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007144/0.7799, allocations: 250 kB / 398.1 MB, free: 72.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007022/0.7869, allocations: 3.193 MB / 401.3 MB, free: 70.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-05/0.7871, allocations: 3.938 kB / 401.3 MB, free: 70.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004328/0.7875, allocations: 104 kB / 401.4 MB, free: 69.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.952e-05/0.7876, allocations: 96.95 kB / 401.5 MB, free: 69.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00694/0.7946, allocations: 2.427 MB / 404 MB, free: 67.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02224/0.8169, allocations: 9.774 MB / 413.7 MB, free: 57.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.8188, allocations: 1.441 MB / 415.2 MB, free: 55.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.82, allocations: 0.673 MB / 415.8 MB, free: 55.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.8201, allocations: 20.77 kB / 415.9 MB, free: 55.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.8201, allocations: 39.33 kB / 415.9 MB, free: 55.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 4.469e-06/0.8201, allocations: 0 / 415.9 MB, free: 55.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.002816/0.823, allocations: 1.34 MB / 417.2 MB, free: 53.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.8231, allocations: 89.48 kB / 417.3 MB, free: 53.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.8251, allocations: 1.194 MB / 418.5 MB, free: 52.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.8253, allocations: 41.7 kB / 418.6 MB, free: 52.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005419/0.8258, allocations: 1.083 MB / 419.7 MB, free: 51.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.8261, allocations: 314.6 kB / 420 MB, free: 51.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.8262, allocations: 20 kB / 420 MB, free: 51.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.8263, allocations: 350.8 kB / 420.3 MB, free: 50.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008624/0.8272, allocations: 482.4 kB / 420.8 MB, free: 50.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009483/0.8281, allocations: 0.6958 MB / 421.5 MB, free: 49.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.8292, allocations: 0.5965 MB / 422.1 MB, free: 48.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.8292, allocations: 3.938 kB / 422.1 MB, free: 48.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003204/0.8324, allocations: 1.617 MB / 423.7 MB, free: 47.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.8325, allocations: 10.03 kB / 423.7 MB, free: 47.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.8325, allocations: 7.812 kB / 423.7 MB, free: 47.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.8338, allocations: 403.4 kB / 424.1 MB, free: 46.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/0.8348, allocations: 187.7 kB / 424.3 MB, free: 46.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008176/0.8429, allocations: 6.133 MB / 430.4 MB, free: 40.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.8442, allocations: 119 kB / 430.6 MB, free: 40.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.8443, allocations: 39.98 kB / 430.6 MB, free: 40.07 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.00025/0.8446, allocations: 172.5 kB / 430.8 MB, free: 39.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.8449, allocations: 134.4 kB / 430.9 MB, free: 39.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.8453, allocations: 155.4 kB / 431 MB, free: 39.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.8453, allocations: 12 kB / 431.1 MB, free: 39.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/0.8453, allocations: 4 kB / 431.1 MB, free: 39.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.8454, allocations: 7.984 kB / 431.1 MB, free: 39.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007164/0.8525, allocations: 3.688 MB / 434.8 MB, free: 35.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.8526, allocations: 4 kB / 434.8 MB, free: 35.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.8532, allocations: 112.2 kB / 434.9 MB, free: 35.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.8544, allocations: 396.4 kB / 435.3 MB, free: 35.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.696e-05/0.8545, allocations: 31.98 kB / 435.3 MB, free: 35.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007933/0.8625, allocations: 6.053 MB / 441.3 MB, free: 28.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.324e-06/0.8625, allocations: 7.938 kB / 441.3 MB, free: 28.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/0.8663, allocations: 2.325 MB / 443.7 MB, free: 26.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008178/0.8672, allocations: 342.9 kB / 444 MB, free: 26.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.8674, allocations: 31.98 kB / 444 MB, free: 26.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009745/0.8684, allocations: 95.91 kB / 444.1 MB, free: 26.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.8687, allocations: 83.83 kB / 444.2 MB, free: 25.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.8688, allocations: 31.98 kB / 444.2 MB, free: 25.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001558/0.8703, allocations: 0.9252 MB / 445.2 MB, free: 25 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.8e-07/0.8704, allocations: 0 / 445.2 MB, free: 25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002435/0.8728, allocations: 0.6376 MB / 445.8 MB, free: 24.36 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.0003306/0.8732, allocations: 158.4 kB / 446 MB, free: 24.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002855/0.876, allocations: 1.502 MB / 447.5 MB, free: 22.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.429e-06/0.8761, allocations: 0 / 447.5 MB, free: 22.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.878, allocations: 0.9975 MB / 448.5 MB, free: 21.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.8798, allocations: 280 kB / 448.7 MB, free: 21.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007042/0.8868, allocations: 3.499 MB / 452.2 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/0.8889, allocations: 2.114 MB / 454.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.8893, allocations: 79.42 kB / 454.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.906e-06/0.8893, allocations: 4 kB / 454.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of Templates: time 0.07208/0.9614, allocations: 47.57 MB / 0.4902 GB, free: 60 kB / 346.7 MB