Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.911e-05, allocations: 0 / 269.4 MB, free: 6.414 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08387/0.08392, allocations: 47.58 MB / 316.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3376/0.4216, allocations: 76.87 MB / 393.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.4218, allocations: 74.53 kB / 393.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0133/0.4352, allocations: 3.11 MB / 397 MB, free: 8.527 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4352, allocations: 0 / 397 MB, free: 8.527 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.969e-06/0.4352, allocations: 0 / 397 MB, free: 8.527 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007142/0.4359, allocations: 441 kB / 397.4 MB, free: 8.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.436, allocations: 11.97 kB / 397.4 MB, free: 8.051 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.4361, allocations: 15.81 kB / 397.4 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.4363, allocations: 186.5 kB / 397.6 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4363, allocations: 7.953 kB / 397.6 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.4364, allocations: 11.47 kB / 397.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.4367, allocations: 138.1 kB / 397.8 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4367, allocations: 4 kB / 397.8 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.4367, allocations: 3.5 kB / 397.8 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4368, allocations: 4 kB / 397.8 MB, free: 7.676 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.437, allocations: 66.84 kB / 397.9 MB, free: 7.633 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.4382, allocations: 0.5076 MB / 398.4 MB, free: 7.145 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.4384, allocations: 81.67 kB / 398.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.4386, allocations: 50.86 kB / 398.5 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.4386, allocations: 0 / 398.5 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.4386, allocations: 42.52 kB / 398.5 MB, free: 6.988 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.17e-06/0.4386, allocations: 0 / 398.5 MB, free: 6.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002868/0.439, allocations: 83.95 kB / 398.6 MB, free: 6.914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.439, allocations: 102.8 kB / 398.7 MB, free: 6.789 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.4392, allocations: 145.7 kB / 398.9 MB, free: 6.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.4393, allocations: 25.7 kB / 398.9 MB, free: 6.629 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/0.4394, allocations: 122.7 kB / 399 MB, free: 6.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.4394, allocations: 23.16 kB / 399 MB, free: 6.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.962e-06/0.4394, allocations: 4 kB / 399 MB, free: 6.496 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4396, allocations: 325 kB / 399.3 MB, free: 6.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.4397, allocations: 22.16 kB / 399.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.4399, allocations: 75.27 kB / 399.4 MB, free: 6.086 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.44, allocations: 40.91 kB / 399.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-06/0.44, allocations: 4 kB / 399.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002948/0.4403, allocations: 115.6 kB / 399.6 MB, free: 5.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4403, allocations: 7.984 kB / 399.6 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.796e-06/0.4404, allocations: 3.953 kB / 399.6 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4404, allocations: 4 kB / 399.6 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/0.4411, allocations: 91.17 kB / 399.7 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.4428, allocations: 1.376 MB / 401.1 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.4431, allocations: 27.86 kB / 401.1 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.4431, allocations: 3.938 kB / 401.1 MB, free: 4.352 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.4433, allocations: 108.4 kB / 401.2 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.4433, allocations: 16.03 kB / 401.2 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000419/0.4438, allocations: 135.6 kB / 401.4 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.959e-06/0.4438, allocations: 4 kB / 401.4 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-06/0.4438, allocations: 0 / 401.4 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.909e-06/0.4438, allocations: 0 / 401.4 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.4447, allocations: 438.9 kB / 401.8 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4447, allocations: 3.938 kB / 401.8 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.4449, allocations: 23.98 kB / 401.8 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002938/0.4452, allocations: 40.19 kB / 401.9 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4453, allocations: 48 / 401.9 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.4467, allocations: 1.295 MB / 403.2 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.691e-06/0.4468, allocations: 160 / 403.2 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.4473, allocations: 268.1 kB / 403.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.4475, allocations: 92.97 kB / 403.5 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.4475, allocations: 0 / 403.5 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.4478, allocations: 27.69 kB / 403.5 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.4478, allocations: 7.984 kB / 403.5 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4478, allocations: 8 kB / 403.6 MB, free: 1.816 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.448, allocations: 116.1 kB / 403.7 MB, free: 1.715 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.109e-06/0.448, allocations: 0 / 403.7 MB, free: 1.715 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004366/0.4485, allocations: 43.09 kB / 403.7 MB, free: 1.676 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001737/0.4486, allocations: 103.2 kB / 403.8 MB, free: 1.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.4494, allocations: 125.6 kB / 403.9 MB, free: 1.461 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.528e-06/0.4494, allocations: 0 / 403.9 MB, free: 1.461 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.4497, allocations: 139.9 kB / 404.1 MB, free: 1.324 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.4499, allocations: 13.56 kB / 404.1 MB, free: 1.316 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.4516, allocations: 429.5 kB / 404.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.452, allocations: 0.7199 MB / 405.2 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.062e-05/0.4521, allocations: 12.56 kB / 405.2 MB, free: 132 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.4521, allocations: 19.05 kB / 405.2 MB, free: 116 kB / 314.7 MB Notification: Performance of SimCode: time 1.566e-06/0.4522, allocations: 0 / 405.2 MB, free: 116 kB / 314.7 MB Notification: Performance of Templates: time 0.005585/0.4577, allocations: 1.44 MB / 406.7 MB, free: 14.68 MB / 330.7 MB