Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.662e-05, allocations: 4 kB / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08121/0.08126, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4167, allocations: 81.06 MB / 398 MB, free: 7.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.417, allocations: 81.19 kB / 398.1 MB, free: 7.047 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03733/0.4543, allocations: 9.907 MB / 408 MB, free: 14.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.039e-06/0.4543, allocations: 0 / 408 MB, free: 14.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.4544, allocations: 4 kB / 408 MB, free: 14.84 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001375/0.4558, allocations: 0.6435 MB / 408.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4558, allocations: 8.031 kB / 408.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006501/0.4565, allocations: 82.17 kB / 408.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.457, allocations: 312.2 kB / 409 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.4571, allocations: 24.47 kB / 409 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/0.4572, allocations: 33.81 kB / 409.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.4579, allocations: 323.5 kB / 409.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4579, allocations: 0 / 409.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.458, allocations: 13.56 kB / 409.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.458, allocations: 8 kB / 409.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.4586, allocations: 222.5 kB / 409.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.4613, allocations: 1.381 MB / 411 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.4618, allocations: 159.4 kB / 411.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.462, allocations: 78.95 kB / 411.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.4631, allocations: 0.8754 MB / 412.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.4631, allocations: 45.81 kB / 412.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.543e-06/0.4632, allocations: 0 / 412.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003828/0.4636, allocations: 124.8 kB / 412.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.4636, allocations: 81.11 kB / 412.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.464, allocations: 253 kB / 412.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.4641, allocations: 33.2 kB / 412.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.4643, allocations: 244 kB / 412.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.4643, allocations: 51.11 kB / 412.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.4644, allocations: 6.75 kB / 412.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4645, allocations: 337.8 kB / 413.3 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.4647, allocations: 45.62 kB / 413.3 MB, free: 9.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.4649, allocations: 184.1 kB / 413.5 MB, free: 9.703 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.4652, allocations: 83.8 kB / 413.6 MB, free: 9.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4652, allocations: 0 / 413.6 MB, free: 9.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005811/0.4658, allocations: 257.8 kB / 413.8 MB, free: 9.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4658, allocations: 8 kB / 413.8 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4658, allocations: 4 kB / 413.8 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.4659, allocations: 11.95 kB / 413.9 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.4663, allocations: 73.95 kB / 413.9 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.4663, allocations: 11.94 kB / 413.9 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.4666, allocations: 36.5 kB / 414 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.4666, allocations: 19.47 kB / 414 MB, free: 9.277 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.4668, allocations: 124.3 kB / 414.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.756e-05/0.4669, allocations: 23.72 kB / 414.1 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.4669, allocations: 28.67 kB / 414.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.57e-06/0.467, allocations: 3.953 kB / 414.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.944e-06/0.467, allocations: 0 / 414.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.711e-06/0.467, allocations: 96 / 414.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008493/0.4679, allocations: 0.5027 MB / 414.7 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-06/0.4679, allocations: 0 / 414.7 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.4682, allocations: 39.92 kB / 414.7 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.4682, allocations: 3.953 kB / 414.7 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.4682, allocations: 11.48 kB / 414.7 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.043e-06/0.4682, allocations: 0 / 414.7 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.942e-06/0.4683, allocations: 0 / 414.7 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000517/0.4688, allocations: 389.3 kB / 415.1 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.4689, allocations: 96.81 kB / 415.2 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.469, allocations: 5.75 kB / 415.2 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.4693, allocations: 19.3 kB / 415.2 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.4693, allocations: 15.92 kB / 415.2 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4694, allocations: 7.438 kB / 415.2 MB, free: 8.051 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.4697, allocations: 189.4 kB / 415.4 MB, free: 7.898 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.76e-07/0.4697, allocations: 0 / 415.4 MB, free: 7.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005891/0.4703, allocations: 82.69 kB / 415.5 MB, free: 7.824 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002103/0.4705, allocations: 134.6 kB / 415.6 MB, free: 7.688 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003375/0.4709, allocations: 138.1 kB / 415.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.44e-06/0.4709, allocations: 448 / 415.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.471, allocations: 53.06 kB / 415.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.4714, allocations: 30.33 kB / 415.9 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.4725, allocations: 463.6 kB / 416.3 MB, free: 7.078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.473, allocations: 0.7833 MB / 417.1 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.4732, allocations: 30.06 kB / 417.1 MB, free: 6.234 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.4733, allocations: 19.44 kB / 417.1 MB, free: 6.219 MB / 330.7 MB Notification: Performance of SimCode: time 1.442e-06/0.4733, allocations: 0 / 417.1 MB, free: 6.219 MB / 330.7 MB Notification: Performance of Templates: time 0.00803/0.4813, allocations: 2.23 MB / 419.4 MB, free: 4.008 MB / 330.7 MB