Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.998e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07676/0.07681, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3198/0.3967, allocations: 74.93 MB / 374.8 MB, free: 22.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.3969, allocations: 68.19 kB / 374.9 MB, free: 22.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02711/0.4241, allocations: 6.853 MB / 381.7 MB, free: 21.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4241, allocations: 0 / 381.7 MB, free: 21.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.4241, allocations: 10.66 kB / 381.7 MB, free: 21.67 MB / 314.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.0008166/0.425, allocations: 0.5158 MB / 382.3 MB, free: 21.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.425, allocations: 13.94 kB / 382.3 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.489e-05/0.4251, allocations: 31.5 kB / 382.3 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.4255, allocations: 266.9 kB / 382.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.4256, allocations: 18.91 kB / 382.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.4256, allocations: 30.58 kB / 382.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.4262, allocations: 222.7 kB / 382.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4262, allocations: 0 / 382.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.4262, allocations: 17.16 kB / 382.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4263, allocations: 6.938 kB / 382.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.4267, allocations: 190.4 kB / 383 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.4286, allocations: 1.014 MB / 384 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.4291, allocations: 187 kB / 384.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.4294, allocations: 102.6 kB / 384.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.4294, allocations: 12.08 kB / 384.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4295, allocations: 35.78 kB / 384.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 3.025e-06/0.4295, allocations: 1.438 kB / 384.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.004603/0.4341, allocations: 1.221 MB / 385.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.4341, allocations: 58.67 kB / 385.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.4344, allocations: 202.4 kB / 385.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.4345, allocations: 31.33 kB / 385.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4346, allocations: 176.8 kB / 386.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/0.4347, allocations: 120.7 kB / 386.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.4347, allocations: 7.562 kB / 386.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.4348, allocations: 338.6 kB / 386.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.4351, allocations: 96.75 kB / 386.6 MB, free: 19.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.4354, allocations: 150.3 kB / 386.8 MB, free: 19.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.4357, allocations: 111 kB / 386.9 MB, free: 19.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4357, allocations: 0 / 386.9 MB, free: 19.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001771/0.4375, allocations: 0.5141 MB / 387.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4375, allocations: 6.797 kB / 387.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.943e-06/0.4375, allocations: 1.719 kB / 387.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.4386, allocations: 189 kB / 387.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.4389, allocations: 56.28 kB / 387.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005067/0.444, allocations: 3.77 MB / 391.4 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.4444, allocations: 14.75 kB / 391.4 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.4445, allocations: 18.58 kB / 391.4 MB, free: 16.33 MB / 314.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.0001173/0.4446, allocations: 119.3 kB / 391.5 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.4447, allocations: 27.38 kB / 391.6 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-05/0.4448, allocations: 43.09 kB / 391.6 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.4448, allocations: 7.969 kB / 391.6 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-06/0.4448, allocations: 0 / 391.6 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.117e-06/0.4449, allocations: 0 / 391.6 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.4473, allocations: 0.9344 MB / 392.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.595e-06/0.4474, allocations: 0 / 392.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.4477, allocations: 42.19 kB / 392.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.4488, allocations: 181.3 kB / 392.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.4488, allocations: 7.375 kB / 392.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005819/0.4546, allocations: 3.764 MB / 396.5 MB, free: 29.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.524e-06/0.4547, allocations: 0 / 396.5 MB, free: 29.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.4569, allocations: 0.7102 MB / 397.3 MB, free: 28.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.457, allocations: 104 kB / 397.4 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.4571, allocations: 3.688 kB / 397.4 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.4574, allocations: 18.58 kB / 397.4 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4575, allocations: 25.33 kB / 397.4 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.4576, allocations: 11.75 kB / 397.4 MB, free: 28.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.4578, allocations: 160 kB / 397.6 MB, free: 28.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.4578, allocations: 4 kB / 397.6 MB, free: 28.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008122/0.4586, allocations: 104 kB / 397.7 MB, free: 28.68 MB / 330.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.0002051/0.4589, allocations: 125.1 kB / 397.8 MB, free: 28.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000985/0.4599, allocations: 0.5159 MB / 398.3 MB, free: 28.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.049e-06/0.4599, allocations: 0 / 398.3 MB, free: 28.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.4605, allocations: 406.2 kB / 398.7 MB, free: 28.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.4608, allocations: 22.75 kB / 398.7 MB, free: 28.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.462, allocations: 452.2 kB / 399.2 MB, free: 27.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.4625, allocations: 0.783 MB / 400 MB, free: 27.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.4626, allocations: 20.98 kB / 400 MB, free: 27.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.4627, allocations: 18.44 kB / 400 MB, free: 27.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.739e-06/0.4627, allocations: 288 / 400 MB, free: 27.2 MB / 330.7 MB Notification: Performance of Templates: time 0.01301/0.4757, allocations: 5.304 MB / 405.3 MB, free: 26.84 MB / 330.7 MB