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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 194.9 MB / 208 MB, free: 3.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.332e-05, allocations: 4 kB / 255.4 MB, free: 2.668 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07442/0.07447, allocations: 44.49 MB / 299.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/0.413, allocations: 94.52 MB / 394.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4132, allocations: 82.89 kB / 394.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.357/1.77, allocations: 308.8 MB / 0.6868 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.798e-06/1.77, allocations: 0 / 0.6868 GB, free: 49.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004456/1.77, allocations: 194.6 kB / 0.687 GB, free: 49.37 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.03493/1.805, allocations: 8.732 MB / 0.6955 GB, free: 46.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.805, allocations: 12.91 kB / 0.6955 GB, free: 46.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0347/1.84, allocations: 4.19 MB / 0.6996 GB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/1.854, allocations: 5.808 MB / 0.7053 GB, free: 45.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008804/1.855, allocations: 0.6459 MB / 0.7059 GB, free: 45.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003183/1.858, allocations: 0.832 MB / 0.7067 GB, free: 45.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03841/1.897, allocations: 15.01 MB / 0.7214 GB, free: 44.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002653/1.897, allocations: 7.688 kB / 0.7214 GB, free: 44.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00224/1.899, allocations: 368.6 kB / 0.7218 GB, free: 44.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006652/1.9, allocations: 0.6025 MB / 0.7223 GB, free: 44.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.032/1.932, allocations: 13.27 MB / 0.7353 GB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08663/2.019, allocations: 44.88 MB / 0.7791 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02199/2.041, allocations: 12.11 MB / 0.791 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01577/2.057, allocations: 7.158 MB / 0.798 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009053/2.058, allocations: 274.5 kB / 0.7982 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/2.058, allocations: 110.6 kB / 0.7983 GB, free: 12.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.49e-05/2.058, allocations: 0 / 0.7983 GB, free: 12.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.03061/2.088, allocations: 13.08 MB / 0.8111 GB, free: 1.285 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/2.089, allocations: 150 kB / 0.8112 GB, free: 1.121 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2531/2.342, allocations: 1.744 MB / 0.8129 GB, free: 62.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001484/2.343, allocations: 131.5 kB / 0.8131 GB, free: 62.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001823/2.345, allocations: 2.762 MB / 0.8158 GB, free: 61.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003651/2.349, allocations: 2.671 MB / 0.8184 GB, free: 60.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009789/2.35, allocations: 117.8 kB / 0.8185 GB, free: 60.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006601/2.35, allocations: 0.6037 MB / 0.8191 GB, free: 59.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01089/2.361, allocations: 4.94 MB / 0.8239 GB, free: 59.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01222/2.374, allocations: 5.758 MB / 0.8295 GB, free: 59.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/2.385, allocations: 5.886 MB / 0.8353 GB, free: 59.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.256e-05/2.385, allocations: 3.812 kB / 0.8353 GB, free: 59.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.03971/2.425, allocations: 13.96 MB / 0.8489 GB, free: 58.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.695e-05/2.425, allocations: 12.62 kB / 0.8489 GB, free: 58.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/2.425, allocations: 18.89 kB / 0.8489 GB, free: 58.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01816/2.443, allocations: 4.336 MB / 0.8532 GB, free: 58.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006267/2.45, allocations: 1.05 MB / 0.8542 GB, free: 58.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/2.466, allocations: 10.51 MB / 0.8645 GB, free: 56.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005239/2.471, allocations: 0.6992 MB / 0.8651 GB, free: 56.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/2.473, allocations: 255 kB / 0.8654 GB, free: 56.2 MB / 426.7 MB 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.001638/2.474, allocations: 412 kB / 0.8658 GB, free: 56.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/2.476, allocations: 393.7 kB / 0.8661 GB, free: 55.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03031/2.506, allocations: 14.68 MB / 0.8805 GB, free: 51.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02685/2.533, allocations: 13.11 MB / 0.8933 GB, free: 46.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.639e-05/2.533, allocations: 1.219 kB / 0.8933 GB, free: 46.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001174/2.533, allocations: 36.47 kB / 0.8933 GB, free: 46.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0536/2.587, allocations: 26.83 MB / 0.9195 GB, free: 31.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.397e-05/2.587, allocations: 0 / 0.9195 GB, free: 31.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005175/2.592, allocations: 0.8988 MB / 0.9204 GB, free: 31.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01043/2.603, allocations: 4.305 MB / 0.9246 GB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001322/2.604, allocations: 168.2 kB / 0.9248 GB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/2.618, allocations: 10.47 MB / 0.935 GB, free: 18.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.64e-06/2.618, allocations: 0 / 0.935 GB, free: 18.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04462/2.663, allocations: 21.91 MB / 0.9564 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005245/2.668, allocations: 1.676 MB / 0.958 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/2.67, allocations: 110.3 kB / 0.9581 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003945/2.674, allocations: 344.8 kB / 0.9584 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001795/2.676, allocations: 0.5698 MB / 0.959 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008494/2.677, allocations: 210.5 kB / 0.9592 GB, free: 13.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002725/2.679, allocations: 1.339 MB / 0.9605 GB, free: 12.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.033e-06/2.679, allocations: 6.938 kB / 0.9605 GB, free: 12.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007796/2.687, allocations: 2.239 MB / 0.9627 GB, free: 10.02 MB / 442.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.001761/2.689, allocations: 356.3 kB / 0.963 GB, free: 9.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2736/2.963, allocations: 12.3 MB / 0.9751 GB, free: 76.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/2.963, allocations: 3.219 kB / 0.9751 GB, free: 76.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01631/2.979, allocations: 6.434 MB / 0.9813 GB, free: 76.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004776/2.984, allocations: 0.6473 MB / 0.982 GB, free: 76.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03683/3.021, allocations: 17.17 MB / 0.9987 GB, free: 74.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008765/3.029, allocations: 6.205 MB / 1.005 GB, free: 73.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006282/3.036, allocations: 1.549 MB / 1.006 GB, free: 73.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/3.037, allocations: 279.9 kB / 1.007 GB, free: 73.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.659e-06/3.037, allocations: 0 / 1.007 GB, free: 73.45 MB / 442.7 MB Notification: Performance of Templates: time 0.2613/3.299, allocations: 103 MB / 1.107 GB, free: 26.96 MB / 442.7 MB