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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.652e-05/2.656e-05, allocations: 4 kB / 292.7 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08828/0.08832, allocations: 50.43 MB / 343.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5098, allocations: 89.12 MB / 432.2 MB, free: 5.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004494/0.5103, allocations: 81.39 kB / 432.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04639/0.5567, allocations: 9.475 MB / 441.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.108e-06/0.5567, allocations: 0 / 441.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.5568, allocations: 4 kB / 441.8 MB, free: 12.85 MB / 362.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.001301/0.5581, allocations: 0.5858 MB / 442.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.5581, allocations: 8.031 kB / 442.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.5583, allocations: 39.53 kB / 442.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.5589, allocations: 320.9 kB / 442.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.595e-05/0.559, allocations: 53.31 kB / 442.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.5592, allocations: 38.45 kB / 442.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.5598, allocations: 289.2 kB / 443.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5599, allocations: 0 / 443.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.5599, allocations: 17.3 kB / 443.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.56, allocations: 8 kB / 443.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006284/0.5606, allocations: 254.4 kB / 443.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.5629, allocations: 1.174 MB / 444.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.5635, allocations: 254 kB / 444.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.5639, allocations: 145.2 kB / 444.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.5639, allocations: 11.05 kB / 445 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.5639, allocations: 34 kB / 445 MB, free: 10.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.716e-06/0.564, allocations: 4 kB / 445 MB, free: 10.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.01011/0.5741, allocations: 2.151 MB / 447.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.5742, allocations: 96.08 kB / 447.2 MB, free: 8.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.5747, allocations: 262.6 kB / 447.5 MB, free: 7.871 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.5747, allocations: 31.77 kB / 447.5 MB, free: 7.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.5749, allocations: 157.4 kB / 447.7 MB, free: 7.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.5751, allocations: 155.8 kB / 447.8 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.5751, allocations: 7.688 kB / 447.8 MB, free: 7.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.5753, allocations: 344.2 kB / 448.2 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.5757, allocations: 141.4 kB / 448.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.5761, allocations: 198.9 kB / 448.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.5766, allocations: 155.6 kB / 448.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-06/0.5766, allocations: 0 / 448.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.007251/0.5838, allocations: 1.468 MB / 450.1 MB, free: 5.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.5839, allocations: 7.953 kB / 450.1 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5839, allocations: 4 kB / 450.1 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006904/0.5908, allocations: 1.038 MB / 451.2 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.5913, allocations: 63.72 kB / 451.2 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.6045, allocations: 4.347 MB / 455.6 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.605, allocations: 38.91 kB / 455.6 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.6051, allocations: 15.5 kB / 455.6 MB, free: 1.207 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: 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.0001781/0.6053, allocations: 126 kB / 455.8 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.6055, allocations: 27.72 kB / 455.8 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.6074, allocations: 0.5938 MB / 456.4 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.6074, allocations: 7.984 kB / 456.4 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.6074, allocations: 0 / 456.4 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.6074, allocations: 7.953 kB / 456.4 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.6111, allocations: 1.229 MB / 457.6 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.779e-06/0.6112, allocations: 0 / 457.6 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006503/0.6118, allocations: 99.2 kB / 457.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.6136, allocations: 255.7 kB / 458 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/0.6136, allocations: 15.98 kB / 458 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004442/0.6181, allocations: 2.139 MB / 460.1 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.88e-06/0.6181, allocations: 4.031 kB / 460.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.6206, allocations: 0.9301 MB / 461.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.6209, allocations: 152.7 kB / 461.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.31e-05/0.621, allocations: 15.98 kB / 461.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.6216, allocations: 27.98 kB / 461.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.6217, allocations: 36.38 kB / 461.3 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.6218, allocations: 16 kB / 461.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003216/0.6221, allocations: 209.4 kB / 461.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.6221, allocations: 0 / 461.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009118/0.6231, allocations: 144 kB / 461.6 MB, free: 11.46 MB / 378.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.0003494/0.6234, allocations: 159.1 kB / 461.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.6247, allocations: 0.5287 MB / 462.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6248, allocations: 0 / 462.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006789/0.6254, allocations: 339.5 kB / 462.7 MB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.6259, allocations: 40.38 kB / 462.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.6278, allocations: 0.7214 MB / 463.4 MB, free: 9.633 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.6284, allocations: 0.8047 MB / 464.2 MB, free: 8.797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.6287, allocations: 34.95 kB / 464.3 MB, free: 8.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.6288, allocations: 35.52 kB / 464.3 MB, free: 8.723 MB / 378.7 MB Notification: Performance of SimCode: time 1.548e-06/0.6288, allocations: 3.938 kB / 464.3 MB, free: 8.719 MB / 378.7 MB Notification: Performance of Templates: time 0.02082/0.6497, allocations: 8.136 MB / 472.4 MB, free: 0.5977 MB / 378.7 MB