Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.008e-05, allocations: 5.562 kB / 292.1 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09044, allocations: 50.41 MB / 342.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3794/0.4699, allocations: 78.6 MB / 421.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.4701, allocations: 68.22 kB / 421.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.4836, allocations: 3.237 MB / 424.5 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.058e-06/0.4837, allocations: 4 kB / 424.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.387e-06/0.4837, allocations: 0 / 424.5 MB, free: 12.68 MB / 346.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.0007426/0.4845, allocations: 438.5 kB / 424.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4845, allocations: 8.031 kB / 424.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.4846, allocations: 11.91 kB / 424.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.4848, allocations: 194.4 kB / 425.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.4848, allocations: 7.062 kB / 425.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.4849, allocations: 11.31 kB / 425.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.4852, allocations: 139.7 kB / 425.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.4852, allocations: 4 kB / 425.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.4853, allocations: 6.766 kB / 425.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-06/0.4853, allocations: 0 / 425.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.4855, allocations: 71.61 kB / 425.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.4866, allocations: 0.5155 MB / 425.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.4868, allocations: 71 kB / 425.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.487, allocations: 54.05 kB / 426 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.4871, allocations: 4.219 kB / 426 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.4871, allocations: 34.56 kB / 426 MB, free: 11.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.36e-06/0.4871, allocations: 3.938 kB / 426 MB, free: 11.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002808/0.4874, allocations: 88.64 kB / 426.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.4875, allocations: 110.8 kB / 426.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.4877, allocations: 138.5 kB / 426.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.4878, allocations: 29.02 kB / 426.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.4879, allocations: 187.8 kB / 426.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.4879, allocations: 30.39 kB / 426.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/0.488, allocations: 3.375 kB / 426.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4881, allocations: 314.8 kB / 426.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.4882, allocations: 22.88 kB / 426.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.4884, allocations: 66.89 kB / 427 MB, free: 10.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.4885, allocations: 38.83 kB / 427 MB, free: 10.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-06/0.4885, allocations: 0 / 427 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002935/0.4888, allocations: 115.6 kB / 427.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4888, allocations: 4 kB / 427.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4889, allocations: 0 / 427.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4889, allocations: 4 kB / 427.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/0.4896, allocations: 87.05 kB / 427.2 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.4913, allocations: 1.374 MB / 428.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.4915, allocations: 31.17 kB / 428.6 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.4916, allocations: 0 / 428.6 MB, free: 8.457 MB / 346.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.0001101/0.4917, allocations: 108.2 kB / 428.7 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.4918, allocations: 15.91 kB / 428.7 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.4922, allocations: 122.8 kB / 428.9 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.281e-06/0.4922, allocations: 7.953 kB / 428.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-06/0.4922, allocations: 0 / 428.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-06/0.4923, allocations: 0 / 428.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008238/0.4931, allocations: 445.5 kB / 429.3 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.129e-06/0.4931, allocations: 0 / 429.3 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.4933, allocations: 27.97 kB / 429.3 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000284/0.4936, allocations: 35.95 kB / 429.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.4937, allocations: 8 kB / 429.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.4951, allocations: 1.296 MB / 430.7 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.599e-06/0.4951, allocations: 4.156 kB / 430.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.4957, allocations: 264.5 kB / 430.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.4958, allocations: 92.97 kB / 431 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.4958, allocations: 0 / 431 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.4961, allocations: 23.98 kB / 431.1 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.4961, allocations: 11.97 kB / 431.1 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.4962, allocations: 4 kB / 431.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.4963, allocations: 117.8 kB / 431.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.4963, allocations: 0 / 431.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004222/0.4968, allocations: 43.8 kB / 431.2 MB, free: 5.781 MB / 346.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 (7): * Single equations (assignments): 6 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001669/0.4969, allocations: 111.1 kB / 431.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007246/0.4977, allocations: 114.9 kB / 431.4 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.772e-06/0.4977, allocations: 0 / 431.4 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.498, allocations: 149.4 kB / 431.6 MB, free: 5.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.4982, allocations: 7.812 kB / 431.6 MB, free: 5.422 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.4999, allocations: 456.4 kB / 432 MB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.5004, allocations: 0.7121 MB / 432.8 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.5004, allocations: 15.44 kB / 432.8 MB, free: 4.207 MB / 346.7 MB Notification: Performance of SimCode: time 3.936e-06/0.5004, allocations: 4 kB / 432.8 MB, free: 4.203 MB / 346.7 MB Notification: Performance of Templates: time 0.004933/0.5054, allocations: 2.128 MB / 434.9 MB, free: 2.09 MB / 346.7 MB