Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.696/1.696, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.894e-05, allocations: 0 / 225 MB, free: 2.836 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2235, allocations: 38.77 MB / 263.8 MB, free: 9.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3312, allocations: 70.38 MB / 334.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.3315, allocations: 75.95 kB / 334.2 MB, free: 3.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02783/0.3593, allocations: 6.676 MB / 340.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.157e-06/0.3594, allocations: 0 / 340.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.3594, allocations: 8 kB / 340.9 MB, free: 12.61 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009503/0.3604, allocations: 0.5294 MB / 341.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3604, allocations: 12.03 kB / 341.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.3605, allocations: 35.53 kB / 341.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.3609, allocations: 254.9 kB / 341.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.361, allocations: 16.56 kB / 341.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.3611, allocations: 31.95 kB / 341.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.3616, allocations: 219.8 kB / 342 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3617, allocations: 0 / 342 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.3617, allocations: 12 kB / 342 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3617, allocations: 8 kB / 342 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.3622, allocations: 177.1 kB / 342.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.3644, allocations: 0.9938 MB / 343.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.3649, allocations: 181.7 kB / 343.3 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.3652, allocations: 109.1 kB / 343.5 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.3653, allocations: 85.44 kB / 343.5 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.3654, allocations: 38.69 kB / 343.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 3.056e-06/0.3654, allocations: 0 / 343.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.006568/0.3719, allocations: 1.258 MB / 344.8 MB, free: 8.398 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.372, allocations: 55.41 kB / 344.9 MB, free: 8.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.3724, allocations: 208.9 kB / 345.1 MB, free: 8.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.3724, allocations: 29.7 kB / 345.1 MB, free: 8.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.3726, allocations: 234.7 kB / 345.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.3728, allocations: 110.4 kB / 345.5 MB, free: 7.746 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.3728, allocations: 8 kB / 345.5 MB, free: 7.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.373, allocations: 322.8 kB / 345.8 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.3733, allocations: 96 kB / 345.9 MB, free: 7.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.3736, allocations: 164.6 kB / 346 MB, free: 7.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.374, allocations: 108 kB / 346.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.324e-06/0.374, allocations: 4 kB / 346.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002487/0.3765, allocations: 0.5025 MB / 346.6 MB, free: 6.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3765, allocations: 4 kB / 346.7 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3766, allocations: 7.938 kB / 346.7 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.3781, allocations: 217.5 kB / 346.9 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.3785, allocations: 47.97 kB / 346.9 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005035/0.3835, allocations: 2.692 MB / 349.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.3839, allocations: 12.03 kB / 349.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.384, allocations: 11.98 kB / 349.6 MB, free: 3.359 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.3842, allocations: 128.9 kB / 349.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.3842, allocations: 23.72 kB / 349.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.3867, allocations: 498.2 kB / 350.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.3867, allocations: 7.953 kB / 350.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.379e-06/0.3867, allocations: 3.938 kB / 350.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3867, allocations: 0 / 350.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.39, allocations: 0.9532 MB / 351.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.896e-06/0.3901, allocations: 0 / 351.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.3904, allocations: 43.97 kB / 351.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/0.392, allocations: 217.5 kB / 351.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.3921, allocations: 11.98 kB / 351.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00502/0.3971, allocations: 2.68 MB / 354.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.3971, allocations: 4 kB / 354.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.4, allocations: 0.7184 MB / 354.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.4003, allocations: 120.8 kB / 355 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.4004, allocations: 8 kB / 355 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.4007, allocations: 15.98 kB / 355 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4008, allocations: 23.95 kB / 355.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.4009, allocations: 8 kB / 355.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.4011, allocations: 169.4 kB / 355.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.07e-06/0.4011, allocations: 0 / 355.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007086/0.4019, allocations: 95.95 kB / 355.3 MB, free: 13.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002574/0.4021, allocations: 131.2 kB / 355.5 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.4032, allocations: 409.5 kB / 355.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.53e-06/0.4032, allocations: 0 / 355.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006326/0.4039, allocations: 281.9 kB / 356.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.4042, allocations: 16.38 kB / 356.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.4055, allocations: 471.1 kB / 356.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.406, allocations: 0.7794 MB / 357.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/0.4061, allocations: 23.44 kB / 357.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.862e-06/0.4061, allocations: 0 / 357.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of Templates: time 0.01383/0.4199, allocations: 5.709 MB / 363.1 MB, free: 5.465 MB / 314.7 MB