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.822/1.822, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.624e-05, allocations: 0 / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07687/0.07692, allocations: 44.49 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.4383, allocations: 94.52 MB / 394.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4385, allocations: 91.98 kB / 394.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.424/1.863, allocations: 308.8 MB / 0.6868 GB, free: 49.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.33e-06/1.863, allocations: 0 / 0.6868 GB, free: 49.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004684/1.863, allocations: 201.9 kB / 0.687 GB, free: 49 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.03664/1.9, allocations: 8.735 MB / 0.6955 GB, free: 46.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.9, allocations: 7.031 kB / 0.6955 GB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03316/1.933, allocations: 4.192 MB / 0.6996 GB, free: 46.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/1.948, allocations: 5.805 MB / 0.7053 GB, free: 45.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009477/1.949, allocations: 0.6469 MB / 0.7059 GB, free: 45.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003455/1.953, allocations: 0.836 MB / 0.7067 GB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04005/1.993, allocations: 15 MB / 0.7214 GB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002646/1.993, allocations: 7.188 kB / 0.7214 GB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002367/1.995, allocations: 369.2 kB / 0.7217 GB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007338/1.996, allocations: 0.6098 MB / 0.7223 GB, free: 44.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03209/2.028, allocations: 13.26 MB / 0.7353 GB, free: 44.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09439/2.123, allocations: 44.89 MB / 0.7791 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02241/2.145, allocations: 12.11 MB / 0.7909 GB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01503/2.16, allocations: 7.122 MB / 0.7979 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009663/2.161, allocations: 276.2 kB / 0.7982 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/2.161, allocations: 101.8 kB / 0.7983 GB, free: 12.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.499e-05/2.161, allocations: 0 / 0.7983 GB, free: 12.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.03143/2.193, allocations: 13.08 MB / 0.811 GB, free: 1.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/2.193, allocations: 146.3 kB / 0.8112 GB, free: 1.156 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2621/2.455, allocations: 1.735 MB / 0.8129 GB, free: 62.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001583/2.457, allocations: 130.6 kB / 0.813 GB, free: 62.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001836/2.459, allocations: 2.698 MB / 0.8156 GB, free: 61.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003963/2.463, allocations: 2.674 MB / 0.8182 GB, free: 59.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/2.464, allocations: 121.5 kB / 0.8184 GB, free: 59.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008489/2.465, allocations: 0.6026 MB / 0.8189 GB, free: 59.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01187/2.477, allocations: 4.943 MB / 0.8238 GB, free: 59.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0158/2.493, allocations: 5.755 MB / 0.8294 GB, free: 58.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02334/2.516, allocations: 5.882 MB / 0.8351 GB, free: 58.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.46e-05/2.516, allocations: 7.469 kB / 0.8351 GB, free: 58.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.05264/2.569, allocations: 13.84 MB / 0.8487 GB, free: 58.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/2.569, allocations: 9.938 kB / 0.8487 GB, free: 58.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-05/2.569, allocations: 22.38 kB / 0.8487 GB, free: 58.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/2.581, allocations: 4.333 MB / 0.8529 GB, free: 58.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006367/2.587, allocations: 1.048 MB / 0.8539 GB, free: 58.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/2.604, allocations: 10.52 MB / 0.8642 GB, free: 56.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005524/2.609, allocations: 0.706 MB / 0.8649 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001853/2.611, allocations: 254.3 kB / 0.8651 GB, free: 55.77 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.00175/2.613, allocations: 418.8 kB / 0.8655 GB, free: 55.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/2.614, allocations: 388.1 kB / 0.8659 GB, free: 55.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03313/2.647, allocations: 14.68 MB / 0.8802 GB, free: 51.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02851/2.676, allocations: 13.1 MB / 0.893 GB, free: 46.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/2.676, allocations: 2.5 kB / 0.893 GB, free: 46.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001386/2.676, allocations: 33.42 kB / 0.8931 GB, free: 46.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05765/2.734, allocations: 26.82 MB / 0.9193 GB, free: 31.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.707e-05/2.734, allocations: 0 / 0.9193 GB, free: 31.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005337/2.739, allocations: 0.9031 MB / 0.9201 GB, free: 31.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/2.75, allocations: 4.301 MB / 0.9243 GB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001648/2.752, allocations: 177.1 kB / 0.9245 GB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01476/2.767, allocations: 10.46 MB / 0.9347 GB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.851e-06/2.767, allocations: 0 / 0.9347 GB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04776/2.814, allocations: 21.91 MB / 0.9561 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005431/2.82, allocations: 1.68 MB / 0.9578 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001997/2.822, allocations: 110.3 kB / 0.9579 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004713/2.827, allocations: 347 kB / 0.9582 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00233/2.829, allocations: 0.5704 MB / 0.9588 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001298/2.83, allocations: 212.9 kB / 0.959 GB, free: 13.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003001/2.833, allocations: 1.339 MB / 0.9603 GB, free: 12.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.301e-06/2.833, allocations: 0 / 0.9603 GB, free: 12.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009265/2.843, allocations: 2.238 MB / 0.9625 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.002025/2.845, allocations: 360.6 kB / 0.9628 GB, free: 9.742 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2848/3.13, allocations: 12.28 MB / 0.9748 GB, free: 77.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/3.13, allocations: 1.875 kB / 0.9748 GB, free: 77.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01719/3.147, allocations: 6.443 MB / 0.9811 GB, free: 77.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005392/3.152, allocations: 0.6531 MB / 0.9817 GB, free: 77.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04277/3.195, allocations: 16.93 MB / 0.9983 GB, free: 75.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01252/3.208, allocations: 6.027 MB / 1.004 GB, free: 74.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/3.21, allocations: 325.1 kB / 1.004 GB, free: 74.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.873e-06/3.21, allocations: 0 / 1.004 GB, free: 74.27 MB / 442.7 MB Notification: Performance of Templates: time 0.6362/3.847, allocations: 293.9 MB / 1.291 GB, free: 12.68 MB / 474.7 MB