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.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 1.72/1.72, allocations: 171.2 MB / 183.4 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.21e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2403, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.3568, allocations: 67.54 MB / 331.3 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3571, allocations: 63.97 kB / 331.4 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.3679, allocations: 2.565 MB / 333.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.368, allocations: 0 / 333.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.368, allocations: 4 kB / 333.9 MB, free: 3.539 MB / 282.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.0006177/0.3686, allocations: 414.1 kB / 334.4 MB, free: 3.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3687, allocations: 12.03 kB / 334.4 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.3687, allocations: 15.81 kB / 334.4 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.369, allocations: 191 kB / 334.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.369, allocations: 8 kB / 334.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.369, allocations: 11.95 kB / 334.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.3694, allocations: 128.2 kB / 334.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3694, allocations: 8 kB / 334.7 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.3694, allocations: 4 kB / 334.7 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.222e-06/0.3694, allocations: 8 kB / 334.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.3696, allocations: 52 kB / 334.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3708, allocations: 0.5108 MB / 335.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.3711, allocations: 74.69 kB / 335.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.3713, allocations: 52.78 kB / 335.4 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3713, allocations: 0 / 335.4 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3714, allocations: 42.56 kB / 335.5 MB, free: 1.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 4.061e-06/0.3714, allocations: 3.984 kB / 335.5 MB, free: 1.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005045/0.3719, allocations: 122.4 kB / 335.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.372, allocations: 102.8 kB / 335.7 MB, free: 1.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3722, allocations: 141.4 kB / 335.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3723, allocations: 25.7 kB / 335.8 MB, free: 1.414 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3724, allocations: 116.2 kB / 336 MB, free: 1.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.3724, allocations: 31.55 kB / 336 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.3724, allocations: 4 kB / 336 MB, free: 1.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3726, allocations: 326.8 kB / 336.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.3727, allocations: 20 kB / 336.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3728, allocations: 69.58 kB / 336.4 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.704e-05/0.373, allocations: 31.97 kB / 336.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-06/0.373, allocations: 0 / 336.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005063/0.3735, allocations: 146.3 kB / 336.6 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3735, allocations: 8 kB / 336.6 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.026e-06/0.3735, allocations: 0 / 336.6 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003502/0.3739, allocations: 52.81 kB / 336.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.375, allocations: 143.9 kB / 336.8 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/0.3785, allocations: 2.782 MB / 339.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.3788, allocations: 19.89 kB / 339.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3788, allocations: 4 kB / 339.6 MB, free: 13.37 MB / 298.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.379, allocations: 117.6 kB / 339.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.379, allocations: 12 kB / 339.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.3795, allocations: 135.1 kB / 339.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3795, allocations: 7.969 kB / 339.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-06/0.3796, allocations: 0 / 339.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.971e-06/0.3796, allocations: 0 / 339.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/0.3804, allocations: 444.1 kB / 340.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3805, allocations: 0 / 340.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.3806, allocations: 19.94 kB / 340.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/0.381, allocations: 48.81 kB / 340.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.381, allocations: 4.031 kB / 340.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.3827, allocations: 1.37 MB / 341.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.133e-06/0.3828, allocations: 3.938 kB / 341.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.3834, allocations: 275 kB / 342 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3835, allocations: 89.03 kB / 342.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.3835, allocations: 8 kB / 342.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.3838, allocations: 11.98 kB / 342.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.3838, allocations: 11.92 kB / 342.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.3838, allocations: 4 kB / 342.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.384, allocations: 128 kB / 342.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.384, allocations: 3.938 kB / 342.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004547/0.3845, allocations: 47.97 kB / 342.3 MB, free: 10.39 MB / 298.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 (6): * Single equations (assignments): 5 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.3847, allocations: 107.2 kB / 342.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3858, allocations: 258.6 kB / 342.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.025e-06/0.3858, allocations: 0 / 342.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.3862, allocations: 157.6 kB / 342.8 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.3864, allocations: 8 kB / 342.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3875, allocations: 293.1 kB / 343.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.388, allocations: 0.7204 MB / 343.8 MB, free: 8.789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.602e-05/0.3881, allocations: 12.41 kB / 343.8 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.3881, allocations: 11.44 kB / 343.8 MB, free: 8.762 MB / 298.7 MB Notification: Performance of SimCode: time 1.878e-06/0.3881, allocations: 0 / 343.8 MB, free: 8.762 MB / 298.7 MB Notification: Performance of Templates: time 0.008267/0.3964, allocations: 1.642 MB / 345.5 MB, free: 7.125 MB / 298.7 MB