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_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 2.154/2.154, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.626e-05, allocations: 0 / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 50.41 MB / 345 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02157/0.132, allocations: 12.81 MB / 357.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1438, allocations: 4.028 MB / 361.8 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.1472, allocations: 135.7 kB / 362 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00424/0.1515, allocations: 0.8625 MB / 362.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007589/0.1592, allocations: 1.484 MB / 364.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005391/0.1646, allocations: 1.14 MB / 365.4 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01879/0.1834, allocations: 7.692 MB / 373.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04198/0.2254, allocations: 14.84 MB / 388 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006884/0.2324, allocations: 2.837 MB / 390.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007859/0.2403, allocations: 3.204 MB / 394 MB, free: 7.723 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/0.2443, allocations: 499.7 kB / 394.5 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002187/0.2465, allocations: 279.9 kB / 394.8 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003052/0.2496, allocations: 1.362 MB / 396.1 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003344/0.253, allocations: 0.625 MB / 396.8 MB, free: 4.969 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3231/0.5761, allocations: 15.37 MB / 412.1 MB, free: 18.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5762, allocations: 0.8438 kB / 412.1 MB, free: 18.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.5762, allocations: 0.9688 kB / 412.1 MB, free: 18.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006276/0.5769, allocations: 0 / 412.1 MB, free: 18.8 MB / 330.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.0469/0.6238, allocations: 10.06 MB / 422.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.6239, allocations: 9.156 kB / 422.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05485/0.6787, allocations: 6.251 MB / 428.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0188/0.6976, allocations: 5.58 MB / 434.1 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009547/0.6986, allocations: 0.667 MB / 434.7 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004926/0.7036, allocations: 0.8766 MB / 435.6 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05189/0.7555, allocations: 14.61 MB / 450.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005571/0.7562, allocations: 7.906 kB / 450.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004821/0.761, allocations: 373.9 kB / 450.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008912/0.7619, allocations: 0.4914 MB / 451.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04784/0.8098, allocations: 13.49 MB / 464.6 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1272/0.937, allocations: 44.7 MB / 0.4973 GB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02228/0.9594, allocations: 11.7 MB / 0.5087 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009431/0.9604, allocations: 179.3 kB / 0.5089 GB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.914e-05/0.9605, allocations: 78.56 kB / 0.509 GB, free: 7.504 MB / 410.7 MB Notification: Performance of pre-optimization done (n=421): time 7.915e-06/0.9605, allocations: 0 / 0.509 GB, free: 7.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=421): time 0.04004/1.001, allocations: 10.31 MB / 0.5191 GB, free: 13.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.001, allocations: 121.1 kB / 0.5192 GB, free: 12.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00792/1.009, allocations: 2.818 MB / 0.5219 GB, free: 10.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001006/1.01, allocations: 93.69 kB / 0.522 GB, free: 9.984 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003783/1.014, allocations: 3.611 MB / 0.5255 GB, free: 6.352 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002613/1.016, allocations: 1.426 MB / 0.5269 GB, free: 4.938 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/1.017, allocations: 116 kB / 0.527 GB, free: 4.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006787/1.018, allocations: 0.5546 MB / 0.5276 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008844/1.027, allocations: 2.912 MB / 0.5304 GB, free: 1.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01127/1.038, allocations: 4.95 MB / 0.5353 GB, free: 11.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/1.05, allocations: 4.023 MB / 0.5392 GB, free: 7.496 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.46e-05/1.05, allocations: 20 kB / 0.5392 GB, free: 7.477 MB / 442.7 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.03026/1.08, allocations: 9.103 MB / 0.5481 GB, free: 14.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-05/1.08, allocations: 36 kB / 0.5481 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/1.08, allocations: 64 kB / 0.5482 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006017/1.086, allocations: 1.106 MB / 0.5493 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009978/1.096, allocations: 1.301 MB / 0.5506 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02564/1.122, allocations: 10.08 MB / 0.5604 GB, free: 2.039 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009697/1.132, allocations: 0.7433 MB / 0.5611 GB, free: 1.289 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002501/1.135, allocations: 276 kB / 0.5614 GB, free: 1.02 MB / 458.7 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.3566/1.491, allocations: 3.41 MB / 0.5647 GB, free: 147.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/1.493, allocations: 351.3 kB / 0.5651 GB, free: 147.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02311/1.516, allocations: 7.054 MB / 0.5719 GB, free: 146.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01745/1.533, allocations: 5.862 MB / 0.5777 GB, free: 144.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.187e-05/1.534, allocations: 14.69 kB / 0.5777 GB, free: 144.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001298/1.534, allocations: 22.41 kB / 0.5777 GB, free: 144.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04464/1.578, allocations: 15.12 MB / 0.5925 GB, free: 138.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.87e-05/1.578, allocations: 11.84 kB / 0.5925 GB, free: 138.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00629/1.585, allocations: 0.7588 MB / 0.5932 GB, free: 137.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005253/1.59, allocations: 1.009 MB / 0.5942 GB, free: 136.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00113/1.591, allocations: 99.5 kB / 0.5943 GB, free: 136.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02158/1.613, allocations: 9.964 MB / 0.604 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/1.613, allocations: 7.938 kB / 0.604 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02742/1.64, allocations: 11.16 MB / 0.6149 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003665/1.644, allocations: 0.9834 MB / 0.6159 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/1.646, allocations: 88.92 kB / 0.616 GB, free: 115.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005042/1.651, allocations: 268.5 kB / 0.6162 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001495/1.653, allocations: 315.4 kB / 0.6165 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007458/1.653, allocations: 128 kB / 0.6167 GB, free: 115.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005194/1.659, allocations: 2.099 MB / 0.6187 GB, free: 113.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.659, allocations: 0 / 0.6187 GB, free: 113.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01001/1.669, allocations: 2.232 MB / 0.6209 GB, free: 110.9 MB / 458.7 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.001525/1.67, allocations: 287.4 kB / 0.6212 GB, free: 110.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01961/1.69, allocations: 7.537 MB / 0.6285 GB, free: 103 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/1.69, allocations: 4 kB / 0.6285 GB, free: 103 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01045/1.7, allocations: 3.664 MB / 0.6321 GB, free: 99.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006684/1.707, allocations: 0.6791 MB / 0.6328 GB, free: 98.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0427/1.75, allocations: 18.67 MB / 0.651 GB, free: 79.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01189/1.762, allocations: 5.885 MB / 0.6567 GB, free: 73.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002665/1.765, allocations: 359.4 kB / 0.6571 GB, free: 73.61 MB / 458.7 MB Notification: Performance of SimCode: time 1.773e-06/1.765, allocations: 4 kB / 0.6571 GB, free: 73.6 MB / 458.7 MB Notification: Performance of Templates: time 0.6294/2.394, allocations: 186.1 MB / 0.8388 GB, free: 66.55 MB / 474.7 MB