Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.854/1.854, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.298e-05/4.325e-05, allocations: 4 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 50.42 MB / 343.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3544/0.4773, allocations: 81.32 MB / 424.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4776, allocations: 83.34 kB / 424.5 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0285/0.5062, allocations: 7.131 MB / 431.6 MB, free: 6.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.234e-06/0.5062, allocations: 4 kB / 431.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.388e-05/0.5062, allocations: 4 kB / 431.6 MB, free: 6.848 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.0009622/0.5072, allocations: 0.5301 MB / 432.2 MB, free: 6.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.5073, allocations: 8.031 kB / 432.2 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.7e-05/0.5074, allocations: 35.56 kB / 432.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.5078, allocations: 259.6 kB / 432.5 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.5079, allocations: 23.19 kB / 432.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.5079, allocations: 22.81 kB / 432.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.5085, allocations: 237.2 kB / 432.7 MB, free: 5.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5085, allocations: 0 / 432.7 MB, free: 5.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.5086, allocations: 10.83 kB / 432.7 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.5086, allocations: 8 kB / 432.7 MB, free: 5.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.5091, allocations: 177.2 kB / 432.9 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.5111, allocations: 1.019 MB / 433.9 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.5116, allocations: 185.7 kB / 434.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.5119, allocations: 108.2 kB / 434.2 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.5119, allocations: 8.062 kB / 434.2 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.512, allocations: 33.12 kB / 434.3 MB, free: 4.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.58e-06/0.512, allocations: 0 / 434.3 MB, free: 4.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.004779/0.5168, allocations: 1.218 MB / 435.5 MB, free: 3.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.5168, allocations: 59.41 kB / 435.5 MB, free: 3.359 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.5171, allocations: 208.6 kB / 435.7 MB, free: 3.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.5172, allocations: 28.89 kB / 435.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.5173, allocations: 180.6 kB / 436 MB, free: 2.996 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.5175, allocations: 123.6 kB / 436.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.5175, allocations: 3.562 kB / 436.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5177, allocations: 333.6 kB / 436.4 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.518, allocations: 99.19 kB / 436.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.5183, allocations: 155.1 kB / 436.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.5186, allocations: 111.9 kB / 436.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5186, allocations: 0 / 436.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001837/0.5204, allocations: 0.5109 MB / 437.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.5205, allocations: 8 kB / 437.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.121e-06/0.5205, allocations: 3.984 kB / 437.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.5216, allocations: 198.3 kB / 437.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.5219, allocations: 55.97 kB / 437.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007095/0.5291, allocations: 3.758 MB / 441.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.5294, allocations: 9.312 kB / 441.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.5295, allocations: 11.44 kB / 441.3 MB, free: 14.16 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.0001684/0.5296, allocations: 135.4 kB / 441.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.5297, allocations: 23.72 kB / 441.5 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.947e-05/0.5298, allocations: 36.47 kB / 441.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.449e-06/0.5299, allocations: 4 kB / 441.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.101e-06/0.5299, allocations: 0 / 441.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.554e-06/0.5299, allocations: 4.266 kB / 441.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.5324, allocations: 0.9379 MB / 442.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.874e-06/0.5324, allocations: 0 / 442.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.5327, allocations: 47.94 kB / 442.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.5338, allocations: 182.6 kB / 442.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.47e-05/0.5338, allocations: 15.56 kB / 442.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/0.5399, allocations: 3.75 MB / 446.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.081e-06/0.5399, allocations: 0 / 446.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.5421, allocations: 0.7131 MB / 447.2 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.5422, allocations: 96.64 kB / 447.2 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/0.5423, allocations: 7.125 kB / 447.3 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.5426, allocations: 19.67 kB / 447.3 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.5427, allocations: 35.78 kB / 447.3 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.5428, allocations: 11.56 kB / 447.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002082/0.543, allocations: 157.4 kB / 447.5 MB, free: 8.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.543, allocations: 0 / 447.5 MB, free: 8.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008161/0.5438, allocations: 107.2 kB / 447.6 MB, free: 8.523 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.0002124/0.5441, allocations: 114.4 kB / 447.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.5451, allocations: 0.5239 MB / 448.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.4e-06/0.5452, allocations: 0 / 448.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000675/0.5458, allocations: 387.2 kB / 448.6 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.5461, allocations: 31.23 kB / 448.6 MB, free: 7.613 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.5474, allocations: 463 kB / 449.1 MB, free: 7.191 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.5479, allocations: 0.784 MB / 449.9 MB, free: 6.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.5481, allocations: 18.08 kB / 449.9 MB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.5481, allocations: 23.42 kB / 449.9 MB, free: 6.336 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5481, allocations: 0 / 449.9 MB, free: 6.336 MB / 362.7 MB Notification: Performance of Templates: time 0.01452/0.5627, allocations: 5.312 MB / 455.2 MB, free: 1.051 MB / 362.7 MB