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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.286e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2527, allocations: 44.5 MB / 294.1 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.4331, allocations: 81.21 MB / 375.3 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005499/0.4337, allocations: 87.89 kB / 375.4 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04643/0.4802, allocations: 9.059 MB / 384.5 MB, free: 7.547 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4802, allocations: 0 / 384.5 MB, free: 7.547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.4803, allocations: 12 kB / 384.5 MB, free: 7.535 MB / 330.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.001282/0.4815, allocations: 0.5804 MB / 385.1 MB, free: 6.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4816, allocations: 8.031 kB / 385.1 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.4817, allocations: 43.48 kB / 385.1 MB, free: 6.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.4823, allocations: 316 kB / 385.4 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.4824, allocations: 38.27 kB / 385.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.4826, allocations: 35.83 kB / 385.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000659/0.4833, allocations: 241 kB / 385.7 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.4839, allocations: 263.4 kB / 386 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.484, allocations: 0 / 386 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.484, allocations: 0 / 386 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.484, allocations: 11.95 kB / 386 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.4864, allocations: 1.111 MB / 387.1 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.487, allocations: 256 kB / 387.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.4873, allocations: 143.7 kB / 387.5 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.4874, allocations: 4 kB / 387.5 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.4874, allocations: 42.5 kB / 387.6 MB, free: 4.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.788e-06/0.4874, allocations: 0 / 387.6 MB, free: 4.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.009189/0.4966, allocations: 1.905 MB / 389.5 MB, free: 2.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.4967, allocations: 81.11 kB / 389.5 MB, free: 2.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.4972, allocations: 252.4 kB / 389.8 MB, free: 1.961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.4973, allocations: 29.7 kB / 389.8 MB, free: 1.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.4975, allocations: 223.2 kB / 390 MB, free: 1.703 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.4976, allocations: 137.9 kB / 390.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.4977, allocations: 0 / 390.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4979, allocations: 330.8 kB / 390.5 MB, free: 1.234 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.4982, allocations: 128.9 kB / 390.6 MB, free: 1.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.4987, allocations: 193 kB / 390.8 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.4991, allocations: 145.8 kB / 390.9 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.053e-06/0.4991, allocations: 0 / 390.9 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.007236/0.5063, allocations: 1.423 MB / 392.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.5064, allocations: 4 kB / 392.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.86e-06/0.5064, allocations: 0 / 392.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006777/0.5132, allocations: 1.033 MB / 393.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.5136, allocations: 63.89 kB / 393.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/0.5265, allocations: 4.273 MB / 397.7 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.5271, allocations: 27.95 kB / 397.8 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.5272, allocations: 19.98 kB / 397.8 MB, free: 9.781 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real 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.0002532/0.5274, allocations: 118.5 kB / 397.9 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.5276, allocations: 27.67 kB / 397.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.5295, allocations: 0.5589 MB / 398.5 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.5295, allocations: 4 kB / 398.5 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.076e-06/0.5296, allocations: 4 kB / 398.5 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.5296, allocations: 3.984 kB / 398.5 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003704/0.5333, allocations: 1.139 MB / 399.6 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.986e-06/0.5333, allocations: 0 / 399.6 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.534, allocations: 95.88 kB / 399.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.5359, allocations: 264.5 kB / 400 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.246e-05/0.536, allocations: 3.938 kB / 400 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004594/0.5406, allocations: 2.073 MB / 402.1 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.5407, allocations: 4.031 kB / 402.1 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.5432, allocations: 0.9028 MB / 403 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.5436, allocations: 148.6 kB / 403.1 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.5437, allocations: 0 / 403.1 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.5443, allocations: 27.98 kB / 403.1 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.5445, allocations: 36.38 kB / 403.2 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.5446, allocations: 12 kB / 403.2 MB, free: 4.145 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003116/0.5449, allocations: 204.6 kB / 403.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.005e-06/0.5449, allocations: 0 / 403.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009745/0.5459, allocations: 127.9 kB / 403.5 MB, free: 3.82 MB / 346.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.0003806/0.5463, allocations: 162.2 kB / 403.7 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.5476, allocations: 0.5092 MB / 404.2 MB, free: 3.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.5477, allocations: 0 / 404.2 MB, free: 3.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007234/0.5484, allocations: 331.7 kB / 404.5 MB, free: 2.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.5489, allocations: 24.78 kB / 404.5 MB, free: 2.777 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.5509, allocations: 0.7329 MB / 405.3 MB, free: 2.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.5516, allocations: 0.8006 MB / 406.1 MB, free: 1.184 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.5518, allocations: 35.42 kB / 406.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of SimCode: time 1.862e-06/0.5518, allocations: 0 / 406.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of Templates: time 0.01247/0.5643, allocations: 6.115 MB / 412.2 MB, free: 11.04 MB / 362.7 MB