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.796/1.796, allocations: 194.9 MB / 208.5 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.626e-05/2.644e-05, allocations: 2.094 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07979/0.07983, allocations: 44.51 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.35/0.4299, allocations: 81.88 MB / 381.8 MB, free: 21.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004779/0.4305, allocations: 81.12 kB / 381.8 MB, free: 21.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06978/0.5003, allocations: 9.203 MB / 391 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.28e-06/0.5003, allocations: 0 / 391 MB, free: 19.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.5004, allocations: 11.81 kB / 391 MB, free: 19.93 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.001074/0.5014, allocations: 0.5782 MB / 391.6 MB, free: 19.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5015, allocations: 7.719 kB / 391.6 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.5016, allocations: 43.11 kB / 391.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.5021, allocations: 316.6 kB / 392 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/0.5022, allocations: 54.95 kB / 392 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.5024, allocations: 40.84 kB / 392.1 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.503, allocations: 293.6 kB / 392.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.503, allocations: 3.938 kB / 392.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.5031, allocations: 7 kB / 392.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.5031, allocations: 15.38 kB / 392.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000563/0.5036, allocations: 254.5 kB / 392.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.5057, allocations: 1.167 MB / 393.8 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.5062, allocations: 260.8 kB / 394.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.5065, allocations: 150.2 kB / 394.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.5065, allocations: 8.391 kB / 394.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.5066, allocations: 33.44 kB / 394.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 4.516e-06/0.5066, allocations: 3.984 kB / 394.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.01036/0.5169, allocations: 2.146 MB / 396.4 MB, free: 17.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.517, allocations: 84.92 kB / 396.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.5175, allocations: 255.3 kB / 396.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.101e-05/0.5176, allocations: 30.45 kB / 396.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.5177, allocations: 229.3 kB / 397 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.5179, allocations: 143 kB / 397.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.5179, allocations: 7.5 kB / 397.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.518, allocations: 332.8 kB / 397.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.5184, allocations: 139.2 kB / 397.6 MB, free: 17.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.5188, allocations: 198.9 kB / 397.8 MB, free: 17.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.5192, allocations: 158 kB / 397.9 MB, free: 17.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.814e-06/0.5192, allocations: 3.906 kB / 397.9 MB, free: 17.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.008352/0.5276, allocations: 1.451 MB / 399.4 MB, free: 16.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5276, allocations: 7.422 kB / 399.4 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.191e-06/0.5276, allocations: 0 / 399.4 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007161/0.5348, allocations: 1.04 MB / 400.4 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.5352, allocations: 61.69 kB / 400.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.5477, allocations: 4.355 MB / 404.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.5483, allocations: 44.81 kB / 404.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.5484, allocations: 15.52 kB / 404.9 MB, free: 15.39 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.000137/0.5485, allocations: 126.7 kB / 405 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5487, allocations: 31.25 kB / 405.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.5505, allocations: 0.595 MB / 405.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.5505, allocations: 15.75 kB / 405.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.904e-06/0.5505, allocations: 0 / 405.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.896e-06/0.5506, allocations: 0 / 405.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003386/0.554, allocations: 1.223 MB / 406.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.554, allocations: 3.906 kB / 406.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.5547, allocations: 96.48 kB / 407 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/0.5567, allocations: 258.7 kB / 407.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-05/0.5568, allocations: 6.938 kB / 407.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/0.5606, allocations: 2.148 MB / 409.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.017e-06/0.5606, allocations: 0 / 409.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.5628, allocations: 0.9295 MB / 410.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.5631, allocations: 145 kB / 410.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.5631, allocations: 14.34 kB / 410.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/0.5637, allocations: 34.34 kB / 410.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.5638, allocations: 33.91 kB / 410.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/0.5639, allocations: 13.47 kB / 410.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005564/0.5645, allocations: 211 kB / 410.8 MB, free: 28.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.991e-06/0.5645, allocations: 0 / 410.8 MB, free: 28.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008835/0.5654, allocations: 154.5 kB / 410.9 MB, free: 28.93 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.0003094/0.5657, allocations: 152.8 kB / 411.1 MB, free: 28.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.5669, allocations: 0.5375 MB / 411.6 MB, free: 28.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.554e-06/0.5669, allocations: 0 / 411.6 MB, free: 28.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005988/0.5675, allocations: 334.4 kB / 411.9 MB, free: 28.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.568, allocations: 42.75 kB / 412 MB, free: 28.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.5696, allocations: 0.752 MB / 412.7 MB, free: 28.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.5701, allocations: 0.7983 MB / 413.5 MB, free: 27.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.5703, allocations: 41.84 kB / 413.6 MB, free: 27.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.719e-06/0.5703, allocations: 0 / 413.6 MB, free: 27.45 MB / 330.7 MB Notification: Performance of Templates: time 0.009946/0.5802, allocations: 6.172 MB / 419.7 MB, free: 25.21 MB / 330.7 MB