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.881/1.881, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.887e-05/4.859e-05, allocations: 4 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 44.5 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003888/0.3318, allocations: 2.236 MB / 305.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3345, allocations: 1.092 MB / 306.7 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.3348, allocations: 8 kB / 306.7 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.3351, allocations: 47.59 kB / 306.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006978/0.3358, allocations: 183.3 kB / 306.9 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.3361, allocations: 99.69 kB / 307 MB, free: 9.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.3366, allocations: 220.1 kB / 307.2 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3368, allocations: 44.58 kB / 307.2 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.3371, allocations: 147.7 kB / 307.4 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.3375, allocations: 179.4 kB / 307.6 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.3379, allocations: 135.9 kB / 307.7 MB, free: 9.219 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-05/0.338, allocations: 28 kB / 307.7 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.595e-05/0.3382, allocations: 75.77 kB / 307.8 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.713e-05/0.3383, allocations: 28 kB / 307.8 MB, free: 9.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.3389, allocations: 365.3 kB / 308.2 MB, free: 8.734 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3389, allocations: 0 / 308.2 MB, free: 8.734 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3389, allocations: 0 / 308.2 MB, free: 8.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3389, allocations: 4 kB / 308.2 MB, free: 8.73 MB / 250.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.00184/0.3408, allocations: 0.585 MB / 308.8 MB, free: 8.098 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3408, allocations: 11.97 kB / 308.8 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.341, allocations: 39.58 kB / 308.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.3416, allocations: 319.9 kB / 309.1 MB, free: 7.691 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/0.3417, allocations: 50.27 kB / 309.2 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/0.3419, allocations: 39.89 kB / 309.2 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009634/0.3429, allocations: 324.4 kB / 309.5 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.343, allocations: 0 / 309.5 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.343, allocations: 19.98 kB / 309.6 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.343, allocations: 7.938 kB / 309.6 MB, free: 7.238 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.3442, allocations: 317.9 kB / 309.9 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.347, allocations: 1.16 MB / 311 MB, free: 5.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.348, allocations: 302.2 kB / 311.3 MB, free: 5.379 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.637e-05/0.3481, allocations: 7.984 kB / 311.3 MB, free: 5.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.3481, allocations: 38.56 kB / 311.4 MB, free: 5.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 3.025e-06/0.3481, allocations: 0 / 311.4 MB, free: 5.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.01698/0.3651, allocations: 2.53 MB / 313.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.3652, allocations: 89.06 kB / 314 MB, free: 2.613 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.3657, allocations: 260.2 kB / 314.2 MB, free: 2.355 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.003e-05/0.3658, allocations: 33.7 kB / 314.3 MB, free: 2.316 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.366, allocations: 168.4 kB / 314.4 MB, free: 2.145 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.3662, allocations: 149.8 kB / 314.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.3662, allocations: 8 kB / 314.6 MB, free: 1.988 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3664, allocations: 334.8 kB / 314.9 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/0.3671, allocations: 176.8 kB / 315.1 MB, free: 1.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.3679, allocations: 234.7 kB / 315.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007893/0.3687, allocations: 189.8 kB / 315.5 MB, free: 1.043 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3688, allocations: 7.938 kB / 315.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0018/0.3706, allocations: 0.4889 MB / 316 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3706, allocations: 4 kB / 316 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3706, allocations: 4.188 kB / 316 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3707, allocations: 8 kB / 316 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.3718, allocations: 119.8 kB / 316.1 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.3718, allocations: 4 kB / 316.1 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008708/0.3727, allocations: 55.83 kB / 316.2 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.3728, allocations: 19.98 kB / 316.2 MB, free: 336 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.3731, allocations: 149.7 kB / 316.4 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.3732, allocations: 27.72 kB / 316.4 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/0.3765, allocations: 0.6915 MB / 317.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3765, allocations: 4 kB / 317.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3765, allocations: 0 / 317.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.3766, allocations: 3.984 kB / 317.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.382, allocations: 1.322 MB / 318.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.3821, allocations: 0 / 318.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009219/0.383, allocations: 95.88 kB / 318.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002771/0.3858, allocations: 280.5 kB / 318.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/0.3859, allocations: 8 kB / 318.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006588/0.3925, allocations: 2.315 MB / 321.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3926, allocations: 4.031 kB / 321.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004047/0.3966, allocations: 1.067 MB / 322.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.3969, allocations: 144.7 kB / 322.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.397, allocations: 12 kB / 322.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007617/0.3978, allocations: 39.97 kB / 322.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.398, allocations: 32.39 kB / 322.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.3981, allocations: 15.98 kB / 322.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003534/0.3984, allocations: 208.5 kB / 322.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.3985, allocations: 0 / 322.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007455/0.3992, allocations: 119.9 kB / 322.7 MB, free: 9.547 MB / 266.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.0003594/0.3996, allocations: 139.2 kB / 322.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.4013, allocations: 442.2 kB / 323.3 MB, free: 8.969 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4014, allocations: 8.062 kB / 323.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.4026, allocations: 389 kB / 323.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.4031, allocations: 36.39 kB / 323.7 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.4061, allocations: 1.188 MB / 324.9 MB, free: 7.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.4066, allocations: 0.7972 MB / 325.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004205/0.407, allocations: 42.95 kB / 325.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.4073, allocations: 39.41 kB / 325.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4073, allocations: 0 / 325.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of Templates: time 0.01753/0.4248, allocations: 5.633 MB / 331.4 MB, free: 0.7734 MB / 266.7 MB