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.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.485e-05, allocations: 0 / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.082/0.08205, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3327/0.4148, allocations: 86.1 MB / 403 MB, free: 2.012 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.415, allocations: 80.89 kB / 403.1 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04074/0.4558, allocations: 9.249 MB / 412.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.158e-06/0.4558, allocations: 0 / 412.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.4559, allocations: 11.98 kB / 412.4 MB, free: 10.01 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.001266/0.4572, allocations: 0.5842 MB / 413 MB, free: 9.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4572, allocations: 8.031 kB / 413 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.4573, allocations: 39.53 kB / 413 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.4579, allocations: 322.5 kB / 413.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.008e-05/0.458, allocations: 48.5 kB / 413.4 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.4582, allocations: 38.5 kB / 413.4 MB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000638/0.4589, allocations: 296.6 kB / 413.7 MB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.4589, allocations: 0 / 413.7 MB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.459, allocations: 18.5 kB / 413.7 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.459, allocations: 8 kB / 413.7 MB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006261/0.4596, allocations: 258 kB / 414 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.462, allocations: 1.172 MB / 415.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.4626, allocations: 261.5 kB / 415.4 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.4629, allocations: 145.4 kB / 415.5 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.4629, allocations: 4 kB / 415.5 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.463, allocations: 42.3 kB / 415.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.752e-06/0.463, allocations: 8 kB / 415.6 MB, free: 7.199 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.009951/0.4729, allocations: 2.142 MB / 417.7 MB, free: 5.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.4731, allocations: 85.11 kB / 417.8 MB, free: 5.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.4735, allocations: 265.8 kB / 418.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.4736, allocations: 29.58 kB / 418.1 MB, free: 5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.4737, allocations: 167 kB / 418.3 MB, free: 4.863 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.4739, allocations: 149.1 kB / 418.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.474, allocations: 7.875 kB / 418.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4741, allocations: 338.2 kB / 418.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.4745, allocations: 142.6 kB / 418.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.4749, allocations: 197.8 kB / 419.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.4754, allocations: 158.6 kB / 419.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.989e-06/0.4754, allocations: 0 / 419.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.007105/0.4825, allocations: 1.471 MB / 420.7 MB, free: 2.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.4826, allocations: 8 kB / 420.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.861e-06/0.4826, allocations: 3.938 kB / 420.7 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006662/0.4893, allocations: 1.037 MB / 421.8 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.4897, allocations: 59.91 kB / 421.8 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/0.5025, allocations: 4.352 MB / 426.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.5031, allocations: 34.16 kB / 426.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.5031, allocations: 19.61 kB / 426.2 MB, free: 14.36 MB / 346.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.0001791/0.5033, allocations: 125.9 kB / 426.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.5035, allocations: 31.62 kB / 426.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.5054, allocations: 0.5997 MB / 427 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.709e-06/0.5054, allocations: 4 kB / 427 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.517e-06/0.5054, allocations: 4 kB / 427 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.867e-06/0.5054, allocations: 0 / 427 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/0.509, allocations: 1.227 MB / 428.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.954e-06/0.509, allocations: 0 / 428.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006171/0.5096, allocations: 99.44 kB / 428.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.5113, allocations: 262.9 kB / 428.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/0.5114, allocations: 18.11 kB / 428.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004225/0.5156, allocations: 2.132 MB / 430.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.932e-06/0.5157, allocations: 3.938 kB / 430.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.518, allocations: 0.9294 MB / 431.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.5183, allocations: 154.5 kB / 431.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.5184, allocations: 6.812 kB / 431.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005517/0.519, allocations: 31.23 kB / 431.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.5191, allocations: 41.58 kB / 431.9 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.5192, allocations: 15.19 kB / 431.9 MB, free: 9.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003051/0.5195, allocations: 207.7 kB / 432.1 MB, free: 9.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.5195, allocations: 4 kB / 432.1 MB, free: 9.441 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009053/0.5205, allocations: 147.2 kB / 432.2 MB, free: 9.316 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.0003405/0.5208, allocations: 158.2 kB / 432.4 MB, free: 9.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.522, allocations: 0.5323 MB / 432.9 MB, free: 8.758 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.352e-06/0.5221, allocations: 0 / 432.9 MB, free: 8.758 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006356/0.5227, allocations: 340.9 kB / 433.3 MB, free: 8.496 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.5232, allocations: 29.48 kB / 433.3 MB, free: 8.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.525, allocations: 0.7223 MB / 434 MB, free: 7.816 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.5256, allocations: 0.797 MB / 434.8 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.5258, allocations: 30.97 kB / 434.8 MB, free: 6.949 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.526, allocations: 34.3 kB / 434.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of SimCode: time 1.703e-06/0.526, allocations: 3.938 kB / 434.9 MB, free: 6.914 MB / 346.7 MB Notification: Performance of Templates: time 0.02013/0.5461, allocations: 8.139 MB / 443 MB, free: 14.79 MB / 362.7 MB