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.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.755e-05, allocations: 4 kB / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07662/0.07667, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3186/0.3953, allocations: 72.62 MB / 372.5 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.3956, allocations: 66.83 kB / 372.6 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009927/0.4055, allocations: 2.525 MB / 375.1 MB, free: 22.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.1e-06/0.4055, allocations: 0 / 375.1 MB, free: 22.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4056, allocations: 2.281 kB / 375.1 MB, free: 22.1 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.0005163/0.4061, allocations: 415 kB / 375.5 MB, free: 21.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4062, allocations: 10.22 kB / 375.5 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.4062, allocations: 15.56 kB / 375.5 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.4064, allocations: 210.2 kB / 375.7 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.4064, allocations: 8.219 kB / 375.7 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.4065, allocations: 9.656 kB / 375.8 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.4067, allocations: 128.1 kB / 375.9 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4068, allocations: 1.062 kB / 375.9 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.4068, allocations: 5.281 kB / 375.9 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-06/0.4068, allocations: 1.406 kB / 375.9 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.407, allocations: 58.59 kB / 375.9 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009916/0.408, allocations: 0.5088 MB / 376.4 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.4083, allocations: 76.81 kB / 376.5 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.4085, allocations: 53.31 kB / 376.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.4085, allocations: 1.031 kB / 376.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.4085, allocations: 31.78 kB / 376.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 3.335e-06/0.4085, allocations: 4 kB / 376.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004613/0.409, allocations: 110.5 kB / 376.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.4091, allocations: 108.9 kB / 376.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.4092, allocations: 146.1 kB / 377 MB, free: 20.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4092, allocations: 29.64 kB / 377 MB, free: 20.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.4093, allocations: 126.3 kB / 377.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.4094, allocations: 26.2 kB / 377.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-06/0.4094, allocations: 7.312 kB / 377.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.4094, allocations: 324.7 kB / 377.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.4095, allocations: 23.31 kB / 377.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.4096, allocations: 65.34 kB / 377.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.42e-05/0.4098, allocations: 32.83 kB / 377.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.454e-06/0.4098, allocations: 0.9375 kB / 377.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002689/0.4101, allocations: 110 kB / 377.7 MB, free: 20.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4101, allocations: 5.812 kB / 377.7 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.826e-06/0.4101, allocations: 0 / 377.7 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4101, allocations: 6.406 kB / 377.7 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.4113, allocations: 149.7 kB / 377.9 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.4125, allocations: 1.392 MB / 379.2 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.4127, allocations: 21.14 kB / 379.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4127, allocations: 5.297 kB / 379.3 MB, free: 18.81 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 7.32e-05/0.4128, allocations: 117.9 kB / 379.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.4129, allocations: 19.45 kB / 379.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.4133, allocations: 129.6 kB / 379.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.4133, allocations: 1.062 kB / 379.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.4133, allocations: 1.125 kB / 379.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.633e-06/0.4133, allocations: 6.016 kB / 379.5 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007047/0.4141, allocations: 445.2 kB / 380 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4141, allocations: 1.312 kB / 380 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.4142, allocations: 17.05 kB / 380 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003431/0.4146, allocations: 53.36 kB / 380 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.4146, allocations: 7.391 kB / 380.1 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.4158, allocations: 1.357 MB / 381.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-06/0.4159, allocations: 1.312 kB / 381.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.4164, allocations: 277.7 kB / 381.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.4164, allocations: 90.31 kB / 381.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.4165, allocations: 2.344 kB / 381.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.4167, allocations: 14.83 kB / 381.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.4167, allocations: 11.97 kB / 381.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.4168, allocations: 2.219 kB / 381.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.796e-05/0.4169, allocations: 121.4 kB / 381.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.4169, allocations: 0 / 381.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000413/0.4173, allocations: 36.09 kB / 382 MB, free: 16.66 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 (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.0001286/0.4174, allocations: 110 kB / 382.1 MB, free: 16.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008203/0.4183, allocations: 133.4 kB / 382.2 MB, free: 16.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.582e-06/0.4183, allocations: 0 / 382.2 MB, free: 16.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.4186, allocations: 152.4 kB / 382.3 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.4188, allocations: 12.25 kB / 382.4 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.4194, allocations: 291.4 kB / 382.6 MB, free: 16.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.4201, allocations: 0.7138 MB / 383.4 MB, free: 31.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.573e-05/0.4202, allocations: 14.75 kB / 383.4 MB, free: 31.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.4202, allocations: 16.16 kB / 383.4 MB, free: 31.53 MB / 330.7 MB Notification: Performance of SimCode: time 1.446e-06/0.4203, allocations: 0 / 383.4 MB, free: 31.53 MB / 330.7 MB Notification: Performance of Templates: time 0.005296/0.4256, allocations: 1.425 MB / 384.8 MB, free: 31.4 MB / 330.7 MB