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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.631e-05, allocations: 0 / 292.1 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09011, allocations: 50.41 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3614/0.4516, allocations: 89.14 MB / 431.7 MB, free: 5.094 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4519, allocations: 78.58 kB / 431.8 MB, free: 5.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04201/0.4939, allocations: 9.475 MB / 441.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.237e-06/0.4939, allocations: 0 / 441.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.262e-05/0.494, allocations: 8 kB / 441.3 MB, free: 12.89 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.001316/0.4953, allocations: 0.5772 MB / 441.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4953, allocations: 8.031 kB / 441.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.4955, allocations: 39.53 kB / 441.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.4961, allocations: 319.4 kB / 442.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.021e-05/0.4962, allocations: 56.94 kB / 442.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.4964, allocations: 35.58 kB / 442.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.4971, allocations: 296.5 kB / 442.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.4971, allocations: 0 / 442.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.4972, allocations: 10.69 kB / 442.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.4972, allocations: 8 kB / 442.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000678/0.4979, allocations: 252.2 kB / 442.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.5004, allocations: 1.18 MB / 444 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.5009, allocations: 257.3 kB / 444.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.5013, allocations: 147.7 kB / 444.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.5014, allocations: 4 kB / 444.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.5014, allocations: 38.86 kB / 444.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.796e-06/0.5014, allocations: 4 kB / 444.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.01049/0.5119, allocations: 2.148 MB / 446.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.512, allocations: 88.89 kB / 446.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.5125, allocations: 263.3 kB / 447 MB, free: 7.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.5126, allocations: 31.14 kB / 447 MB, free: 7.887 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.5128, allocations: 163.6 kB / 447.1 MB, free: 7.754 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.513, allocations: 153.8 kB / 447.3 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.513, allocations: 6 kB / 447.3 MB, free: 7.621 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.5132, allocations: 344.6 kB / 447.6 MB, free: 7.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.5136, allocations: 139.5 kB / 447.8 MB, free: 7.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/0.514, allocations: 196.3 kB / 448 MB, free: 7.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.5145, allocations: 156.7 kB / 448.1 MB, free: 6.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.5145, allocations: 0 / 448.1 MB, free: 6.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.007401/0.5219, allocations: 1.469 MB / 449.6 MB, free: 5.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.522, allocations: 7.953 kB / 449.6 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.47e-06/0.522, allocations: 4 kB / 449.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006989/0.529, allocations: 1.04 MB / 450.6 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.5295, allocations: 59.91 kB / 450.7 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/0.5428, allocations: 4.353 MB / 455.1 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.5434, allocations: 38.34 kB / 455.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.5435, allocations: 19.05 kB / 455.1 MB, free: 1.246 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.0001767/0.5436, allocations: 122.2 kB / 455.2 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.5438, allocations: 27.72 kB / 455.3 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.5458, allocations: 0.6015 MB / 455.9 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.5458, allocations: 4 kB / 455.9 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.318e-06/0.5458, allocations: 4 kB / 455.9 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.5458, allocations: 3.953 kB / 455.9 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.5496, allocations: 1.23 MB / 457.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.478e-06/0.5496, allocations: 0 / 457.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/0.5503, allocations: 99.83 kB / 457.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.5521, allocations: 260.5 kB / 457.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.5521, allocations: 15.98 kB / 457.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004504/0.5567, allocations: 2.131 MB / 459.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.28e-06/0.5567, allocations: 0 / 459.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.5593, allocations: 0.9301 MB / 460.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.5596, allocations: 156.6 kB / 460.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.5597, allocations: 8 kB / 460.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.5603, allocations: 31.98 kB / 460.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.5605, allocations: 36.38 kB / 460.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.5606, allocations: 16 kB / 460.8 MB, free: 11.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000325/0.5609, allocations: 209.4 kB / 461 MB, free: 11.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.5609, allocations: 0 / 461 MB, free: 11.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009355/0.5619, allocations: 144 kB / 461.1 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.000351/0.5622, allocations: 161.9 kB / 461.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.5636, allocations: 0.5327 MB / 461.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.369e-06/0.5636, allocations: 4 kB / 461.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006982/0.5644, allocations: 335.5 kB / 462.1 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.000482/0.5649, allocations: 43.12 kB / 462.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.5668, allocations: 0.7291 MB / 462.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.5674, allocations: 0.8009 MB / 463.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.5676, allocations: 34.97 kB / 463.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.5678, allocations: 27.42 kB / 463.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of SimCode: time 2.107e-06/0.5678, allocations: 0 / 463.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of Templates: time 0.02026/0.5881, allocations: 8.126 MB / 471.9 MB, free: 0.6055 MB / 378.7 MB