Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.6e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08356/0.0836, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.424, allocations: 83.84 MB / 400.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.4244, allocations: 87.83 kB / 400.9 MB, free: 4.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1256/0.55, allocations: 39.21 MB / 440.1 MB, free: 300 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.859e-06/0.55, allocations: 0 / 440.1 MB, free: 300 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001839/0.5502, allocations: 39.44 kB / 440.1 MB, free: 264 kB / 346.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.003128/0.5534, allocations: 1.919 MB / 442 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.5534, allocations: 8.031 kB / 442 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/0.554, allocations: 287.7 kB / 442.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004196/0.5582, allocations: 1.894 MB / 444.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/0.5583, allocations: 56.61 kB / 444.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.5586, allocations: 45.98 kB / 444.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/0.5594, allocations: 367.4 kB / 444.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.5594, allocations: 0 / 444.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.5595, allocations: 17.88 kB / 444.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.5595, allocations: 8 kB / 444.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.5603, allocations: 293.7 kB / 445 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00607/0.5664, allocations: 3.104 MB / 448.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/0.5671, allocations: 290.9 kB / 448.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.5674, allocations: 149.9 kB / 448.5 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.5675, allocations: 4 kB / 448.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5675, allocations: 38.84 kB / 448.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.788e-06/0.5675, allocations: 4 kB / 448.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.005582/0.5731, allocations: 2.227 MB / 450.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.5732, allocations: 81.55 kB / 450.9 MB, free: 6.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01304/0.5863, allocations: 4.847 MB / 455.7 MB, free: 3.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.5864, allocations: 33.45 kB / 455.8 MB, free: 3.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.5879, allocations: 1.189 MB / 456.9 MB, free: 2.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.5881, allocations: 169.4 kB / 457.1 MB, free: 2.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.5882, allocations: 11.38 kB / 457.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5884, allocations: 324.4 kB / 457.4 MB, free: 2.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.5887, allocations: 137.5 kB / 457.6 MB, free: 2.379 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.5892, allocations: 203.8 kB / 457.8 MB, free: 2.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.5896, allocations: 161.6 kB / 457.9 MB, free: 2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.521e-06/0.5896, allocations: 0 / 457.9 MB, free: 2 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00313/0.5928, allocations: 1.001 MB / 458.9 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.5928, allocations: 8 kB / 458.9 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.36e-06/0.5928, allocations: 0 / 458.9 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006784/0.5935, allocations: 156.8 kB / 459.1 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.5941, allocations: 91.89 kB / 459.2 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.5952, allocations: 0.7398 MB / 459.9 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/0.596, allocations: 31.91 kB / 459.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.5961, allocations: 16 kB / 460 MB, free: 15.92 MB / 378.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 (47): * Single equations (assignments): 46 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.5963, allocations: 136.8 kB / 460.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005618/0.5968, allocations: 276.5 kB / 460.4 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.5988, allocations: 0.7472 MB / 461.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.5988, allocations: 11.95 kB / 461.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.5988, allocations: 7.984 kB / 461.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.811e-06/0.5988, allocations: 0 / 461.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.6016, allocations: 1.703 MB / 462.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.531e-06/0.6016, allocations: 0 / 462.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006216/0.6023, allocations: 99.88 kB / 462.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003665/0.6026, allocations: 92.66 kB / 463 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/0.6027, allocations: 15.98 kB / 463 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007891/0.6035, allocations: 0.6344 MB / 463.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.094e-06/0.6035, allocations: 8.094 kB / 463.7 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.6056, allocations: 1.051 MB / 464.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.6071, allocations: 0.6693 MB / 465.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003181/0.6074, allocations: 19.98 kB / 465.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/0.6082, allocations: 28 kB / 465.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.6083, allocations: 32.34 kB / 465.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.6084, allocations: 19.98 kB / 465.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007199/0.6156, allocations: 3.804 MB / 469.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.102e-06/0.6156, allocations: 0 / 469.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001437/0.6171, allocations: 327.9 kB / 469.6 MB, free: 6.109 MB / 378.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.001485/0.6186, allocations: 413.8 kB / 470 MB, free: 5.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.6196, allocations: 359.4 kB / 470.4 MB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6196, allocations: 0 / 470.4 MB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.6201, allocations: 193.6 kB / 470.6 MB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.6214, allocations: 179.6 kB / 470.7 MB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009737/0.6311, allocations: 4.848 MB / 475.6 MB, free: 148 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002424/0.6336, allocations: 1.86 MB / 477.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001048/0.6347, allocations: 379.6 kB / 477.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/0.6353, allocations: 131.4 kB / 478 MB, free: 13.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.82e-06/0.6353, allocations: 0 / 478 MB, free: 13.75 MB / 394.7 MB Notification: Performance of Templates: time 0.06169/0.697, allocations: 20.3 MB / 498.3 MB, free: 9.387 MB / 410.7 MB