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_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 171.1 MB / 186.3 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.362e-05, allocations: 6.188 kB / 228.1 MB, free: 7.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08355, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002705/0.08631, allocations: 1.608 MB / 268.5 MB, free: 15.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.08738, allocations: 467.6 kB / 269 MB, free: 15.03 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.08747, allocations: 4 kB / 269 MB, free: 15.03 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.954e-05/0.08753, allocations: 15.84 kB / 269 MB, free: 15.01 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.0877, allocations: 39.91 kB / 269 MB, free: 14.97 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.08809, allocations: 63.88 kB / 269.1 MB, free: 14.91 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.08828, allocations: 91.75 kB / 269.2 MB, free: 14.82 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.08842, allocations: 23.98 kB / 269.2 MB, free: 14.8 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.0886, allocations: 63.83 kB / 269.3 MB, free: 14.73 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.08875, allocations: 55.81 kB / 269.3 MB, free: 14.68 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-05/0.0888, allocations: 4 kB / 269.3 MB, free: 14.68 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.08884, allocations: 11.94 kB / 269.3 MB, free: 14.66 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.08889, allocations: 23.91 kB / 269.3 MB, free: 14.64 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.08894, allocations: 12 kB / 269.4 MB, free: 14.63 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.08914, allocations: 119.9 kB / 269.5 MB, free: 14.51 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.08916, allocations: 0 / 269.5 MB, free: 14.51 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.08917, allocations: 0 / 269.5 MB, free: 14.51 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.08919, allocations: 0 / 269.5 MB, free: 14.51 MB / 234.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.000776/0.08998, allocations: 415 kB / 269.9 MB, free: 14.06 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.09003, allocations: 8.031 kB / 269.9 MB, free: 14.05 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.09011, allocations: 15.81 kB / 269.9 MB, free: 14.04 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.09039, allocations: 198.8 kB / 270.1 MB, free: 13.8 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.09044, allocations: 11.95 kB / 270.1 MB, free: 13.79 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.09049, allocations: 12 kB / 270.1 MB, free: 13.78 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.09091, allocations: 140.1 kB / 270.3 MB, free: 13.62 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.09094, allocations: 0 / 270.3 MB, free: 13.62 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.09098, allocations: 4 kB / 270.3 MB, free: 13.62 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.09099, allocations: 4 kB / 270.3 MB, free: 13.62 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.0913, allocations: 79.75 kB / 270.3 MB, free: 13.54 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.09265, allocations: 0.5032 MB / 270.8 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.09305, allocations: 86.67 kB / 270.9 MB, free: 12.88 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.09309, allocations: 0 / 270.9 MB, free: 12.88 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.09313, allocations: 42.45 kB / 271 MB, free: 12.83 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 3.126e-06/0.09315, allocations: 3.984 kB / 271 MB, free: 12.83 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.001105/0.09426, allocations: 251.5 kB / 271.2 MB, free: 12.55 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.09435, allocations: 106.8 kB / 271.3 MB, free: 12.43 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.09455, allocations: 141.4 kB / 271.5 MB, free: 12.28 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.09459, allocations: 33.7 kB / 271.5 MB, free: 12.24 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.09472, allocations: 182.7 kB / 271.7 MB, free: 12.06 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.09476, allocations: 31.55 kB / 271.7 MB, free: 12.03 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.09479, allocations: 0 / 271.7 MB, free: 12.03 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.09492, allocations: 322.8 kB / 272 MB, free: 11.7 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.09506, allocations: 27.98 kB / 272.1 MB, free: 11.68 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.09526, allocations: 72.22 kB / 272.1 MB, free: 11.59 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.09543, allocations: 39.98 kB / 272.2 MB, free: 11.55 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.09545, allocations: 0 / 272.2 MB, free: 11.55 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006961/0.09615, allocations: 158.4 kB / 272.3 MB, free: 11.39 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.09619, allocations: 4 kB / 272.3 MB, free: 11.38 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.0962, allocations: 0 / 272.3 MB, free: 11.38 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004619/0.09667, allocations: 48.81 kB / 272.4 MB, free: 11.33 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.09835, allocations: 139.8 kB / 272.5 MB, free: 11.2 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.102, allocations: 2.797 MB / 275.3 MB, free: 8.133 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.1023, allocations: 24.27 kB / 275.3 MB, free: 8.109 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.1023, allocations: 4 kB / 275.3 MB, free: 8.105 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.0001517/0.1025, allocations: 117.8 kB / 275.4 MB, free: 7.98 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.1026, allocations: 19.81 kB / 275.5 MB, free: 7.961 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.1032, allocations: 155.1 kB / 275.6 MB, free: 7.801 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.1032, allocations: 8.016 kB / 275.6 MB, free: 7.793 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1032, allocations: 0 / 275.6 MB, free: 7.793 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1033, allocations: 3.953 kB / 275.6 MB, free: 7.789 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.1036, allocations: 225.5 kB / 275.8 MB, free: 7.52 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.1036, allocations: 4 kB / 275.9 MB, free: 7.516 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.1038, allocations: 19.92 kB / 275.9 MB, free: 7.496 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.1043, allocations: 52.81 kB / 275.9 MB, free: 7.441 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1043, allocations: 3.984 kB / 275.9 MB, free: 7.438 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.1061, allocations: 1.37 MB / 277.3 MB, free: 5.93 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1062, allocations: 3.938 kB / 277.3 MB, free: 5.926 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008155/0.107, allocations: 292.6 kB / 277.6 MB, free: 5.621 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1071, allocations: 93.03 kB / 277.7 MB, free: 5.512 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.1072, allocations: 7.953 kB / 277.7 MB, free: 5.504 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.1075, allocations: 15.98 kB / 277.7 MB, free: 5.488 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.1075, allocations: 7.984 kB / 277.7 MB, free: 5.48 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1075, allocations: 8.062 kB / 277.7 MB, free: 5.473 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1077, allocations: 116.1 kB / 277.8 MB, free: 5.359 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1077, allocations: 4 kB / 277.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004641/0.1082, allocations: 43.84 kB / 277.9 MB, free: 5.312 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001639/0.1084, allocations: 100.5 kB / 278 MB, free: 5.207 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.11, allocations: 295.4 kB / 278.3 MB, free: 4.902 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.11, allocations: 0 / 278.3 MB, free: 4.902 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.1104, allocations: 166.7 kB / 278.4 MB, free: 4.727 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.1106, allocations: 8 kB / 278.4 MB, free: 4.719 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1118, allocations: 496.4 kB / 278.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1121, allocations: 0.7165 MB / 279.6 MB, free: 3.465 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.1122, allocations: 19.38 kB / 279.7 MB, free: 3.445 MB / 234.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1122, allocations: 0 / 279.7 MB, free: 3.445 MB / 234.7 MB Notification: Performance of Templates: time 0.006022/0.1183, allocations: 2.438 MB / 282.1 MB, free: 1.004 MB / 234.7 MB