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.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 1.757/1.757, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.278e-05/2.289e-05, allocations: 4 kB / 255.4 MB, free: 2.707 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07405/0.0741, allocations: 44.49 MB / 299.9 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3218/0.396, allocations: 76.79 MB / 376.7 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.3962, allocations: 76.83 kB / 376.7 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03359/0.4299, allocations: 9.669 MB / 386.4 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.108e-06/0.4299, allocations: 2.281 kB / 386.4 MB, free: 21.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.4299, allocations: 5.938 kB / 386.4 MB, free: 21.02 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001304/0.4312, allocations: 0.6344 MB / 387.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4313, allocations: 8.25 kB / 387.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.4319, allocations: 88.67 kB / 387.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.4324, allocations: 296.9 kB / 387.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.4325, allocations: 31.19 kB / 387.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.4326, allocations: 37.91 kB / 387.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.4332, allocations: 329.3 kB / 387.8 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4333, allocations: 0 / 387.8 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.4333, allocations: 15.56 kB / 387.8 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.579e-06/0.4333, allocations: 7.812 kB / 387.8 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.4339, allocations: 219.5 kB / 388.1 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.4364, allocations: 1.382 MB / 389.4 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.4368, allocations: 170.5 kB / 389.6 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.4369, allocations: 77.14 kB / 389.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008467/0.4378, allocations: 0.875 MB / 390.6 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.4378, allocations: 38.5 kB / 390.6 MB, free: 18.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.955e-06/0.4378, allocations: 0 / 390.6 MB, free: 18.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003494/0.4382, allocations: 127.3 kB / 390.7 MB, free: 18.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.4382, allocations: 81.02 kB / 390.8 MB, free: 18.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.4385, allocations: 249.2 kB / 391 MB, free: 18.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4386, allocations: 29.45 kB / 391.1 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4387, allocations: 241.5 kB / 391.3 MB, free: 18.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.4388, allocations: 45.55 kB / 391.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.4388, allocations: 7.375 kB / 391.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.4389, allocations: 338.1 kB / 391.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.439, allocations: 48.97 kB / 391.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.4392, allocations: 182.6 kB / 391.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.4394, allocations: 82.08 kB / 392 MB, free: 17.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.934e-06/0.4394, allocations: 7.938 kB / 392 MB, free: 17.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005097/0.4399, allocations: 259 kB / 392.3 MB, free: 17.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.44, allocations: 7.906 kB / 392.3 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.91e-06/0.44, allocations: 8.031 kB / 392.3 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.44, allocations: 11.81 kB / 392.3 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.4404, allocations: 74.47 kB / 392.4 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.4404, allocations: 7.844 kB / 392.4 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.4407, allocations: 41.53 kB / 392.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.4408, allocations: 11.84 kB / 392.4 MB, free: 17.48 MB / 314.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 8.363e-05/0.4409, allocations: 119.7 kB / 392.5 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.116e-05/0.441, allocations: 27.48 kB / 392.6 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.441, allocations: 27.66 kB / 392.6 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.629e-06/0.4411, allocations: 3.906 kB / 392.6 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.645e-06/0.4411, allocations: 0 / 392.6 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.427e-06/0.4411, allocations: 2.344 kB / 392.6 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007672/0.4419, allocations: 0.4931 MB / 393.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4419, allocations: 5.906 kB / 393.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.4422, allocations: 36.8 kB / 393.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.53e-06/0.4422, allocations: 3.938 kB / 393.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.4422, allocations: 3.938 kB / 393.1 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.858e-06/0.4423, allocations: 10.28 kB / 393.1 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.324e-06/0.4423, allocations: 4 kB / 393.2 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.4427, allocations: 386.9 kB / 393.5 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.4428, allocations: 99.08 kB / 393.6 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.4429, allocations: 7.531 kB / 393.6 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.4432, allocations: 10.11 kB / 393.6 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.4432, allocations: 25.44 kB / 393.7 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.4433, allocations: 3.906 kB / 393.7 MB, free: 16.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002173/0.4435, allocations: 192.7 kB / 393.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.4435, allocations: 3.938 kB / 393.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005951/0.4441, allocations: 84.84 kB / 393.9 MB, free: 16.52 MB / 314.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.0001607/0.4443, allocations: 125.1 kB / 394.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.4446, allocations: 140.2 kB / 394.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.508e-06/0.4446, allocations: 1.125 kB / 394.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.4447, allocations: 50.06 kB / 394.3 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.4451, allocations: 27.06 kB / 394.3 MB, free: 16.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009923/0.4461, allocations: 450.2 kB / 394.7 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.4464, allocations: 0.7846 MB / 395.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.4466, allocations: 27.11 kB / 395.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.4466, allocations: 21.73 kB / 395.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of SimCode: time 2.726e-06/0.4467, allocations: 0 / 395.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of Templates: time 0.007493/0.4542, allocations: 2.175 MB / 397.7 MB, free: 15.19 MB / 314.7 MB