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.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 2.152/2.152, allocations: 194.9 MB / 211.2 MB, free: 8.145 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.603e-05, allocations: 0 / 258.8 MB, free: 8.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3554, allocations: 44.49 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01015/0.3656, allocations: 5.806 MB / 309.1 MB, free: 7.828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007712/0.3734, allocations: 1.923 MB / 311 MB, free: 5.898 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.3752, allocations: 63.75 kB / 311.1 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.3774, allocations: 318.2 kB / 311.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004421/0.3819, allocations: 0.6423 MB / 312 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.3839, allocations: 257.3 kB / 312.3 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006022/0.3899, allocations: 1.571 MB / 313.9 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02301/0.413, allocations: 1.524 MB / 315.4 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.4157, allocations: 0.787 MB / 316.2 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.4193, allocations: 1.016 MB / 317.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02215/0.4415, allocations: 191.9 kB / 317.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007619/0.4424, allocations: 100 kB / 317.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.4435, allocations: 0.5527 MB / 318 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.4446, allocations: 232 kB / 318.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.4573, allocations: 3.697 MB / 321.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4574, allocations: 0 / 321.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.031e-06/0.4574, allocations: 3.984 kB / 322 MB, free: 10.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001519/0.4575, allocations: 0 / 322 MB, free: 10.92 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01187/0.4694, allocations: 2.945 MB / 324.9 MB, free: 7.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4695, allocations: 8.031 kB / 324.9 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006197/0.4757, allocations: 0.6913 MB / 325.6 MB, free: 7.211 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005454/0.4812, allocations: 1.624 MB / 327.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.4816, allocations: 193.3 kB / 327.4 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.4826, allocations: 267.9 kB / 327.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.4946, allocations: 3.579 MB / 331.2 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.842e-05/0.4947, allocations: 0 / 331.2 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005036/0.4952, allocations: 112 kB / 331.4 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.4954, allocations: 101.4 kB / 331.5 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.5057, allocations: 3.101 MB / 334.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/0.5346, allocations: 10.54 MB / 345.1 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008898/0.5435, allocations: 4.673 MB / 349.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006565/0.5502, allocations: 2.484 MB / 352.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.5503, allocations: 47.56 kB / 352.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=106): time 6.091e-06/0.5503, allocations: 0 / 352.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.01149/0.5618, allocations: 2.752 MB / 355.1 MB, free: 8.484 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.5619, allocations: 90.11 kB / 355.1 MB, free: 8.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.5647, allocations: 1.215 MB / 356.4 MB, free: 7.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002279/0.565, allocations: 41.7 kB / 356.4 MB, free: 7.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.5662, allocations: 1.131 MB / 357.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005409/0.5667, allocations: 362.8 kB / 357.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.5669, allocations: 23.94 kB / 357.9 MB, free: 5.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.5671, allocations: 362.8 kB / 358.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.5689, allocations: 0.5959 MB / 358.9 MB, free: 4.617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.5709, allocations: 0.8466 MB / 359.7 MB, free: 3.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.573, allocations: 0.7303 MB / 360.4 MB, free: 2.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.573, allocations: 4 kB / 360.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005572/0.5786, allocations: 1.923 MB / 362.4 MB, free: 1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.5786, allocations: 8.094 kB / 362.4 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.5787, allocations: 12 kB / 362.4 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.5803, allocations: 404.2 kB / 362.8 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.5821, allocations: 223.6 kB / 363 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.5946, allocations: 6.222 MB / 369.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.5963, allocations: 142.8 kB / 369.4 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.5965, allocations: 52.06 kB / 369.4 MB, free: 9.684 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * 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.002309/0.5988, allocations: 0.8565 MB / 370.3 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004897/0.5994, allocations: 138.3 kB / 370.4 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005279/0.6046, allocations: 1.733 MB / 372.1 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.6047, allocations: 12 kB / 372.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.6048, allocations: 4 kB / 372.1 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/0.6048, allocations: 15.97 kB / 372.2 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.6163, allocations: 4.066 MB / 376.2 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/0.6163, allocations: 4 kB / 376.2 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.6177, allocations: 143.8 kB / 376.4 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.6195, allocations: 404.2 kB / 376.8 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.6197, allocations: 35.97 kB / 376.8 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/0.632, allocations: 6.218 MB / 383 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.632, allocations: 3.984 kB / 383 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007441/0.6395, allocations: 2.669 MB / 385.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006387/0.6402, allocations: 243.2 kB / 385.9 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004398/0.6406, allocations: 31.98 kB / 386 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.6422, allocations: 103.9 kB / 386.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003645/0.6426, allocations: 92.73 kB / 386.1 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.6428, allocations: 35.92 kB / 386.2 MB, free: 8.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002268/0.645, allocations: 0.9392 MB / 387.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6451, allocations: 8 kB / 387.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002928/0.648, allocations: 0.6804 MB / 387.8 MB, free: 6.793 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 63 * 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%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005237/0.6486, allocations: 139.1 kB / 387.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005516/0.6541, allocations: 1.843 MB / 389.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.6542, allocations: 0 / 389.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003437/0.6576, allocations: 1.165 MB / 391 MB, free: 3.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.6602, allocations: 272.4 kB / 391.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.6739, allocations: 5.516 MB / 396.7 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003428/0.6774, allocations: 2.163 MB / 398.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007017/0.6782, allocations: 99.36 kB / 399 MB, free: 11.44 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6782, allocations: 0 / 399 MB, free: 11.44 MB / 346.7 MB Notification: Performance of Templates: time 0.3488/1.027, allocations: 50.52 MB / 449.5 MB, free: 91.62 MB / 362.7 MB