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.83/1.83, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.903e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2952, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4063, allocations: 71.96 MB / 366.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4066, allocations: 75.89 kB / 366.1 MB, free: 9.953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01054/0.4172, allocations: 2.501 MB / 368.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4172, allocations: 0 / 368.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.4172, allocations: 8 kB / 368.7 MB, free: 7.438 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.0006208/0.4179, allocations: 414.1 kB / 369.1 MB, free: 6.988 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4179, allocations: 8.031 kB / 369.1 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.418, allocations: 11.91 kB / 369.1 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.4182, allocations: 198.8 kB / 369.3 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.4183, allocations: 4 kB / 369.3 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.4183, allocations: 12 kB / 369.3 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001712/0.4185, allocations: 48 kB / 369.3 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.4188, allocations: 128 kB / 369.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4188, allocations: 0 / 369.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.4188, allocations: 0 / 369.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.499e-06/0.4188, allocations: 0 / 369.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.42, allocations: 483.8 kB / 369.9 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.4203, allocations: 74.64 kB / 370 MB, free: 5.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.4204, allocations: 52.84 kB / 370.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.4205, allocations: 0 / 370.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.4205, allocations: 38.5 kB / 370.1 MB, free: 5.832 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.023e-06/0.4205, allocations: 0 / 370.1 MB, free: 5.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004853/0.421, allocations: 106.6 kB / 370.2 MB, free: 5.719 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.4211, allocations: 106.8 kB / 370.3 MB, free: 5.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.4213, allocations: 141.8 kB / 370.4 MB, free: 5.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.4214, allocations: 25.7 kB / 370.5 MB, free: 5.414 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.4215, allocations: 183.8 kB / 370.6 MB, free: 5.234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.4215, allocations: 27.64 kB / 370.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-06/0.4216, allocations: 3.938 kB / 370.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4217, allocations: 310.8 kB / 371 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.4218, allocations: 23.98 kB / 371 MB, free: 4.867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.4219, allocations: 65.09 kB / 371.1 MB, free: 4.785 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/0.422, allocations: 31.98 kB / 371.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.606e-06/0.4221, allocations: 7.953 kB / 371.1 MB, free: 4.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002472/0.4223, allocations: 93.52 kB / 371.2 MB, free: 4.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4223, allocations: 10.03 kB / 371.2 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.903e-06/0.4224, allocations: 4.094 kB / 371.2 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4224, allocations: 0 / 371.2 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.4236, allocations: 155.8 kB / 371.4 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.4253, allocations: 1.327 MB / 372.7 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.4255, allocations: 23.92 kB / 372.7 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.4255, allocations: 7.938 kB / 372.7 MB, free: 3.012 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 0.0001114/0.4257, allocations: 108.8 kB / 372.8 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.4257, allocations: 11.86 kB / 372.8 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/0.4262, allocations: 135 kB / 373 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-06/0.4262, allocations: 0 / 373 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.281e-06/0.4262, allocations: 4 kB / 373 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.069e-06/0.4262, allocations: 0 / 373 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/0.427, allocations: 408.5 kB / 373.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-06/0.427, allocations: 32 / 373.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.4272, allocations: 16 kB / 373.4 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003582/0.4276, allocations: 52.8 kB / 373.4 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4276, allocations: 0 / 373.4 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.4292, allocations: 1.311 MB / 374.8 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.033e-06/0.4293, allocations: 0 / 374.8 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.4298, allocations: 266.8 kB / 375 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.399e-05/0.4299, allocations: 88.98 kB / 375.1 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.43, allocations: 0 / 375.1 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4302, allocations: 16.19 kB / 375.1 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.4302, allocations: 19.91 kB / 375.1 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.4303, allocations: 4 kB / 375.1 MB, free: 360 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.4304, allocations: 116.1 kB / 375.3 MB, free: 244 kB / 314.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.4304, allocations: 0 / 375.3 MB, free: 244 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004182/0.4308, allocations: 35.91 kB / 375.3 MB, free: 208 kB / 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.0001633/0.431, allocations: 103.2 kB / 375.4 MB, free: 96 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000849/0.4319, allocations: 127.9 kB / 375.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.88e-06/0.4319, allocations: 0 / 375.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.4322, allocations: 149.8 kB / 375.7 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.4325, allocations: 11.95 kB / 375.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007147/0.4332, allocations: 307.8 kB / 376 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.4336, allocations: 0.7197 MB / 376.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.4337, allocations: 11.44 kB / 376.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of SimCode: time 1.488e-06/0.4337, allocations: 0 / 376.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of Templates: time 0.004836/0.4386, allocations: 2.081 MB / 378.8 MB, free: 12.63 MB / 330.7 MB