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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 224.7 MB / 241.1 MB, free: 1.652 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.651e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 50.43 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01013/0.1211, allocations: 5.685 MB / 350.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005779/0.127, allocations: 1.932 MB / 352.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.1283, allocations: 63.81 kB / 352.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.1297, allocations: 322.1 kB / 353 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.133, allocations: 0.6579 MB / 353.6 MB, free: 252 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1344, allocations: 246.6 kB / 353.9 MB, free: 8 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004327/0.1387, allocations: 1.567 MB / 355.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003151/0.1419, allocations: 1.552 MB / 357 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.1437, allocations: 0.7909 MB / 357.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.1461, allocations: 1.012 MB / 358.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.1474, allocations: 195.8 kB / 359 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004534/0.1479, allocations: 96 kB / 359.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000805/0.1487, allocations: 0.5488 MB / 359.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008814/0.1496, allocations: 232 kB / 359.9 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006146/0.1558, allocations: 3.728 MB / 363.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1558, allocations: 4 kB / 363.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1559, allocations: 0 / 363.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001782/0.156, allocations: 0 / 363.6 MB, free: 6.25 MB / 298.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.01198/0.168, allocations: 2.948 MB / 366.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1681, allocations: 12.03 kB / 366.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006185/0.1743, allocations: 0.6951 MB / 367.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005447/0.1798, allocations: 1.705 MB / 369 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/0.1802, allocations: 197.3 kB / 369.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.1813, allocations: 259.9 kB / 369.4 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.1927, allocations: 3.583 MB / 373 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-05/0.1928, allocations: 0 / 373 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004591/0.1933, allocations: 108 kB / 373.1 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.1934, allocations: 109.4 kB / 373.2 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009861/0.2033, allocations: 3.097 MB / 376.3 MB, free: 9.359 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02854/0.2319, allocations: 10.41 MB / 386.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008468/0.2404, allocations: 4.565 MB / 391.3 MB, free: 9.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006638/0.2471, allocations: 2.425 MB / 393.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.2472, allocations: 47.56 kB / 393.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=106): time 4.429e-06/0.2472, allocations: 0 / 393.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.01167/0.2589, allocations: 2.717 MB / 396.5 MB, free: 4.055 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.259, allocations: 86.11 kB / 396.5 MB, free: 3.953 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.2619, allocations: 1.215 MB / 397.8 MB, free: 2.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002384/0.2621, allocations: 49.7 kB / 397.8 MB, free: 2.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.2632, allocations: 1.127 MB / 398.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005219/0.2638, allocations: 358.8 kB / 399.3 MB, free: 1.176 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.2639, allocations: 28 kB / 399.3 MB, free: 1.148 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2641, allocations: 358.8 kB / 399.7 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.2659, allocations: 0.5803 MB / 400.2 MB, free: 216 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2824/0.5483, allocations: 0.8297 MB / 401.1 MB, free: 48.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/0.5507, allocations: 0.7188 MB / 401.8 MB, free: 48.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.5507, allocations: 2.25 kB / 401.8 MB, free: 48.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005778/0.5565, allocations: 1.89 MB / 403.7 MB, free: 47.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.5566, allocations: 8.656 kB / 403.7 MB, free: 47.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.5566, allocations: 7.594 kB / 403.7 MB, free: 47.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.5583, allocations: 394.2 kB / 404.1 MB, free: 47.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.5601, allocations: 222.5 kB / 404.3 MB, free: 47.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.5713, allocations: 6.119 MB / 410.4 MB, free: 43.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.573, allocations: 148.4 kB / 410.6 MB, free: 43.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.5732, allocations: 45.55 kB / 410.6 MB, free: 43.41 MB / 330.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.002152/0.5754, allocations: 0.869 MB / 411.5 MB, free: 42.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.5758, allocations: 133.7 kB / 411.6 MB, free: 42.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005026/0.5808, allocations: 1.71 MB / 413.3 MB, free: 42.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.5809, allocations: 10.22 kB / 413.3 MB, free: 42.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.5809, allocations: 15.16 kB / 413.3 MB, free: 42.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.581, allocations: 7.547 kB / 413.3 MB, free: 42.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009498/0.5905, allocations: 3.991 MB / 417.3 MB, free: 40.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.5905, allocations: 3.938 kB / 417.3 MB, free: 40.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.5917, allocations: 140.7 kB / 417.5 MB, free: 40.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.5932, allocations: 395.1 kB / 417.9 MB, free: 40.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.5933, allocations: 28.95 kB / 417.9 MB, free: 40.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.6034, allocations: 6.112 MB / 424 MB, free: 36.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6035, allocations: 4.062 kB / 424 MB, free: 36.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/0.6094, allocations: 2.628 MB / 426.6 MB, free: 34.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.6099, allocations: 243.2 kB / 426.9 MB, free: 34.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/0.6102, allocations: 27.98 kB / 426.9 MB, free: 34.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.6115, allocations: 101.1 kB / 427 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/0.6118, allocations: 92.67 kB / 427.1 MB, free: 34.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.612, allocations: 35.98 kB / 427.1 MB, free: 34.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001706/0.6137, allocations: 0.947 MB / 428.1 MB, free: 33.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6137, allocations: 0 / 428.1 MB, free: 33.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002138/0.6158, allocations: 0.6688 MB / 428.7 MB, free: 32.43 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,loss_m.Phi.re,loss_m.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.0003314/0.6162, allocations: 158 kB / 428.9 MB, free: 32.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004306/0.6205, allocations: 1.812 MB / 430.7 MB, free: 30.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6205, allocations: 4.188 kB / 430.7 MB, free: 30.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002575/0.6231, allocations: 1.153 MB / 431.9 MB, free: 29.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.6251, allocations: 279.7 kB / 432.1 MB, free: 28.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009287/0.6344, allocations: 5.515 MB / 437.7 MB, free: 23.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.6364, allocations: 2.159 MB / 439.8 MB, free: 21.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006197/0.6371, allocations: 95.41 kB / 439.9 MB, free: 21.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6371, allocations: 0 / 439.9 MB, free: 21.12 MB / 330.7 MB Notification: Performance of Templates: time 0.09276/0.7298, allocations: 50.5 MB / 490.4 MB, free: 2.633 MB / 362.7 MB