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 1.849/1.849, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.916e-05/3.94e-05, allocations: 4 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1147, allocations: 44.5 MB / 299.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.5062, allocations: 94.51 MB / 394.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.5064, allocations: 88.98 kB / 394.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.461/1.968, allocations: 308.8 MB / 0.6868 GB, free: 49.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.462e-06/1.968, allocations: 3.375 kB / 0.6868 GB, free: 49.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004869/1.968, allocations: 190 kB / 0.6869 GB, free: 49.38 MB / 410.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.03549/2.004, allocations: 8.729 MB / 0.6955 GB, free: 46.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/2.004, allocations: 11.12 kB / 0.6955 GB, free: 46.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03146/2.035, allocations: 4.192 MB / 0.6996 GB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/2.05, allocations: 5.805 MB / 0.7052 GB, free: 45.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009965/2.051, allocations: 0.6446 MB / 0.7059 GB, free: 45.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00368/2.055, allocations: 0.833 MB / 0.7067 GB, free: 45.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04159/2.097, allocations: 15.11 MB / 0.7214 GB, free: 44.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003383/2.097, allocations: 7.375 kB / 0.7214 GB, free: 44.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003238/2.1, allocations: 371.5 kB / 0.7218 GB, free: 44.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007966/2.101, allocations: 0.6065 MB / 0.7224 GB, free: 44.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03347/2.135, allocations: 13.38 MB / 0.7354 GB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09619/2.231, allocations: 44.89 MB / 0.7793 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02386/2.255, allocations: 12.17 MB / 0.7912 GB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01718/2.272, allocations: 7.179 MB / 0.7982 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/2.273, allocations: 275.8 kB / 0.7984 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/2.273, allocations: 107.5 kB / 0.7985 GB, free: 12.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.554e-05/2.273, allocations: 0 / 0.7985 GB, free: 12.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.03398/2.307, allocations: 13.08 MB / 0.8113 GB, free: 1.285 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/2.308, allocations: 147.1 kB / 0.8115 GB, free: 1.121 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.308/2.616, allocations: 1.733 MB / 0.8132 GB, free: 62.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001511/2.617, allocations: 132.2 kB / 0.8133 GB, free: 62.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/2.619, allocations: 2.709 MB / 0.8159 GB, free: 61.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003804/2.623, allocations: 2.668 MB / 0.8185 GB, free: 60.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001459/2.624, allocations: 120.1 kB / 0.8186 GB, free: 60.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009075/2.625, allocations: 0.6042 MB / 0.8192 GB, free: 59.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01192/2.637, allocations: 4.941 MB / 0.8241 GB, free: 59.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/2.65, allocations: 5.792 MB / 0.8297 GB, free: 59.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/2.663, allocations: 5.887 MB / 0.8355 GB, free: 59.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.781e-05/2.663, allocations: 3.781 kB / 0.8355 GB, free: 59.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.05654/2.719, allocations: 13.88 MB / 0.849 GB, free: 58.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/2.719, allocations: 15.69 kB / 0.849 GB, free: 58.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/2.719, allocations: 15.09 kB / 0.8491 GB, free: 58.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02123/2.741, allocations: 4.342 MB / 0.8533 GB, free: 58.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01132/2.752, allocations: 1.047 MB / 0.8543 GB, free: 58.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/2.768, allocations: 10.51 MB / 0.8646 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005568/2.774, allocations: 0.7082 MB / 0.8653 GB, free: 56.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001911/2.776, allocations: 253.7 kB / 0.8655 GB, free: 56.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 484 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,12 72,6 9,12 95} Notification: Performance of prepare postOptimizeDAE: time 0.003004/2.779, allocations: 412.5 kB / 0.8659 GB, free: 56.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002038/2.781, allocations: 388.8 kB / 0.8663 GB, free: 55.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.034/2.815, allocations: 14.67 MB / 0.8806 GB, free: 51.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02837/2.843, allocations: 13.11 MB / 0.8934 GB, free: 46.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.472e-05/2.843, allocations: 3.938 kB / 0.8934 GB, free: 46.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001264/2.844, allocations: 32.11 kB / 0.8934 GB, free: 46.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05947/2.903, allocations: 26.83 MB / 0.9196 GB, free: 31.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.668e-05/2.903, allocations: 2.531 kB / 0.9196 GB, free: 31.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005371/2.908, allocations: 0.9023 MB / 0.9205 GB, free: 31.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01139/2.92, allocations: 4.305 MB / 0.9247 GB, free: 27.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001844/2.922, allocations: 177.2 kB / 0.9249 GB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01537/2.937, allocations: 10.47 MB / 0.9351 GB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/2.937, allocations: 0 / 0.9351 GB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04874/2.986, allocations: 21.89 MB / 0.9565 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005468/2.992, allocations: 1.677 MB / 0.9581 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002143/2.994, allocations: 111.9 kB / 0.9582 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004782/2.999, allocations: 343.7 kB / 0.9586 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002428/3.001, allocations: 0.5716 MB / 0.9591 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001552/3.003, allocations: 212.8 kB / 0.9593 GB, free: 13.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003061/3.006, allocations: 1.338 MB / 0.9606 GB, free: 12.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.65e-07/3.006, allocations: 0 / 0.9606 GB, free: 12.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009551/3.015, allocations: 2.241 MB / 0.9628 GB, free: 10.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (488): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,11 73,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.002169/3.018, allocations: 364.3 kB / 0.9632 GB, free: 9.742 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2899/3.307, allocations: 12.41 MB / 0.9753 GB, free: 76.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/3.308, allocations: 3.906 kB / 0.9753 GB, free: 76.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01757/3.325, allocations: 6.462 MB / 0.9816 GB, free: 76.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005723/3.331, allocations: 0.6505 MB / 0.9822 GB, free: 76.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04318/3.374, allocations: 16.97 MB / 0.9988 GB, free: 74.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/3.385, allocations: 6.023 MB / 1.005 GB, free: 73.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00244/3.388, allocations: 327.8 kB / 1.005 GB, free: 73.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.132e-06/3.388, allocations: 0 / 1.005 GB, free: 73.5 MB / 442.7 MB Notification: Performance of Templates: time 0.6692/4.057, allocations: 294.5 MB / 1.293 GB, free: 12.01 MB / 474.7 MB