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.686/1.686, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.652e-05, allocations: 0 / 225 MB, free: 2.785 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.3155, allocations: 67.54 MB / 331.3 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.3158, allocations: 67.95 kB / 331.4 MB, free: 6.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.3272, allocations: 2.568 MB / 333.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3272, allocations: 0 / 333.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.3272, allocations: 4 kB / 333.9 MB, free: 3.582 MB / 282.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.0006497/0.3279, allocations: 410.6 kB / 334.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.328, allocations: 8.031 kB / 334.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.328, allocations: 23.75 kB / 334.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.3283, allocations: 195 kB / 334.5 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3283, allocations: 8 kB / 334.6 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.3284, allocations: 7.953 kB / 334.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.3287, allocations: 132.2 kB / 334.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3287, allocations: 0 / 334.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.3287, allocations: 4 kB / 334.7 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.501e-06/0.3288, allocations: 4 kB / 334.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.329, allocations: 59.98 kB / 334.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.3302, allocations: 0.5147 MB / 335.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.3305, allocations: 70.69 kB / 335.3 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.3307, allocations: 52.8 kB / 335.4 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.3307, allocations: 0 / 335.4 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.3308, allocations: 38.55 kB / 335.4 MB, free: 1.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.189e-06/0.3308, allocations: 4 kB / 335.4 MB, free: 1.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005051/0.3313, allocations: 114.5 kB / 335.5 MB, free: 1.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.3314, allocations: 102.8 kB / 335.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3316, allocations: 141.4 kB / 335.8 MB, free: 1.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.3316, allocations: 29.69 kB / 335.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3318, allocations: 178.6 kB / 336 MB, free: 1.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.3318, allocations: 35.55 kB / 336 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-06/0.3318, allocations: 3.938 kB / 336 MB, free: 1.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.332, allocations: 314.8 kB / 336.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.3321, allocations: 24 kB / 336.4 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.3323, allocations: 61.58 kB / 336.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3324, allocations: 43.95 kB / 336.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.972e-06/0.3324, allocations: 0 / 336.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005143/0.3329, allocations: 138.4 kB / 336.6 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3329, allocations: 4 kB / 336.6 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.892e-06/0.333, allocations: 0 / 336.6 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003641/0.3333, allocations: 60.8 kB / 336.7 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.3344, allocations: 131.9 kB / 336.8 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.3379, allocations: 2.79 MB / 339.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.3382, allocations: 15.94 kB / 339.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.3382, allocations: 3.984 kB / 339.6 MB, free: 13.38 MB / 298.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 (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.0001269/0.3384, allocations: 116.9 kB / 339.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.3384, allocations: 11.91 kB / 339.7 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004755/0.3389, allocations: 135.1 kB / 339.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.771e-06/0.339, allocations: 4 kB / 339.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.76e-06/0.339, allocations: 0 / 339.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.155e-06/0.339, allocations: 0 / 339.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009241/0.3399, allocations: 444 kB / 340.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3399, allocations: 3.938 kB / 340.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.3401, allocations: 23.94 kB / 340.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/0.3405, allocations: 48.81 kB / 340.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.3405, allocations: 8.016 kB / 340.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.3423, allocations: 1.367 MB / 341.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.088e-06/0.3424, allocations: 4.031 kB / 341.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.3431, allocations: 274.7 kB / 342 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.3432, allocations: 101.1 kB / 342.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.3433, allocations: 4 kB / 342.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.3435, allocations: 11.98 kB / 342.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.3436, allocations: 11.94 kB / 342.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3436, allocations: 4 kB / 342.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.3438, allocations: 124 kB / 342.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.3438, allocations: 0 / 342.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004582/0.3442, allocations: 43.91 kB / 342.3 MB, free: 10.4 MB / 298.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.0001904/0.3444, allocations: 115.2 kB / 342.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.3457, allocations: 254.5 kB / 342.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.3457, allocations: 0 / 342.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.346, allocations: 153.6 kB / 342.8 MB, free: 9.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3463, allocations: 9.547 kB / 342.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/0.3471, allocations: 317.5 kB / 343.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.3475, allocations: 0.7204 MB / 343.9 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.3476, allocations: 15.44 kB / 343.9 MB, free: 8.75 MB / 298.7 MB Notification: Performance of SimCode: time 1.767e-06/0.3476, allocations: 0 / 343.9 MB, free: 8.75 MB / 298.7 MB Notification: Performance of Templates: time 0.005516/0.3531, allocations: 2.407 MB / 346.3 MB, free: 6.34 MB / 298.7 MB