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.807/1.807, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.073e-05/4.058e-05, allocations: 0 / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09759/0.09768, allocations: 38.78 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01002/0.1078, allocations: 5.579 MB / 272.5 MB, free: 11.51 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005086/0.1129, allocations: 1.718 MB / 274.2 MB, free: 9.789 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.1142, allocations: 55.81 kB / 274.3 MB, free: 9.734 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.1154, allocations: 314.2 kB / 274.6 MB, free: 9.426 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.1183, allocations: 0.5762 MB / 275.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.1197, allocations: 257 kB / 275.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004235/0.124, allocations: 1.49 MB / 276.9 MB, free: 7.105 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003099/0.1271, allocations: 1.512 MB / 278.4 MB, free: 5.574 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.129, allocations: 0.7637 MB / 279.2 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.1314, allocations: 0.9616 MB / 280.1 MB, free: 3.844 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.1327, allocations: 163.8 kB / 280.3 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005062/0.1333, allocations: 96 kB / 280.4 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007668/0.134, allocations: 0.5255 MB / 280.9 MB, free: 3.062 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000838/0.1349, allocations: 220 kB / 281.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005855/0.1408, allocations: 3.6 MB / 284.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1408, allocations: 0 / 284.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.546e-06/0.1408, allocations: 0 / 284.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000151/0.141, allocations: 4 kB / 284.7 MB, free: 15.23 MB / 250.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.01156/0.1526, allocations: 2.866 MB / 287.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.1527, allocations: 8.031 kB / 287.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003969/0.1566, allocations: 0.5041 MB / 288.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004889/0.1616, allocations: 1.569 MB / 289.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.1619, allocations: 189 kB / 289.8 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008771/0.1628, allocations: 243.9 kB / 290.1 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.174, allocations: 3.339 MB / 293.4 MB, free: 6.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-05/0.1742, allocations: 0 / 293.4 MB, free: 6.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004652/0.1746, allocations: 104 kB / 293.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/0.1748, allocations: 101 kB / 293.6 MB, free: 6.137 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009445/0.1843, allocations: 2.772 MB / 296.4 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3003/0.4846, allocations: 9.777 MB / 306.2 MB, free: 23.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004825/0.4895, allocations: 1.499 MB / 307.7 MB, free: 22.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.4897, allocations: 10.89 kB / 307.7 MB, free: 22.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.4898, allocations: 45.17 kB / 307.7 MB, free: 22.36 MB / 250.7 MB Notification: Performance of pre-optimization done (n=88): time 6.031e-06/0.4898, allocations: 0 / 307.7 MB, free: 22.36 MB / 250.7 MB Notification: Performance of matching and sorting (n=88): time 0.01575/0.5056, allocations: 2.507 MB / 310.2 MB, free: 21.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.5057, allocations: 98.2 kB / 310.3 MB, free: 21.36 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/0.5088, allocations: 1.217 MB / 311.5 MB, free: 20.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002461/0.5091, allocations: 42.14 kB / 311.6 MB, free: 20.88 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000871/0.51, allocations: 1.086 MB / 312.7 MB, free: 20.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/0.5105, allocations: 309 kB / 313 MB, free: 19.81 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.5106, allocations: 20.28 kB / 313 MB, free: 19.79 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5107, allocations: 351.2 kB / 313.3 MB, free: 19.46 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.5124, allocations: 0.5205 MB / 313.9 MB, free: 19.2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.5142, allocations: 0.7593 MB / 314.6 MB, free: 18.63 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.5161, allocations: 0.6432 MB / 315.3 MB, free: 18.3 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/0.5162, allocations: 1.938 kB / 315.3 MB, free: 18.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005014/0.5212, allocations: 1.73 MB / 317 MB, free: 17.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.5213, allocations: 17.33 kB / 317 MB, free: 17.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.5213, allocations: 7.922 kB / 317 MB, free: 17.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.5229, allocations: 403.2 kB / 317.4 MB, free: 17.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.5244, allocations: 185 kB / 317.6 MB, free: 17.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.535, allocations: 6.28 MB / 323.9 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.5366, allocations: 131.9 kB / 324 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.5367, allocations: 38 kB / 324 MB, free: 12.16 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 85 * 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.001842/0.5386, allocations: 0.8353 MB / 324.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.539, allocations: 136.5 kB / 325 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.5394, allocations: 159.6 kB / 325.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.5394, allocations: 7.375 kB / 325.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.007e-05/0.5394, allocations: 7.438 kB / 325.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.5395, allocations: 8.859 kB / 325.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00922/0.5487, allocations: 3.752 MB / 328.9 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.5488, allocations: 0 / 328.9 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009004/0.5497, allocations: 112 kB / 329 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/0.5513, allocations: 394.4 kB / 329.4 MB, free: 7.594 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.5515, allocations: 39.92 kB / 329.5 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009977/0.5615, allocations: 6.24 MB / 335.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.5615, allocations: 4.031 kB / 335.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005889/0.5674, allocations: 2.387 MB / 338.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.5685, allocations: 335.4 kB / 338.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000312/0.5688, allocations: 31.98 kB / 338.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.5701, allocations: 91.91 kB / 338.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/0.5705, allocations: 103.4 kB / 338.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-05/0.5706, allocations: 23.98 kB / 338.7 MB, free: 14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002156/0.5727, allocations: 0.949 MB / 339.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.5728, allocations: 0 / 339.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002504/0.5753, allocations: 0.6299 MB / 340.3 MB, free: 12.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 45 * 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.0003599/0.5757, allocations: 136.8 kB / 340.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.004681/0.5804, allocations: 1.648 MB / 342 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.5804, allocations: 4 kB / 342 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003053/0.5835, allocations: 1.054 MB / 343.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.586, allocations: 281.1 kB / 343.4 MB, free: 9.254 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.5983, allocations: 5.239 MB / 348.6 MB, free: 3.961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/0.601, allocations: 2.118 MB / 350.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/0.6017, allocations: 75.42 kB / 350.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6017, allocations: 0 / 350.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of Templates: time 0.09668/0.6984, allocations: 47.83 MB / 398.6 MB, free: 1.875 MB / 314.7 MB