Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.61e-05, allocations: 4 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09324, allocations: 50.42 MB / 342.6 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3661/0.4594, allocations: 81.38 MB / 423.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.4597, allocations: 78.89 kB / 424 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02997/0.4897, allocations: 7.138 MB / 431.1 MB, free: 6.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.108e-06/0.4897, allocations: 4 kB / 431.2 MB, free: 6.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.4898, allocations: 4 kB / 431.2 MB, free: 6.629 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001001/0.4908, allocations: 0.5275 MB / 431.7 MB, free: 6.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4908, allocations: 8.031 kB / 431.7 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.181e-05/0.491, allocations: 31.62 kB / 431.7 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.4914, allocations: 263.3 kB / 432 MB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.4915, allocations: 21.94 kB / 432 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.4916, allocations: 25.69 kB / 432 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.4921, allocations: 227 kB / 432.2 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.4921, allocations: 4 kB / 432.2 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.4922, allocations: 14.39 kB / 432.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.4922, allocations: 11.94 kB / 432.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.4927, allocations: 177.7 kB / 432.4 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.4949, allocations: 1.015 MB / 433.5 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.4954, allocations: 191.4 kB / 433.7 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.4957, allocations: 104.2 kB / 433.8 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.4958, allocations: 4 kB / 433.8 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.4958, allocations: 37.67 kB / 433.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.523e-06/0.4958, allocations: 0 / 433.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.004977/0.5008, allocations: 1.221 MB / 435 MB, free: 3.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.5009, allocations: 55.41 kB / 435.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.5012, allocations: 212.7 kB / 435.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.5013, allocations: 29.2 kB / 435.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.5015, allocations: 240.5 kB / 435.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.5016, allocations: 115.9 kB / 435.7 MB, free: 2.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.5016, allocations: 6.812 kB / 435.7 MB, free: 2.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.5018, allocations: 326.6 kB / 436 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.5021, allocations: 96.94 kB / 436.1 MB, free: 2.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.5024, allocations: 151.3 kB / 436.2 MB, free: 2.105 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.5027, allocations: 120.3 kB / 436.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.552e-06/0.5028, allocations: 0 / 436.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001904/0.5047, allocations: 0.5003 MB / 436.8 MB, free: 1.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5047, allocations: 8 kB / 436.8 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5047, allocations: 3.984 kB / 436.9 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.5058, allocations: 190.8 kB / 437 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.5062, allocations: 51.97 kB / 437.1 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006446/0.5127, allocations: 3.761 MB / 440.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.5131, allocations: 10.62 kB / 440.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.5132, allocations: 15.88 kB / 440.9 MB, free: 13.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.5134, allocations: 130.6 kB / 441 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/0.5135, allocations: 31.61 kB / 441 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.846e-05/0.5136, allocations: 36.03 kB / 441.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.159e-06/0.5136, allocations: 4 kB / 441.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.396e-06/0.5136, allocations: 0 / 441.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.804e-06/0.5136, allocations: 7.984 kB / 441.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.5163, allocations: 0.9329 MB / 442 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.265e-06/0.5163, allocations: 3.938 kB / 442 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.5166, allocations: 43.91 kB / 442.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.5177, allocations: 192.4 kB / 442.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.5177, allocations: 3.312 kB / 442.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006281/0.524, allocations: 3.748 MB / 446 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.26e-06/0.5241, allocations: 4.062 kB / 446 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.5263, allocations: 0.708 MB / 446.7 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.5265, allocations: 92.86 kB / 446.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.5265, allocations: 7.812 kB / 446.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.5269, allocations: 18.92 kB / 446.8 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.527, allocations: 39.84 kB / 446.9 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.5271, allocations: 8 kB / 446.9 MB, free: 8.484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002238/0.5273, allocations: 165.4 kB / 447 MB, free: 8.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.76e-07/0.5273, allocations: 0 / 447 MB, free: 8.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008641/0.5282, allocations: 102 kB / 447.1 MB, free: 8.266 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002418/0.5284, allocations: 118.1 kB / 447.3 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.5296, allocations: 0.5218 MB / 447.8 MB, free: 7.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/0.5297, allocations: 4.406 kB / 447.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.5304, allocations: 385.9 kB / 448.2 MB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.5307, allocations: 30.75 kB / 448.2 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.5321, allocations: 490.9 kB / 448.7 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.5326, allocations: 0.784 MB / 449.4 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/0.5327, allocations: 23.42 kB / 449.5 MB, free: 6.059 MB / 362.7 MB Notification: Performance of SimCode: time 1.65e-06/0.5328, allocations: 0 / 449.5 MB, free: 6.059 MB / 362.7 MB Notification: Performance of Templates: time 0.01127/0.544, allocations: 5.796 MB / 455.3 MB, free: 300 kB / 362.7 MB