Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Core.B|Core.Hstat|Core.MagRel|WindingPrim.i|WindingSec.i",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadModel(Modelica): time 1.725/1.725, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.757e-05, allocations: 4 kB / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07724/0.07728, allocations: 44.49 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3315/0.4088, allocations: 78.91 MB / 378.8 MB, free: 22.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.4091, allocations: 79.56 kB / 378.9 MB, free: 22.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1078/0.5169, allocations: 38.49 MB / 417.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.561e-06/0.517, allocations: 0 / 417.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001857/0.5172, allocations: 43.31 kB / 417.4 MB, free: 11.5 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002614/0.5198, allocations: 1.978 MB / 419.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5198, allocations: 7.75 kB / 419.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005026/0.5204, allocations: 294.9 kB / 419.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003642/0.524, allocations: 1.865 MB / 421.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/0.5241, allocations: 64.31 kB / 421.6 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.5244, allocations: 57.05 kB / 421.7 MB, free: 9.172 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.5251, allocations: 359.7 kB / 422 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.5252, allocations: 0 / 422 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.5252, allocations: 14.69 kB / 422 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.5253, allocations: 7.594 kB / 422 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.526, allocations: 295.7 kB / 422.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005142/0.5311, allocations: 3.094 MB / 425.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.5318, allocations: 307.3 kB / 425.7 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.5321, allocations: 152.5 kB / 425.9 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.5321, allocations: 3.906 kB / 425.9 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.5322, allocations: 37.56 kB / 425.9 MB, free: 7.566 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 3.618e-06/0.5322, allocations: 0 / 425.9 MB, free: 7.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.005217/0.5374, allocations: 2.23 MB / 428.1 MB, free: 6.367 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.5375, allocations: 84.69 kB / 428.2 MB, free: 6.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/0.5493, allocations: 4.836 MB / 433.1 MB, free: 3.543 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.516e-05/0.5495, allocations: 29.27 kB / 433.1 MB, free: 3.512 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.5507, allocations: 1.156 MB / 434.2 MB, free: 3.102 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.5509, allocations: 166.9 kB / 434.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.551, allocations: 10.5 kB / 434.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.551, allocations: 333.4 kB / 434.7 MB, free: 2.633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.5514, allocations: 134.7 kB / 434.9 MB, free: 2.555 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.5517, allocations: 208.2 kB / 435.1 MB, free: 2.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.5522, allocations: 224.5 kB / 435.3 MB, free: 2.215 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.5522, allocations: 4 kB / 435.3 MB, free: 2.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001639/0.5538, allocations: 0.7894 MB / 436.1 MB, free: 1.543 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.5539, allocations: 67.61 kB / 436.2 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.342e-06/0.5539, allocations: 7.938 kB / 436.2 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006518/0.5546, allocations: 152.9 kB / 436.3 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/0.5551, allocations: 91.52 kB / 436.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008836/0.556, allocations: 0.761 MB / 437.2 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000747/0.5568, allocations: 27.23 kB / 437.2 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.5569, allocations: 19.69 kB / 437.2 MB, free: 0.5234 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.557, allocations: 135.2 kB / 437.3 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/0.5575, allocations: 280.4 kB / 437.6 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.5595, allocations: 0.7509 MB / 438.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.897e-06/0.5595, allocations: 8 kB / 438.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5595, allocations: 0 / 438.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.5595, allocations: 3.984 kB / 438.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.5625, allocations: 1.707 MB / 440.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.005e-06/0.5625, allocations: 0 / 440.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/0.5632, allocations: 95.75 kB / 440.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003939/0.5637, allocations: 97.22 kB / 440.3 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.5637, allocations: 11.12 kB / 440.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008984/0.5646, allocations: 0.6432 MB / 440.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.599e-06/0.5647, allocations: 3.953 kB / 440.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.5668, allocations: 1.055 MB / 442 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.5683, allocations: 0.6687 MB / 442.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.5687, allocations: 19.44 kB / 442.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/0.5694, allocations: 27.42 kB / 442.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5696, allocations: 36.08 kB / 442.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.5696, allocations: 11.62 kB / 442.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.007514/0.5772, allocations: 3.795 MB / 446.5 MB, free: 9.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.166e-06/0.5772, allocations: 0 / 446.5 MB, free: 9.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00162/0.5788, allocations: 339.9 kB / 446.9 MB, free: 8.777 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/0.5802, allocations: 387.6 kB / 447.3 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.5814, allocations: 474.4 kB / 447.7 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.5814, allocations: 0 / 447.7 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005028/0.582, allocations: 201.5 kB / 447.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.5834, allocations: 175.5 kB / 448.1 MB, free: 7.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.5938, allocations: 4.824 MB / 452.9 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/0.5963, allocations: 1.857 MB / 454.8 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001086/0.5974, allocations: 379.5 kB / 455.1 MB, free: 464 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005947/0.598, allocations: 127.4 kB / 455.3 MB, free: 336 kB / 330.7 MB Notification: Performance of SimCode: time 1.821e-06/0.598, allocations: 0 / 455.3 MB, free: 336 kB / 330.7 MB Notification: Performance of Templates: time 0.06237/0.6604, allocations: 20.21 MB / 475.5 MB, free: 12.07 MB / 362.7 MB