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.952/1.952, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.955e-05, allocations: 4.906 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07901/0.07906, allocations: 44.49 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3237/0.4028, allocations: 72.62 MB / 372.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.4031, allocations: 74.84 kB / 372.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01067/0.4138, allocations: 2.521 MB / 375 MB, free: 21.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.902e-06/0.4138, allocations: 1.219 kB / 375 MB, free: 21.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.4138, allocations: 2.281 kB / 375.1 MB, free: 21.8 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.0005278/0.4144, allocations: 417.4 kB / 375.5 MB, free: 21.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4144, allocations: 9.094 kB / 375.5 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.4145, allocations: 11.78 kB / 375.5 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.4147, allocations: 204.8 kB / 375.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.4147, allocations: 10.05 kB / 375.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.4148, allocations: 10 kB / 375.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.415, allocations: 135.9 kB / 375.8 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4151, allocations: 1.188 kB / 375.8 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.4151, allocations: 5.344 kB / 375.8 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-06/0.4151, allocations: 1.969 kB / 375.8 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.4153, allocations: 58.06 kB / 375.9 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.4163, allocations: 0.5117 MB / 376.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.4166, allocations: 77.06 kB / 376.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4168, allocations: 51.08 kB / 376.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.4168, allocations: 8.906 kB / 376.5 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.4169, allocations: 31.75 kB / 376.6 MB, free: 20.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 3.739e-06/0.4169, allocations: 1.062 kB / 376.6 MB, free: 20.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004746/0.4174, allocations: 113.9 kB / 376.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.4174, allocations: 110.3 kB / 376.8 MB, free: 20.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.4176, allocations: 145 kB / 376.9 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4176, allocations: 26.73 kB / 377 MB, free: 20.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.4177, allocations: 186.1 kB / 377.1 MB, free: 20.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.4177, allocations: 23.77 kB / 377.2 MB, free: 20.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-06/0.4178, allocations: 1.531 kB / 377.2 MB, free: 20.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.4178, allocations: 329.3 kB / 377.5 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.4179, allocations: 19.88 kB / 377.5 MB, free: 19.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.418, allocations: 68.58 kB / 377.6 MB, free: 19.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.663e-05/0.4181, allocations: 25.45 kB / 377.6 MB, free: 19.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.25e-06/0.4182, allocations: 0 / 377.6 MB, free: 19.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002505/0.4184, allocations: 110.4 kB / 377.7 MB, free: 19.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4184, allocations: 5.875 kB / 377.7 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.25e-06/0.4185, allocations: 0 / 377.7 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4185, allocations: 6.406 kB / 377.7 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.4197, allocations: 150.3 kB / 377.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.421, allocations: 1.38 MB / 379.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.4212, allocations: 33.22 kB / 379.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.4212, allocations: 3.812 kB / 379.3 MB, free: 18.45 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.891e-05/0.4213, allocations: 110.5 kB / 379.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.4214, allocations: 14.97 kB / 379.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.4218, allocations: 134.7 kB / 379.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.598e-06/0.4219, allocations: 2.688 kB / 379.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.408e-06/0.4219, allocations: 0 / 379.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.956e-06/0.4219, allocations: 5.078 kB / 379.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/0.4226, allocations: 440.6 kB / 380 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.088e-06/0.4227, allocations: 2.875 kB / 380 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.4228, allocations: 22.86 kB / 380 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003632/0.4232, allocations: 56.11 kB / 380.1 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.4233, allocations: 1.062 kB / 380.1 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.4245, allocations: 1.356 MB / 381.4 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.934e-06/0.4246, allocations: 1.375 kB / 381.4 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.4251, allocations: 276.4 kB / 381.7 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.4252, allocations: 92.95 kB / 381.8 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.4252, allocations: 5.812 kB / 381.8 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.4255, allocations: 16.77 kB / 381.8 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.4255, allocations: 11.09 kB / 381.8 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.4256, allocations: 5.688 kB / 381.8 MB, free: 16.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.4257, allocations: 121.3 kB / 381.9 MB, free: 16.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.4257, allocations: 0 / 381.9 MB, free: 16.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004467/0.4262, allocations: 35.94 kB / 382 MB, free: 16.29 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.0001467/0.4263, allocations: 102.9 kB / 382.1 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008798/0.4272, allocations: 133.4 kB / 382.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.882e-06/0.4272, allocations: 0 / 382.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.4275, allocations: 153 kB / 382.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.4278, allocations: 14.62 kB / 382.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006771/0.4285, allocations: 325 kB / 382.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/0.4292, allocations: 0.7176 MB / 383.4 MB, free: 31.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.4293, allocations: 13.28 kB / 383.4 MB, free: 31.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4293, allocations: 1.281 kB / 383.4 MB, free: 31.13 MB / 330.7 MB Notification: Performance of Templates: time 0.004687/0.434, allocations: 2.1 MB / 385.5 MB, free: 31.02 MB / 330.7 MB