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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/3.005e-05, allocations: 4 kB / 292.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/0.08936, allocations: 50.41 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4458, allocations: 82.61 MB / 425.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.446, allocations: 79.2 kB / 425.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03767/0.4837, allocations: 10.09 MB / 435.3 MB, free: 3.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.949e-06/0.4838, allocations: 0 / 435.3 MB, free: 3.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.4838, allocations: 8 kB / 435.3 MB, free: 3.258 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.001419/0.4852, allocations: 0.6296 MB / 436 MB, free: 2.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4853, allocations: 8.031 kB / 436 MB, free: 2.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006528/0.486, allocations: 80.48 kB / 436.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.4865, allocations: 306.1 kB / 436.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.4866, allocations: 31.72 kB / 436.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.4867, allocations: 29.94 kB / 436.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/0.4874, allocations: 327.1 kB / 436.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4874, allocations: 4 kB / 436.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.4875, allocations: 14.56 kB / 436.8 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.4875, allocations: 8 kB / 436.8 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.4881, allocations: 221.7 kB / 437 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.4909, allocations: 1.376 MB / 438.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.4913, allocations: 154.9 kB / 438.5 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.4915, allocations: 82.95 kB / 438.6 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.4926, allocations: 0.875 MB / 439.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.4927, allocations: 41.98 kB / 439.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.041e-06/0.4927, allocations: 0 / 439.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003854/0.4931, allocations: 129.9 kB / 439.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.4932, allocations: 77.11 kB / 439.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.4936, allocations: 259.2 kB / 440 MB, free: 14.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.4936, allocations: 25.7 kB / 440 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.4938, allocations: 247.2 kB / 440.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.4939, allocations: 46.48 kB / 440.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.4939, allocations: 3.438 kB / 440.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4941, allocations: 342.2 kB / 440.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.4943, allocations: 49.69 kB / 440.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.4945, allocations: 174.5 kB / 440.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.4947, allocations: 81.41 kB / 440.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.364e-06/0.4947, allocations: 4 kB / 440.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005736/0.4953, allocations: 262.8 kB / 441.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4954, allocations: 4.094 kB / 441.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.4954, allocations: 7.938 kB / 441.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4954, allocations: 8 kB / 441.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.4958, allocations: 76.03 kB / 441.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.4958, allocations: 15.92 kB / 441.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.4961, allocations: 35.12 kB / 441.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.4962, allocations: 15.5 kB / 441.3 MB, free: 13.71 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.0001185/0.4963, allocations: 123.9 kB / 441.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.535e-05/0.4964, allocations: 23.72 kB / 441.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/0.4965, allocations: 28.98 kB / 441.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4965, allocations: 0 / 441.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.4965, allocations: 11.98 kB / 441.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-06/0.4965, allocations: 0 / 441.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008842/0.4974, allocations: 0.4924 MB / 442 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-06/0.4975, allocations: 4 kB / 442 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.4978, allocations: 31.98 kB / 442 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.4978, allocations: 4 kB / 442 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.4978, allocations: 32 / 442 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.512e-06/0.4978, allocations: 8 kB / 442.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.759e-06/0.4978, allocations: 7.922 kB / 442.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.4984, allocations: 378.7 kB / 442.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.4985, allocations: 104 kB / 442.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.4986, allocations: 11.94 kB / 442.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.4989, allocations: 15.19 kB / 442.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.4989, allocations: 7.984 kB / 442.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.499, allocations: 7.375 kB / 442.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.4992, allocations: 195.9 kB / 442.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.79e-07/0.4993, allocations: 0 / 442.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005837/0.4999, allocations: 90.5 kB / 442.9 MB, free: 12.27 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.0002212/0.5001, allocations: 130.8 kB / 443 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.5005, allocations: 140 kB / 443.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.322e-06/0.5005, allocations: 0 / 443.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.5006, allocations: 48.36 kB / 443.2 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.501, allocations: 28.88 kB / 443.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.5021, allocations: 458.2 kB / 443.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.5026, allocations: 0.7794 MB / 444.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.5028, allocations: 30.06 kB / 444.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.5029, allocations: 27.42 kB / 444.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of SimCode: time 1.418e-06/0.5029, allocations: 0 / 444.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of Templates: time 0.008374/0.5113, allocations: 2.241 MB / 446.7 MB, free: 8.453 MB / 362.7 MB