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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.826e-05, allocations: 3.938 kB / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09295, allocations: 50.4 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/0.4429, allocations: 81.32 MB / 423.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.4432, allocations: 78.58 kB / 424 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02885/0.4721, allocations: 7.14 MB / 431.1 MB, free: 6.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.851e-06/0.4721, allocations: 0 / 431.1 MB, free: 6.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.4721, allocations: 4 kB / 431.1 MB, free: 6.832 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.0009697/0.4731, allocations: 0.5336 MB / 431.6 MB, free: 6.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4732, allocations: 8.031 kB / 431.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.281e-05/0.4733, allocations: 35.62 kB / 431.7 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.4737, allocations: 253.8 kB / 431.9 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.4738, allocations: 25.38 kB / 432 MB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.4738, allocations: 25.62 kB / 432 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.4744, allocations: 225.1 kB / 432.2 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4744, allocations: 0 / 432.2 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.4745, allocations: 15.39 kB / 432.2 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.411e-06/0.4745, allocations: 8 kB / 432.2 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.475, allocations: 188.3 kB / 432.4 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.4771, allocations: 1.014 MB / 433.4 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.4775, allocations: 189.1 kB / 433.6 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.4778, allocations: 99.78 kB / 433.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.4779, allocations: 11.75 kB / 433.7 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.4779, allocations: 30.56 kB / 433.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.827e-06/0.4779, allocations: 0 / 433.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.004756/0.4827, allocations: 1.229 MB / 435 MB, free: 3.406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.4828, allocations: 55.41 kB / 435 MB, free: 3.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.4831, allocations: 204.6 kB / 435.2 MB, free: 3.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.4831, allocations: 37.45 kB / 435.3 MB, free: 3.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.4833, allocations: 180.1 kB / 435.4 MB, free: 2.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.4834, allocations: 111.7 kB / 435.5 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.4834, allocations: 7.125 kB / 435.6 MB, free: 2.875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4836, allocations: 337.2 kB / 435.9 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.4839, allocations: 94.12 kB / 436 MB, free: 2.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.4842, allocations: 152.4 kB / 436.1 MB, free: 2.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.4845, allocations: 107.7 kB / 436.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.846e-06/0.4846, allocations: 4 kB / 436.2 MB, free: 2.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001853/0.4864, allocations: 0.5153 MB / 436.7 MB, free: 1.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4865, allocations: 8 kB / 436.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.046e-06/0.4865, allocations: 4 kB / 436.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.4875, allocations: 188.7 kB / 436.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.4879, allocations: 55.91 kB / 437 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006145/0.4941, allocations: 3.761 MB / 440.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.4944, allocations: 19.23 kB / 440.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.4945, allocations: 12 kB / 440.8 MB, free: 14.13 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.0001501/0.4946, allocations: 124.1 kB / 440.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.4947, allocations: 27.78 kB / 440.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.4948, allocations: 41.08 kB / 441 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.769e-06/0.4948, allocations: 4 kB / 441 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.058e-06/0.4949, allocations: 288 / 441 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.404e-06/0.4949, allocations: 4 kB / 441 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.4974, allocations: 0.9304 MB / 441.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.051e-06/0.4974, allocations: 3.938 kB / 441.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.4977, allocations: 43.86 kB / 442 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.4987, allocations: 193.6 kB / 442.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.4988, allocations: 3.25 kB / 442.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005857/0.5046, allocations: 3.752 MB / 445.9 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.764e-06/0.5047, allocations: 0 / 445.9 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.5068, allocations: 0.7155 MB / 446.6 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.5069, allocations: 96.84 kB / 446.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.507, allocations: 10.69 kB / 446.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.5073, allocations: 11.5 kB / 446.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.5074, allocations: 30.66 kB / 446.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.5075, allocations: 15.62 kB / 446.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002085/0.5077, allocations: 164.8 kB / 446.9 MB, free: 8.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.5077, allocations: 0 / 446.9 MB, free: 8.598 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008208/0.5085, allocations: 104.6 kB / 447 MB, free: 8.512 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.0002198/0.5088, allocations: 123.5 kB / 447.2 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.5098, allocations: 0.514 MB / 447.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.585e-06/0.5098, allocations: 320 / 447.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006475/0.5105, allocations: 399.2 kB / 448.1 MB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.5108, allocations: 22.31 kB / 448.1 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.512, allocations: 462.4 kB / 448.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.5125, allocations: 0.784 MB / 449.3 MB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.5127, allocations: 14.08 kB / 449.3 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.5128, allocations: 19.44 kB / 449.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of SimCode: time 1.465e-06/0.5128, allocations: 4 kB / 449.4 MB, free: 6.32 MB / 362.7 MB Notification: Performance of Templates: time 0.01427/0.527, allocations: 5.3 MB / 454.7 MB, free: 1.047 MB / 362.7 MB