Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadModel(Modelica): time 1.853/1.853, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.055e-05, allocations: 4 kB / 292.2 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.09019, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3717/0.462, allocations: 93.23 MB / 435.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4623, allocations: 80.14 kB / 435.9 MB, free: 1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06575/0.528, allocations: 15.85 MB / 451.7 MB, free: 3.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.906e-06/0.5281, allocations: 0 / 451.7 MB, free: 3.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.769e-05/0.5281, allocations: 15.94 kB / 451.7 MB, free: 3.477 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00193/0.5301, allocations: 0.857 MB / 452.6 MB, free: 2.617 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5301, allocations: 11.97 kB / 452.6 MB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.5303, allocations: 79.16 kB / 452.7 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/0.5313, allocations: 495.7 kB / 453.2 MB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.5314, allocations: 71.64 kB / 453.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.5317, allocations: 73.56 kB / 453.3 MB, free: 1.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.5329, allocations: 0.56 MB / 453.9 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.533, allocations: 0 / 453.9 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.787e-05/0.5331, allocations: 25.06 kB / 453.9 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.5331, allocations: 12 kB / 453.9 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.5343, allocations: 476.5 kB / 454.4 MB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.5389, allocations: 2.329 MB / 456.7 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/0.5399, allocations: 422.8 kB / 457.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005398/0.5404, allocations: 243.7 kB / 457.4 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.5405, allocations: 8 kB / 457.4 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.5405, allocations: 41.73 kB / 457.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 3.577e-06/0.5406, allocations: 0 / 457.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.01337/0.5539, allocations: 3.018 MB / 460.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.5541, allocations: 85.67 kB / 460.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008955/0.555, allocations: 482.4 kB / 461 MB, free: 11.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/0.5551, allocations: 36.14 kB / 461 MB, free: 11.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.5554, allocations: 308 kB / 461.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.5556, allocations: 212.8 kB / 461.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.5557, allocations: 20 kB / 461.5 MB, free: 11.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.5559, allocations: 362.8 kB / 461.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/0.5565, allocations: 221.5 kB / 462.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.5572, allocations: 311.3 kB / 462.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.5579, allocations: 259.2 kB / 462.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.419e-06/0.5579, allocations: 0 / 462.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.008233/0.5661, allocations: 1.787 MB / 464.5 MB, free: 8.453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.5662, allocations: 11.94 kB / 464.5 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5662, allocations: 0 / 464.5 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007262/0.5735, allocations: 1.164 MB / 465.6 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.5741, allocations: 95.88 kB / 465.7 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.5909, allocations: 5.768 MB / 471.5 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008351/0.5918, allocations: 48.03 kB / 471.5 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/0.5919, allocations: 27.98 kB / 471.6 MB, free: 1.188 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.5921, allocations: 136.9 kB / 471.7 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.5923, allocations: 55.34 kB / 471.8 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.5943, allocations: 0.7749 MB / 472.5 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.5944, allocations: 8 kB / 472.5 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.761e-06/0.5944, allocations: 0 / 472.5 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.5944, allocations: 4 kB / 472.5 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008104/0.6025, allocations: 1.828 MB / 474.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.6026, allocations: 0 / 474.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.6038, allocations: 115.8 kB / 474.5 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0034/0.6073, allocations: 349.1 kB / 474.8 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.6074, allocations: 12 kB / 474.8 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.6177, allocations: 2.803 MB / 477.6 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.6178, allocations: 3.953 kB / 477.6 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005864/0.6237, allocations: 1.267 MB / 478.9 MB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000725/0.6244, allocations: 216.3 kB / 479.1 MB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.6247, allocations: 19.98 kB / 479.1 MB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.6262, allocations: 47.97 kB / 479.2 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.6265, allocations: 52.38 kB / 479.2 MB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.6266, allocations: 23.98 kB / 479.3 MB, free: 9.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.6278, allocations: 377.6 kB / 479.6 MB, free: 8.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.438e-06/0.6278, allocations: 4 kB / 479.6 MB, free: 8.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002036/0.6299, allocations: 216 kB / 479.8 MB, free: 8.652 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.Phi,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005752/0.6305, allocations: 167.1 kB / 480 MB, free: 8.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003305/0.6338, allocations: 0.7879 MB / 480.8 MB, free: 7.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.966e-06/0.6338, allocations: 0 / 480.8 MB, free: 7.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.6356, allocations: 484 kB / 481.3 MB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.6369, allocations: 84.27 kB / 481.3 MB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.6419, allocations: 1.107 MB / 482.5 MB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.643, allocations: 0.9199 MB / 483.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007527/0.6438, allocations: 64.75 kB / 483.4 MB, free: 4.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.6441, allocations: 47.42 kB / 483.5 MB, free: 4.922 MB / 394.7 MB Notification: Performance of SimCode: time 2.268e-06/0.6442, allocations: 3.938 kB / 483.5 MB, free: 4.918 MB / 394.7 MB Notification: Performance of Templates: time 0.03901/0.6832, allocations: 12.32 MB / 495.8 MB, free: 8.668 MB / 410.7 MB