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 2.133/2.133, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.378e-05, allocations: 3.906 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3206, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02291/0.3436, allocations: 13.39 MB / 316.7 MB, free: 288 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.3559, allocations: 4.001 MB / 320.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.3593, allocations: 131.6 kB / 320.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004383/0.3637, allocations: 0.8626 MB / 321.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007478/0.3713, allocations: 1.402 MB / 323.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005681/0.377, allocations: 1.216 MB / 324.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01884/0.3958, allocations: 7.7 MB / 332 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04257/0.4385, allocations: 14.83 MB / 346.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007072/0.4456, allocations: 2.841 MB / 349.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007864/0.4535, allocations: 3.251 MB / 352.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.4577, allocations: 487.7 kB / 353.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002268/0.46, allocations: 279.9 kB / 353.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003091/0.4631, allocations: 1.366 MB / 355 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003272/0.4664, allocations: 0.6211 MB / 355.7 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02398/0.4904, allocations: 15.22 MB / 370.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4905, allocations: 0 / 370.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.4905, allocations: 4 kB / 370.9 MB, free: 9.918 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005309/0.4911, allocations: 3.938 kB / 370.9 MB, free: 9.914 MB / 314.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.04514/0.5362, allocations: 10.06 MB / 380.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.5363, allocations: 12.03 kB / 381 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05503/0.5913, allocations: 6.251 MB / 387.2 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/0.6085, allocations: 5.091 MB / 392.3 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/0.6097, allocations: 0.6664 MB / 393 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004274/0.614, allocations: 0.875 MB / 393.8 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05094/0.665, allocations: 14.6 MB / 408.4 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004098/0.6654, allocations: 11.91 kB / 408.5 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003404/0.6688, allocations: 372 kB / 408.8 MB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008415/0.6697, allocations: 499.2 kB / 409.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04432/0.7141, allocations: 13.49 MB / 422.8 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6413/1.355, allocations: 44.7 MB / 467.5 MB, free: 65.58 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01743/1.373, allocations: 11.68 MB / 479.2 MB, free: 53.46 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008393/1.374, allocations: 184.2 kB / 479.4 MB, free: 53.28 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.219e-05/1.374, allocations: 82.56 kB / 479.4 MB, free: 53.19 MB / 362.8 MB Notification: Performance of pre-optimization done (n=421): time 8.626e-06/1.374, allocations: 0 / 479.4 MB, free: 53.19 MB / 362.8 MB Notification: Performance of matching and sorting (n=421): time 0.04319/1.417, allocations: 10.29 MB / 489.7 MB, free: 42.7 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/1.417, allocations: 129 kB / 489.9 MB, free: 42.56 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006135/1.423, allocations: 2.817 MB / 492.7 MB, free: 39.75 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000948/1.424, allocations: 97.69 kB / 492.8 MB, free: 39.65 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003304/1.428, allocations: 3.616 MB / 496.4 MB, free: 36.02 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002495/1.43, allocations: 1.426 MB / 497.8 MB, free: 34.6 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008118/1.431, allocations: 116 kB / 497.9 MB, free: 34.49 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0005246/1.432, allocations: 0.5507 MB / 498.5 MB, free: 33.93 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01017/1.442, allocations: 2.908 MB / 0.4896 GB, free: 31.01 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01167/1.454, allocations: 4.947 MB / 0.4945 GB, free: 25.12 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/1.466, allocations: 4.032 MB / 0.4984 GB, free: 21.07 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-05/1.466, allocations: 20 kB / 0.4984 GB, free: 21.05 MB / 362.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.03318/1.499, allocations: 9.099 MB / 0.5073 GB, free: 11.91 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.449e-05/1.499, allocations: 36.03 kB / 0.5073 GB, free: 11.87 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000153/1.5, allocations: 68 kB / 0.5074 GB, free: 11.8 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007111/1.507, allocations: 1.105 MB / 0.5085 GB, free: 10.69 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00927/1.516, allocations: 1.303 MB / 0.5098 GB, free: 9.387 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02544/1.542, allocations: 10.09 MB / 0.5196 GB, free: 15.04 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/1.552, allocations: 0.7394 MB / 0.5203 GB, free: 14.29 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/1.553, allocations: 280 kB / 0.5206 GB, free: 14.02 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009855/1.563, allocations: 3.4 MB / 0.5239 GB, free: 10.6 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001517/1.565, allocations: 355.7 kB / 0.5243 GB, free: 10.25 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02333/1.588, allocations: 7.06 MB / 0.5312 GB, free: 3.125 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01795/1.606, allocations: 5.859 MB / 0.5369 GB, free: 13.22 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.108e-05/1.606, allocations: 12 kB / 0.5369 GB, free: 13.21 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001136/1.606, allocations: 19.92 kB / 0.5369 GB, free: 13.19 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04502/1.651, allocations: 15.12 MB / 0.5517 GB, free: 13.96 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.582e-05/1.651, allocations: 8 kB / 0.5517 GB, free: 13.95 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006507/1.658, allocations: 0.7606 MB / 0.5524 GB, free: 13.19 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005367/1.663, allocations: 1.02 MB / 0.5534 GB, free: 12.16 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008798/1.664, allocations: 100.2 kB / 0.5535 GB, free: 12.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02393/1.688, allocations: 9.943 MB / 0.5632 GB, free: 1.863 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-05/1.688, allocations: 11.98 kB / 0.5632 GB, free: 1.852 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03001/1.718, allocations: 11.14 MB / 0.5741 GB, free: 6.312 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003784/1.722, allocations: 0.9873 MB / 0.5751 GB, free: 5.301 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001577/1.724, allocations: 84 kB / 0.5752 GB, free: 5.219 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00473/1.728, allocations: 275.7 kB / 0.5754 GB, free: 4.949 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/1.73, allocations: 311.4 kB / 0.5757 GB, free: 4.645 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005275/1.73, allocations: 132 kB / 0.5759 GB, free: 4.516 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.005401/1.736, allocations: 2.097 MB / 0.5779 GB, free: 2.414 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.123e-06/1.736, allocations: 0 / 0.5779 GB, free: 2.414 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01046/1.746, allocations: 2.23 MB / 0.5801 GB, free: 184 kB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (401): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2799/2.026, allocations: 276.1 kB / 0.5803 GB, free: 145.8 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02047/2.047, allocations: 7.535 MB / 0.5877 GB, free: 144.8 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/2.047, allocations: 7.094 kB / 0.5877 GB, free: 144.8 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01026/2.057, allocations: 3.664 MB / 0.5913 GB, free: 143.4 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006036/2.063, allocations: 0.6854 MB / 0.592 GB, free: 143.1 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04024/2.103, allocations: 18.65 MB / 0.6102 GB, free: 132 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/2.115, allocations: 5.891 MB / 0.6159 GB, free: 127.5 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002474/2.117, allocations: 366.5 kB / 0.6163 GB, free: 127.1 MB / 426.8 MB Notification: Performance of SimCode: time 1.774e-06/2.117, allocations: 0 / 0.6163 GB, free: 127.1 MB / 426.8 MB Notification: Performance of Templates: time 0.5842/2.701, allocations: 186 MB / 0.7979 GB, free: 87.74 MB / 426.8 MB