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_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 1.84/1.84, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.12e-05, allocations: 4 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07496/0.07501, allocations: 44.5 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3554/0.4305, allocations: 72.62 MB / 372.5 MB, free: 21.97 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4308, allocations: 70.02 kB / 372.5 MB, free: 21.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01065/0.4414, allocations: 2.531 MB / 375.1 MB, free: 21.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.878e-06/0.4415, allocations: 0 / 375.1 MB, free: 21.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.4415, allocations: 3.031 kB / 375.1 MB, free: 21.5 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.0005022/0.442, allocations: 414.8 kB / 375.5 MB, free: 21.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4421, allocations: 13.75 kB / 375.5 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.4421, allocations: 11.53 kB / 375.5 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.4423, allocations: 206.6 kB / 375.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.4423, allocations: 7.781 kB / 375.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.4424, allocations: 9.75 kB / 375.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.4426, allocations: 129.1 kB / 375.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.4427, allocations: 1.156 kB / 375.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.4427, allocations: 8.688 kB / 375.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.686e-06/0.4427, allocations: 2.281 kB / 375.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.4429, allocations: 53.12 kB / 375.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.4439, allocations: 0.507 MB / 376.4 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.4442, allocations: 75.7 kB / 376.5 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.4444, allocations: 56.95 kB / 376.6 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.4444, allocations: 0 / 376.6 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.4445, allocations: 35.94 kB / 376.6 MB, free: 20.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.163e-06/0.4445, allocations: 1 kB / 376.6 MB, free: 20.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004796/0.445, allocations: 113 kB / 376.7 MB, free: 20.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.466e-05/0.445, allocations: 107.9 kB / 376.8 MB, free: 20.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.4452, allocations: 146.7 kB / 377 MB, free: 20.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.4452, allocations: 30.23 kB / 377 MB, free: 20.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.4453, allocations: 189.3 kB / 377.2 MB, free: 19.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.4453, allocations: 25.22 kB / 377.2 MB, free: 19.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-06/0.4454, allocations: 0 / 377.2 MB, free: 19.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.4454, allocations: 321.7 kB / 377.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.4455, allocations: 20.75 kB / 377.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.4456, allocations: 65.06 kB / 377.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.4457, allocations: 30.08 kB / 377.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-06/0.4457, allocations: 0 / 377.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002506/0.446, allocations: 109.1 kB / 377.7 MB, free: 19.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.446, allocations: 6.875 kB / 377.7 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.279e-06/0.4461, allocations: 1 kB / 377.7 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4461, allocations: 1.062 kB / 377.7 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.4473, allocations: 155.3 kB / 377.9 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.4485, allocations: 1.387 MB / 379.3 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.4487, allocations: 27.41 kB / 379.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.4488, allocations: 10.19 kB / 379.3 MB, free: 18.14 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.503e-05/0.4488, allocations: 113.9 kB / 379.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.4489, allocations: 9.344 kB / 379.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.4493, allocations: 138.3 kB / 379.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-06/0.4494, allocations: 1.031 kB / 379.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.261e-06/0.4494, allocations: 0 / 379.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.716e-06/0.4494, allocations: 8.953 kB / 379.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007283/0.4501, allocations: 443.7 kB / 380 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4502, allocations: 0 / 380 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.4503, allocations: 15.81 kB / 380 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003645/0.4507, allocations: 57.2 kB / 380.1 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.4507, allocations: 2.906 kB / 380.1 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.4519, allocations: 1.355 MB / 381.4 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.705e-06/0.452, allocations: 1.969 kB / 381.4 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.4525, allocations: 274.2 kB / 381.7 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.4525, allocations: 90.77 kB / 381.8 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.4526, allocations: 1.188 kB / 381.8 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.4528, allocations: 21.91 kB / 381.8 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.4529, allocations: 9.531 kB / 381.8 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.4529, allocations: 8.125 kB / 381.8 MB, free: 16.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004567/0.4534, allocations: 115.3 kB / 381.9 MB, free: 31.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.4534, allocations: 0 / 381.9 MB, free: 31.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004207/0.4538, allocations: 40.66 kB / 382 MB, free: 31.98 MB / 330.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.0001587/0.454, allocations: 105.6 kB / 382.1 MB, free: 31.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008584/0.4549, allocations: 134.2 kB / 382.2 MB, free: 31.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.599e-06/0.4549, allocations: 0 / 382.2 MB, free: 31.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.4552, allocations: 148 kB / 382.4 MB, free: 31.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.4554, allocations: 7.562 kB / 382.4 MB, free: 31.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.4561, allocations: 320.6 kB / 382.7 MB, free: 31.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.4565, allocations: 0.7183 MB / 383.4 MB, free: 30.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.4565, allocations: 14.97 kB / 383.4 MB, free: 30.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.995e-06/0.4566, allocations: 0 / 383.4 MB, free: 30.84 MB / 330.7 MB Notification: Performance of Templates: time 0.004511/0.4611, allocations: 2.091 MB / 385.5 MB, free: 30.72 MB / 330.7 MB