Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.797/1.797, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.027e-05, allocations: 0 / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2127, allocations: 38.76 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3206, allocations: 70.39 MB / 334.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.3208, allocations: 75.95 kB / 334.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02829/0.3491, allocations: 6.677 MB / 340.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3492, allocations: 0 / 340.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.335e-05/0.3492, allocations: 8 kB / 340.9 MB, free: 12.54 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009625/0.3502, allocations: 0.5294 MB / 341.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3502, allocations: 12.03 kB / 341.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.88e-05/0.3504, allocations: 35.53 kB / 341.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.3508, allocations: 254.9 kB / 341.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.3508, allocations: 20.56 kB / 341.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.3509, allocations: 27.95 kB / 341.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.3515, allocations: 219.8 kB / 342 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3515, allocations: 4 kB / 342 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.3516, allocations: 8 kB / 342 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.3516, allocations: 8 kB / 342 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.3521, allocations: 173.1 kB / 342.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.3543, allocations: 1.009 MB / 343.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.3548, allocations: 174.9 kB / 343.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.3551, allocations: 97.16 kB / 343.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.3552, allocations: 89.3 kB / 343.6 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3553, allocations: 38.69 kB / 343.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 3.1e-06/0.3553, allocations: 0 / 343.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.006715/0.362, allocations: 1.258 MB / 344.9 MB, free: 8.328 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.3621, allocations: 55.41 kB / 344.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.3625, allocations: 212.9 kB / 345.1 MB, free: 8.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/0.3625, allocations: 33.7 kB / 345.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3627, allocations: 176.2 kB / 345.3 MB, free: 7.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.3628, allocations: 110.5 kB / 345.4 MB, free: 7.723 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.3629, allocations: 4 kB / 345.4 MB, free: 7.719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3631, allocations: 330.8 kB / 345.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.3634, allocations: 96 kB / 345.8 MB, free: 7.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.3637, allocations: 164.6 kB / 346 MB, free: 7.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.364, allocations: 112 kB / 346.1 MB, free: 7.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.258e-06/0.3641, allocations: 0 / 346.1 MB, free: 7.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003431/0.3675, allocations: 0.5141 MB / 346.6 MB, free: 6.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.3676, allocations: 8.156 kB / 346.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.3676, allocations: 0 / 346.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/0.3703, allocations: 213.5 kB / 346.8 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/0.3709, allocations: 55.97 kB / 346.9 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007959/0.3789, allocations: 2.695 MB / 349.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.3795, allocations: 12.03 kB / 349.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.463e-05/0.3796, allocations: 15.98 kB / 349.6 MB, free: 3.312 MB / 298.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 (27): * Single equations (assignments): 25 * 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%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.3799, allocations: 121.5 kB / 349.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.38, allocations: 23.72 kB / 349.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.3844, allocations: 494.3 kB / 350.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.3845, allocations: 7.953 kB / 350.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3845, allocations: 11.88 kB / 350.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.3845, allocations: 0 / 350.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005847/0.3904, allocations: 0.9572 MB / 351.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/0.3905, allocations: 7.984 kB / 351.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.391, allocations: 35.97 kB / 351.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002602/0.3937, allocations: 205.5 kB / 351.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.458e-05/0.3938, allocations: 11.98 kB / 351.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00833/0.4021, allocations: 2.684 MB / 354.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.4022, allocations: 0 / 354.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/0.4074, allocations: 0.7144 MB / 354.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.4078, allocations: 124.9 kB / 355 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.92e-05/0.4079, allocations: 12 kB / 355 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005964/0.4085, allocations: 12 kB / 355 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.4087, allocations: 23.95 kB / 355.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/0.4088, allocations: 15.98 kB / 355.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003773/0.4092, allocations: 161.4 kB / 355.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.409e-06/0.4092, allocations: 0 / 355.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001311/0.4106, allocations: 99.95 kB / 355.3 MB, free: 13.32 MB / 314.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 (17): * Single equations (assignments): 15 * 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%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003808/0.411, allocations: 134.5 kB / 355.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.4128, allocations: 413.5 kB / 355.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.077e-06/0.4128, allocations: 0 / 355.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.4139, allocations: 277.7 kB / 356.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.4145, allocations: 24.69 kB / 356.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.4165, allocations: 437.5 kB / 356.6 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.4173, allocations: 0.7833 MB / 357.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.4175, allocations: 22.06 kB / 357.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.4177, allocations: 23.44 kB / 357.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of SimCode: time 2.489e-06/0.4177, allocations: 0 / 357.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of Templates: time 0.02393/0.4416, allocations: 4.814 MB / 362.2 MB, free: 6.344 MB / 314.7 MB