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.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.774/1.774, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.295e-05, allocations: 0 / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0758/0.07584, allocations: 44.51 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3418/0.4177, allocations: 83.46 MB / 383.4 MB, free: 21.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.418, allocations: 79.81 kB / 383.4 MB, free: 21.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1819/0.5999, allocations: 53.83 MB / 437.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.6, allocations: 0 / 437.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001724/0.6001, allocations: 67.94 kB / 437.3 MB, free: 2.734 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.008386/0.6085, allocations: 2.745 MB / 440.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.6086, allocations: 16.02 kB / 440.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004868/0.6135, allocations: 0.5976 MB / 440.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005358/0.6189, allocations: 1.814 MB / 442.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.6192, allocations: 201.3 kB / 442.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007528/0.62, allocations: 263.9 kB / 442.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008948/0.6289, allocations: 3.423 MB / 446.4 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.807e-05/0.629, allocations: 3.938 kB / 446.4 MB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004191/0.6295, allocations: 120 kB / 446.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.6296, allocations: 101.4 kB / 446.6 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0072/0.6368, allocations: 2.752 MB / 449.3 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02498/0.6619, allocations: 10.51 MB / 459.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007084/0.669, allocations: 4.604 MB / 464.5 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.6711, allocations: 0.8854 MB / 465.3 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005763/0.6769, allocations: 2.456 MB / 467.8 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.677, allocations: 43.44 kB / 467.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 4.76e-06/0.677, allocations: 0 / 467.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=102): time 0.003597/0.6806, allocations: 1.455 MB / 469.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.6807, allocations: 89.98 kB / 469.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.6832, allocations: 1.202 MB / 470.6 MB, free: 64 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.6834, allocations: 45.7 kB / 470.6 MB, free: 12 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.6845, allocations: 1.167 MB / 471.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.685, allocations: 354.8 kB / 472.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.923e-05/0.6851, allocations: 24 kB / 472.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.6853, allocations: 357.9 kB / 472.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.6866, allocations: 0.5336 MB / 473.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.688, allocations: 0.7951 MB / 473.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.6895, allocations: 0.6739 MB / 474.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.955e-06/0.6895, allocations: 7.938 kB / 474.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004503/0.694, allocations: 1.875 MB / 476.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.6941, allocations: 8 kB / 476.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.6942, allocations: 8 kB / 476.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.6956, allocations: 395.7 kB / 476.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.697, allocations: 223.7 kB / 477 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.7076, allocations: 6.058 MB / 483.1 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.7091, allocations: 146.8 kB / 483.2 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.7093, allocations: 52.05 kB / 483.3 MB, free: 2.941 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * 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.0003398/0.7097, allocations: 176.7 kB / 483.5 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/0.71, allocations: 130.4 kB / 483.6 MB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003995/0.714, allocations: 1.605 MB / 485.2 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/0.7141, allocations: 12 kB / 485.2 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.7141, allocations: 7.938 kB / 485.2 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.7141, allocations: 3.984 kB / 485.2 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009461/0.7236, allocations: 3.907 MB / 489.1 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.259e-06/0.7237, allocations: 4.031 kB / 489.1 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008716/0.7246, allocations: 139.8 kB / 489.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.726, allocations: 389.5 kB / 489.6 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.7262, allocations: 43.97 kB / 489.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.7367, allocations: 6.035 MB / 495.7 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.043e-06/0.7368, allocations: 4.031 kB / 495.7 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005297/0.7421, allocations: 2.491 MB / 498.2 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006268/0.7428, allocations: 239.3 kB / 498.4 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/0.7431, allocations: 31.98 kB / 498.5 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.7442, allocations: 103.8 kB / 498.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/0.7446, allocations: 92.73 kB / 498.7 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.7447, allocations: 35.98 kB / 498.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001943/0.7467, allocations: 0.9331 MB / 499.6 MB, free: 2.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.034e-06/0.7467, allocations: 0 / 499.6 MB, free: 2.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002677/0.7494, allocations: 0.6804 MB / 0.4886 GB, free: 1.406 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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.0004231/0.7498, allocations: 175 kB / 0.4888 GB, free: 1.227 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003891/0.7537, allocations: 1.67 MB / 0.4904 GB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.972e-06/0.7538, allocations: 4 kB / 0.4904 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.7562, allocations: 1.06 MB / 0.4914 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.7581, allocations: 292.4 kB / 0.4917 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008741/0.7669, allocations: 3.678 MB / 0.4953 GB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/0.7698, allocations: 2.219 MB / 0.4975 GB, free: 8.168 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001526/0.7714, allocations: 346.7 kB / 0.4978 GB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.7718, allocations: 83.42 kB / 0.4979 GB, free: 7.742 MB / 394.7 MB Notification: Performance of SimCode: time 1.647e-06/0.7718, allocations: 3.938 kB / 0.4979 GB, free: 7.738 MB / 394.7 MB Notification: Performance of Templates: time 0.2699/1.042, allocations: 19.15 MB / 0.5166 GB, free: 92.66 MB / 394.7 MB