Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.529e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08437/0.08441, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3352/0.4196, allocations: 79.16 MB / 396.1 MB, free: 9.012 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.4199, allocations: 72.97 kB / 396.2 MB, free: 8.977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02822/0.4481, allocations: 6.89 MB / 403 MB, free: 3.152 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.396e-06/0.4481, allocations: 0 / 403 MB, free: 3.152 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.4482, allocations: 4 kB / 403.1 MB, free: 3.148 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009749/0.4492, allocations: 0.5253 MB / 403.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4492, allocations: 8.031 kB / 403.6 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.033e-05/0.4493, allocations: 35.62 kB / 403.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.4498, allocations: 269.9 kB / 403.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.4498, allocations: 20.08 kB / 403.9 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.4499, allocations: 31.56 kB / 403.9 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.4504, allocations: 223.6 kB / 404.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4505, allocations: 0 / 404.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.4505, allocations: 14.75 kB / 404.2 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.4505, allocations: 8 kB / 404.2 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.451, allocations: 187.5 kB / 404.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.4531, allocations: 1.017 MB / 405.4 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.4536, allocations: 191.6 kB / 405.6 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.4539, allocations: 103.1 kB / 405.7 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.4539, allocations: 3.938 kB / 405.7 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.4539, allocations: 38.56 kB / 405.7 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.629e-06/0.454, allocations: 0 / 405.7 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.004838/0.4588, allocations: 1.212 MB / 406.9 MB, free: 15.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.4589, allocations: 55.41 kB / 407 MB, free: 15.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.4592, allocations: 206.7 kB / 407.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.4592, allocations: 32.58 kB / 407.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.4594, allocations: 185.4 kB / 407.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.4595, allocations: 115.6 kB / 407.5 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.4596, allocations: 10.94 kB / 407.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4598, allocations: 340.9 kB / 407.8 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.46, allocations: 99.52 kB / 407.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.4604, allocations: 150.3 kB / 408.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.4607, allocations: 121.6 kB / 408.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4607, allocations: 0 / 408.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001907/0.4626, allocations: 0.5061 MB / 408.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4626, allocations: 7.984 kB / 408.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.131e-06/0.4627, allocations: 4 kB / 408.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.4637, allocations: 185.5 kB / 408.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.4641, allocations: 59.41 kB / 409 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006263/0.4704, allocations: 3.762 MB / 412.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.4708, allocations: 11.03 kB / 412.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.4708, allocations: 11.38 kB / 412.7 MB, free: 10.43 MB / 330.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 (28): * Single equations (assignments): 26 * 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%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.471, allocations: 126.7 kB / 412.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.4711, allocations: 23.78 kB / 412.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.11e-05/0.4712, allocations: 46.16 kB / 412.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.055e-06/0.4712, allocations: 0 / 412.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.816e-06/0.4712, allocations: 4 kB / 412.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.4712, allocations: 7.938 kB / 412.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.4738, allocations: 0.9389 MB / 413.9 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4739, allocations: 4 kB / 413.9 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.4742, allocations: 39.91 kB / 413.9 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.4752, allocations: 184.7 kB / 414.1 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.4752, allocations: 15.17 kB / 414.1 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005992/0.4813, allocations: 3.744 MB / 417.9 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.937e-06/0.4813, allocations: 0 / 417.9 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.4835, allocations: 0.722 MB / 418.6 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4836, allocations: 104.8 kB / 418.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.4837, allocations: 3.5 kB / 418.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.484, allocations: 19.3 kB / 418.7 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4841, allocations: 27.58 kB / 418.7 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.4842, allocations: 15.62 kB / 418.8 MB, free: 5.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002143/0.4844, allocations: 162 kB / 418.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.33e-07/0.4844, allocations: 0 / 418.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008316/0.4852, allocations: 106.4 kB / 419 MB, free: 4.797 MB / 330.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 (18): * Single equations (assignments): 16 * 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%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002164/0.4855, allocations: 118.8 kB / 419.1 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.4866, allocations: 0.5111 MB / 419.6 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.19e-06/0.4866, allocations: 0 / 419.6 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006732/0.4873, allocations: 406 kB / 420 MB, free: 3.895 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.4876, allocations: 13.7 kB / 420.1 MB, free: 3.891 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.4888, allocations: 461.3 kB / 420.5 MB, free: 3.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.4893, allocations: 0.7879 MB / 421.3 MB, free: 2.652 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.4895, allocations: 18.06 kB / 421.3 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.4896, allocations: 19.42 kB / 421.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of SimCode: time 1.909e-06/0.4896, allocations: 4 kB / 421.3 MB, free: 2.609 MB / 330.7 MB Notification: Performance of Templates: time 0.01453/0.5041, allocations: 5.303 MB / 426.6 MB, free: 13.33 MB / 346.7 MB