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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.549e-05, allocations: 4 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08892, allocations: 50.42 MB / 343.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.4442, allocations: 82.62 MB / 425.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4444, allocations: 78.08 kB / 425.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03706/0.4815, allocations: 10.08 MB / 435.9 MB, free: 3.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.374e-06/0.4816, allocations: 4 kB / 435.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.4816, allocations: 4 kB / 435.9 MB, free: 3.23 MB / 346.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.001392/0.483, allocations: 0.6327 MB / 436.5 MB, free: 2.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4831, allocations: 12.03 kB / 436.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000652/0.4837, allocations: 83.98 kB / 436.6 MB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.4843, allocations: 297.9 kB / 436.9 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.4843, allocations: 24.47 kB / 436.9 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.4844, allocations: 33.62 kB / 437 MB, free: 2.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007099/0.4851, allocations: 330.7 kB / 437.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4852, allocations: 4 kB / 437.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.4852, allocations: 11.69 kB / 437.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.4852, allocations: 8 kB / 437.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005439/0.4858, allocations: 216.7 kB / 437.5 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.4885, allocations: 1.385 MB / 438.9 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.4889, allocations: 156.2 kB / 439 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.4891, allocations: 78.02 kB / 439.1 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.4903, allocations: 0.8771 MB / 440 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4903, allocations: 34.55 kB / 440 MB, free: 15.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 4.696e-06/0.4903, allocations: 3.984 kB / 440 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003871/0.4907, allocations: 126.4 kB / 440.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.4908, allocations: 81.11 kB / 440.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.4912, allocations: 257.8 kB / 440.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.4912, allocations: 25.7 kB / 440.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.4914, allocations: 248.9 kB / 440.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.4915, allocations: 50.09 kB / 440.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.4915, allocations: 6.438 kB / 440.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4917, allocations: 337.5 kB / 441.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.4919, allocations: 50.12 kB / 441.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.4921, allocations: 173.9 kB / 441.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.4923, allocations: 90.09 kB / 441.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.476e-06/0.4924, allocations: 0 / 441.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005868/0.493, allocations: 258.7 kB / 441.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.493, allocations: 8 kB / 441.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.493, allocations: 4 kB / 441.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.493, allocations: 8 kB / 441.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.4934, allocations: 72.22 kB / 441.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.4935, allocations: 19.92 kB / 441.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.4938, allocations: 31.19 kB / 441.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.4938, allocations: 15.69 kB / 441.9 MB, free: 13.69 MB / 362.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.0001189/0.4939, allocations: 128.2 kB / 442 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-05/0.494, allocations: 27.7 kB / 442 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.4941, allocations: 19.38 kB / 442 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.927e-06/0.4941, allocations: 4 kB / 442 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.007e-06/0.4942, allocations: 7.984 kB / 442 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.205e-06/0.4942, allocations: 0 / 442 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008734/0.4951, allocations: 0.4942 MB / 442.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-06/0.4951, allocations: 0 / 442.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.4954, allocations: 35.98 kB / 442.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.374e-06/0.4954, allocations: 0 / 442.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.4954, allocations: 7 kB / 442.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.004e-06/0.4955, allocations: 4.031 kB / 442.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.916e-06/0.4955, allocations: 7.922 kB / 442.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.496, allocations: 379.7 kB / 443 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4961, allocations: 96.92 kB / 443.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.4962, allocations: 15.38 kB / 443.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.4965, allocations: 16 kB / 443.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.4966, allocations: 11.8 kB / 443.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.4966, allocations: 4 kB / 443.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002634/0.4969, allocations: 202.4 kB / 443.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.4969, allocations: 0 / 443.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000627/0.4975, allocations: 83.56 kB / 443.4 MB, free: 12.24 MB / 362.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.0002161/0.4977, allocations: 139.1 kB / 443.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003572/0.4981, allocations: 141.4 kB / 443.7 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4981, allocations: 0 / 443.7 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.4983, allocations: 47.12 kB / 443.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.4986, allocations: 24.69 kB / 443.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.4999, allocations: 452 kB / 444.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.5004, allocations: 0.7794 MB / 444.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.5006, allocations: 38.05 kB / 445 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.5007, allocations: 23.42 kB / 445 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.196e-06/0.5007, allocations: 0 / 445 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.008236/0.509, allocations: 2.237 MB / 447.2 MB, free: 8.426 MB / 362.7 MB