Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 1.067/1.067, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.991e-05, allocations: 4 kB / 151.4 MB, free: 15.62 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 25.15 MB / 176.5 MB, free: 16 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05759/0.1977, allocations: 34.96 MB / 211.5 MB, free: 14.52 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.198, allocations: 67.95 kB / 211.6 MB, free: 14.45 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008995/0.207, allocations: 2.165 MB / 213.7 MB, free: 12.29 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.089e-06/0.207, allocations: 3.938 kB / 213.7 MB, free: 12.28 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.207, allocations: 8 kB / 213.7 MB, free: 12.27 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005914/0.2076, allocations: 398.2 kB / 214.1 MB, free: 11.84 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.2077, allocations: 12.03 kB / 214.1 MB, free: 11.83 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.2078, allocations: 15.81 kB / 214.2 MB, free: 11.81 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.208, allocations: 199 kB / 214.4 MB, free: 11.58 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.208, allocations: 0 / 214.4 MB, free: 11.58 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.2081, allocations: 16 kB / 214.4 MB, free: 11.56 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.2083, allocations: 111.1 kB / 214.5 MB, free: 11.44 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2084, allocations: 0 / 214.5 MB, free: 11.44 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.2084, allocations: 11.98 kB / 214.5 MB, free: 11.43 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.694e-06/0.2084, allocations: 0 / 214.5 MB, free: 11.43 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.2086, allocations: 47.98 kB / 214.5 MB, free: 11.38 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.2097, allocations: 490.6 kB / 215 MB, free: 10.84 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2098, allocations: 42.52 kB / 215.1 MB, free: 10.79 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.2099, allocations: 20.86 kB / 215.1 MB, free: 10.77 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.21, allocations: 3.984 kB / 215.1 MB, free: 10.77 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.21, allocations: 38.56 kB / 215.1 MB, free: 10.72 MB / 186.7 MB Notification: Performance of pre-optimization done (n=4): time 2.32e-06/0.21, allocations: 0 / 215.1 MB, free: 10.72 MB / 186.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004601/0.2105, allocations: 94.5 kB / 215.2 MB, free: 10.62 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.2106, allocations: 114.8 kB / 215.3 MB, free: 10.48 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.2108, allocations: 137.4 kB / 215.5 MB, free: 10.34 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.2108, allocations: 33.7 kB / 215.5 MB, free: 10.3 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.211, allocations: 186.1 kB / 215.7 MB, free: 10.12 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.211, allocations: 11.81 kB / 215.7 MB, free: 10.11 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-06/0.211, allocations: 0 / 215.7 MB, free: 10.11 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2112, allocations: 322.8 kB / 216 MB, free: 9.781 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.2113, allocations: 16 kB / 216 MB, free: 9.766 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.2114, allocations: 53.16 kB / 216.1 MB, free: 9.695 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.575e-05/0.2115, allocations: 24.45 kB / 216.1 MB, free: 9.672 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.273e-06/0.2115, allocations: 0 / 216.1 MB, free: 9.672 MB / 186.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004724/0.212, allocations: 122.8 kB / 216.2 MB, free: 9.543 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.212, allocations: 8 kB / 216.2 MB, free: 9.535 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.536e-06/0.212, allocations: 0 / 216.2 MB, free: 9.535 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003509/0.2124, allocations: 56.8 kB / 216.3 MB, free: 9.477 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.2135, allocations: 131.9 kB / 216.4 MB, free: 9.348 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/0.2168, allocations: 2.771 MB / 219.2 MB, free: 6.305 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.217, allocations: 27.98 kB / 219.2 MB, free: 6.277 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.217, allocations: 4 kB / 219.2 MB, free: 6.273 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: SaturatingInductance1.Psi:VARIABLE(unit = "Wb" ) type: Real 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 (7): * 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): 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.0001587/0.2172, allocations: 108.9 kB / 219.3 MB, free: 6.16 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.2173, allocations: 7.906 kB / 219.3 MB, free: 6.152 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.2177, allocations: 122.3 kB / 219.4 MB, free: 6.02 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-06/0.2177, allocations: 4 kB / 219.4 MB, free: 6.016 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.052e-06/0.2177, allocations: 4 kB / 219.4 MB, free: 6.012 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.759e-06/0.2177, allocations: 0 / 219.4 MB, free: 6.012 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.2181, allocations: 201.6 kB / 219.6 MB, free: 5.766 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-06/0.2181, allocations: 0 / 219.6 MB, free: 5.766 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.2182, allocations: 16.05 kB / 219.7 MB, free: 5.75 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003432/0.2185, allocations: 52.81 kB / 219.7 MB, free: 5.695 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2186, allocations: 3.984 kB / 219.7 MB, free: 5.691 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.2203, allocations: 1.351 MB / 221.1 MB, free: 4.203 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.365e-06/0.2203, allocations: 160 / 221.1 MB, free: 4.203 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.2209, allocations: 224.2 kB / 221.3 MB, free: 3.965 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.221, allocations: 93.16 kB / 221.4 MB, free: 3.855 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.221, allocations: 4 kB / 221.4 MB, free: 3.852 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.2212, allocations: 15.98 kB / 221.4 MB, free: 3.836 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.2213, allocations: 4 kB / 221.4 MB, free: 3.832 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.2213, allocations: 3.984 kB / 221.4 MB, free: 3.828 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.2215, allocations: 120.1 kB / 221.5 MB, free: 3.711 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.14e-07/0.2215, allocations: 3.938 kB / 221.5 MB, free: 3.707 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004336/0.2219, allocations: 43.84 kB / 221.6 MB, free: 3.664 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (SaturatingInductance1.Psi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001538/0.2221, allocations: 107.2 kB / 221.7 MB, free: 3.551 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.2232, allocations: 234.7 kB / 221.9 MB, free: 3.309 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.187e-06/0.2232, allocations: 0 / 221.9 MB, free: 3.309 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.2235, allocations: 137.7 kB / 222 MB, free: 3.164 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.2237, allocations: 8.781 kB / 222 MB, free: 3.156 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.2243, allocations: 238.2 kB / 222.3 MB, free: 2.895 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.2246, allocations: 0.7121 MB / 223 MB, free: 2.156 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.2247, allocations: 11.44 kB / 223 MB, free: 2.145 MB / 186.7 MB Notification: Performance of SimCode: time 1.46e-06/0.2247, allocations: 4 kB / 223 MB, free: 2.141 MB / 186.7 MB Notification: Performance of Templates: time 0.004891/0.2296, allocations: 2.187 MB / 225.2 MB, free: 15.95 MB / 202.7 MB