Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 2.133/2.133, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.609e-05/4.625e-05, allocations: 6.812 kB / 292.7 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09132/0.09139, allocations: 50.42 MB / 343.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4471, allocations: 78.54 MB / 421.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.4473, allocations: 70.59 kB / 421.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01405/0.4614, allocations: 3.235 MB / 424.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.328e-06/0.4614, allocations: 4 kB / 424.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.718e-06/0.4615, allocations: 0 / 424.9 MB, free: 12.82 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007403/0.4622, allocations: 437.8 kB / 425.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4623, allocations: 8.031 kB / 425.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.4623, allocations: 11.91 kB / 425.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.4626, allocations: 186.9 kB / 425.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.4626, allocations: 11.69 kB / 425.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.4627, allocations: 11.94 kB / 425.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.463, allocations: 134.5 kB / 425.7 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.463, allocations: 4 kB / 425.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.463, allocations: 7.703 kB / 425.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.058e-06/0.4631, allocations: 4 kB / 425.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.4633, allocations: 65.17 kB / 425.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.4645, allocations: 0.5168 MB / 426.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.4647, allocations: 75.5 kB / 426.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.4649, allocations: 58.72 kB / 426.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4649, allocations: 4.359 kB / 426.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.4649, allocations: 30.56 kB / 426.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.873e-06/0.465, allocations: 7.938 kB / 426.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002794/0.4653, allocations: 84.02 kB / 426.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.4654, allocations: 114.8 kB / 426.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.4655, allocations: 136.1 kB / 426.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.4656, allocations: 29.52 kB / 426.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4657, allocations: 125.1 kB / 427 MB, free: 10.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.4658, allocations: 22.53 kB / 427 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.962e-06/0.4658, allocations: 0 / 427 MB, free: 10.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.466, allocations: 326.1 kB / 427.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.466, allocations: 18.75 kB / 427.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.4662, allocations: 75.7 kB / 427.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.4663, allocations: 33.61 kB / 427.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-06/0.4663, allocations: 0 / 427.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002992/0.4666, allocations: 114.9 kB / 427.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4667, allocations: 11.98 kB / 427.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.947e-06/0.4667, allocations: 4.094 kB / 427.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4667, allocations: 0 / 427.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.4675, allocations: 79.92 kB / 427.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.4692, allocations: 1.38 MB / 429 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.4695, allocations: 28.11 kB / 429 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.4695, allocations: 11 kB / 429.1 MB, free: 8.645 MB / 346.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.0001285/0.4696, allocations: 112.1 kB / 429.2 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.4697, allocations: 7.906 kB / 429.2 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.4701, allocations: 129.8 kB / 429.3 MB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.361e-06/0.4702, allocations: 3.953 kB / 429.3 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.311e-06/0.4702, allocations: 4 kB / 429.3 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.092e-06/0.4702, allocations: 4 kB / 429.3 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.471, allocations: 437.5 kB / 429.7 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.053e-06/0.4711, allocations: 0 / 429.7 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.4713, allocations: 23.98 kB / 429.8 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/0.4716, allocations: 42.22 kB / 429.8 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.4716, allocations: 7.938 kB / 429.8 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.4731, allocations: 1.289 MB / 431.1 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3e-06/0.4731, allocations: 0 / 431.1 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.4737, allocations: 274.3 kB / 431.4 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.4738, allocations: 92.97 kB / 431.5 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.4738, allocations: 0 / 431.5 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.474, allocations: 23.17 kB / 431.5 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.4741, allocations: 7.984 kB / 431.5 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.4741, allocations: 4.062 kB / 431.5 MB, free: 6.113 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.4743, allocations: 124.1 kB / 431.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.4743, allocations: 0 / 431.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004284/0.4747, allocations: 42.98 kB / 431.7 MB, free: 5.969 MB / 346.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.0001678/0.4749, allocations: 103.2 kB / 431.8 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007195/0.4756, allocations: 119.6 kB / 431.9 MB, free: 5.762 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.789e-06/0.4757, allocations: 0 / 431.9 MB, free: 5.762 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.476, allocations: 147.5 kB / 432 MB, free: 5.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.4762, allocations: 7.812 kB / 432 MB, free: 5.617 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.4778, allocations: 425.9 kB / 432.4 MB, free: 5.188 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.4783, allocations: 0.7199 MB / 433.2 MB, free: 4.441 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.28e-05/0.4784, allocations: 8.562 kB / 433.2 MB, free: 4.434 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.4785, allocations: 18.36 kB / 433.2 MB, free: 4.418 MB / 346.7 MB Notification: Performance of SimCode: time 1.678e-06/0.4785, allocations: 3.938 kB / 433.2 MB, free: 4.414 MB / 346.7 MB Notification: Performance of Templates: time 0.005518/0.484, allocations: 1.432 MB / 434.6 MB, free: 3 MB / 346.7 MB