Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Core.B|Core.Hstat|Core.MagRel|Winding.i",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadModel(Modelica): time 1.733/1.733, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.722e-05, allocations: 0 / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07576/0.07581, allocations: 44.51 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3363/0.4121, allocations: 81.88 MB / 381.8 MB, free: 21.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4124, allocations: 82.27 kB / 381.9 MB, free: 21.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05309/0.4655, allocations: 9.202 MB / 391.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.462e-06/0.4656, allocations: 0 / 391.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.966e-05/0.4656, allocations: 3.906 kB / 391.1 MB, free: 19.73 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00206/0.4677, allocations: 0.5784 MB / 391.6 MB, free: 19.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.4678, allocations: 15.66 kB / 391.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.468, allocations: 39.2 kB / 391.7 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000839/0.4689, allocations: 323.5 kB / 392 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.469, allocations: 44.8 kB / 392.1 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.4694, allocations: 45.47 kB / 392.1 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.4705, allocations: 299.2 kB / 392.4 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.4705, allocations: 0 / 392.4 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.4706, allocations: 11.16 kB / 392.4 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.4706, allocations: 3.906 kB / 392.4 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.4718, allocations: 260.3 kB / 392.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/0.476, allocations: 1.17 MB / 393.8 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/0.4769, allocations: 257.6 kB / 394.1 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.4772, allocations: 152.6 kB / 394.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.4772, allocations: 7.219 kB / 394.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.4772, allocations: 38.47 kB / 394.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.696e-06/0.4773, allocations: 0 / 394.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.01115/0.4884, allocations: 2.135 MB / 396.4 MB, free: 17.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.4885, allocations: 85.02 kB / 396.5 MB, free: 17.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.4889, allocations: 261.8 kB / 396.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.489, allocations: 29.64 kB / 396.8 MB, free: 17.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.4891, allocations: 171.7 kB / 397 MB, free: 17.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4892, allocations: 145.1 kB / 397.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.4892, allocations: 7.25 kB / 397.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.4893, allocations: 339.5 kB / 397.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.4897, allocations: 138.6 kB / 397.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.49, allocations: 205.9 kB / 397.8 MB, free: 16.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.4904, allocations: 151.3 kB / 397.9 MB, free: 16.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-06/0.4905, allocations: 0 / 397.9 MB, free: 16.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.007282/0.4978, allocations: 1.469 MB / 399.4 MB, free: 16.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.4978, allocations: 3.906 kB / 399.4 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4978, allocations: 14.95 kB / 399.4 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006848/0.5047, allocations: 1.032 MB / 400.4 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.5051, allocations: 65.09 kB / 400.5 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.5172, allocations: 4.354 MB / 404.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.5178, allocations: 33.94 kB / 404.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.5179, allocations: 22.52 kB / 404.9 MB, free: 15.25 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: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.5181, allocations: 127.3 kB / 405 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5182, allocations: 27.34 kB / 405.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.52, allocations: 0.6054 MB / 405.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.564e-06/0.52, allocations: 3.906 kB / 405.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.52, allocations: 3.938 kB / 405.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.833e-06/0.5201, allocations: 7.656 kB / 405.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.5236, allocations: 1.22 MB / 406.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.5236, allocations: 0 / 406.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/0.5243, allocations: 99.83 kB / 407 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.526, allocations: 263 kB / 407.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/0.5261, allocations: 8.125 kB / 407.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003911/0.53, allocations: 2.133 MB / 409.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.255e-06/0.53, allocations: 4 kB / 409.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.5324, allocations: 0.9324 MB / 410.3 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.5326, allocations: 149.4 kB / 410.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/0.5327, allocations: 7.125 kB / 410.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.5333, allocations: 41.75 kB / 410.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5334, allocations: 33.27 kB / 410.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.5335, allocations: 15.33 kB / 410.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005471/0.5341, allocations: 209.3 kB / 410.8 MB, free: 28.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.5341, allocations: 3.938 kB / 410.8 MB, free: 28.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008876/0.535, allocations: 147.5 kB / 410.9 MB, free: 28.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003225/0.5353, allocations: 159.2 kB / 411.1 MB, free: 28.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.5365, allocations: 0.5351 MB / 411.6 MB, free: 28.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.393e-06/0.5365, allocations: 3.906 kB / 411.6 MB, free: 28.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005766/0.5371, allocations: 331 kB / 411.9 MB, free: 28.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.5376, allocations: 37.92 kB / 412 MB, free: 28.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5392, allocations: 0.7287 MB / 412.7 MB, free: 28.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.5397, allocations: 0.7996 MB / 413.5 MB, free: 27.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002376/0.54, allocations: 34.27 kB / 413.5 MB, free: 27.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.5401, allocations: 26.44 kB / 413.6 MB, free: 27.33 MB / 330.7 MB Notification: Performance of SimCode: time 1.759e-06/0.5401, allocations: 0 / 413.6 MB, free: 27.33 MB / 330.7 MB Notification: Performance of Templates: time 0.01708/0.5572, allocations: 8.132 MB / 421.7 MB, free: 23.91 MB / 330.7 MB