Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|tr.Core.B|tr.Core.Hstat|tr.Core.MagRel|tr.Wp.i|tr.Ws.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadModel(Modelica): time 1.809/1.809, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.876e-05, allocations: 4 kB / 255.3 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07838/0.07843, allocations: 44.5 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3455/0.424, allocations: 85.2 MB / 385.1 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4243, allocations: 78.67 kB / 385.1 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06207/0.4864, allocations: 15.49 MB / 400.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.038e-06/0.4864, allocations: 0 / 400.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.019e-05/0.4865, allocations: 15.59 kB / 400.6 MB, free: 18.41 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001837/0.4883, allocations: 0.8449 MB / 401.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4884, allocations: 11.75 kB / 401.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.4886, allocations: 82.02 kB / 401.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/0.4895, allocations: 497.3 kB / 402.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-05/0.4896, allocations: 74.14 kB / 402.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/0.4899, allocations: 71.98 kB / 402.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.4912, allocations: 0.5724 MB / 402.8 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.4912, allocations: 0 / 402.8 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.4913, allocations: 22.66 kB / 402.8 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.4913, allocations: 15.56 kB / 402.8 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.4925, allocations: 483.6 kB / 403.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004634/0.4972, allocations: 2.32 MB / 405.6 MB, free: 16.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.4982, allocations: 429.6 kB / 406 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/0.4988, allocations: 245.3 kB / 406.3 MB, free: 16.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.4988, allocations: 11.89 kB / 406.3 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.4989, allocations: 42.3 kB / 406.3 MB, free: 16.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 4.388e-06/0.4989, allocations: 0 / 406.3 MB, free: 16.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.01376/0.5127, allocations: 3.016 MB / 409.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.5128, allocations: 81.58 kB / 409.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.5141, allocations: 482.8 kB / 409.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.5143, allocations: 40.38 kB / 409.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.5144, allocations: 356.5 kB / 410.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.5146, allocations: 204.9 kB / 410.5 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.5147, allocations: 15.28 kB / 410.5 MB, free: 14.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.5148, allocations: 333.6 kB / 410.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.5153, allocations: 226.5 kB / 411 MB, free: 14.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/0.516, allocations: 313.6 kB / 411.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.5166, allocations: 259.9 kB / 411.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/0.5166, allocations: 0 / 411.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.008039/0.5247, allocations: 1.758 MB / 413.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5248, allocations: 7.875 kB / 413.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5248, allocations: 3.844 kB / 413.4 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007863/0.5327, allocations: 1.164 MB / 414.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005927/0.5333, allocations: 97.44 kB / 414.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.5487, allocations: 5.778 MB / 420.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008077/0.5496, allocations: 49.59 kB / 420.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.5496, allocations: 22.77 kB / 420.5 MB, free: 11.4 MB / 314.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.0001782/0.5498, allocations: 141 kB / 420.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.55, allocations: 62.73 kB / 420.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.5518, allocations: 0.7678 MB / 421.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.983e-06/0.5519, allocations: 7.812 kB / 421.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.883e-06/0.5519, allocations: 0 / 421.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5519, allocations: 3.984 kB / 421.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.5561, allocations: 1.835 MB / 423.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.145e-06/0.5562, allocations: 3.938 kB / 423.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/0.5569, allocations: 113 kB / 423.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/0.559, allocations: 342.6 kB / 423.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.5592, allocations: 11.28 kB / 423.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005259/0.5644, allocations: 2.801 MB / 426.5 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.636e-06/0.5645, allocations: 0 / 426.5 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003219/0.5677, allocations: 1.287 MB / 427.8 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006776/0.5684, allocations: 210.5 kB / 428 MB, free: 24.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.5686, allocations: 12.44 kB / 428 MB, free: 24.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/0.5694, allocations: 44.78 kB / 428.1 MB, free: 24.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.5696, allocations: 57.16 kB / 428.1 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.5697, allocations: 19.69 kB / 428.2 MB, free: 24.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006364/0.5703, allocations: 379.3 kB / 428.5 MB, free: 23.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.5703, allocations: 0 / 428.5 MB, free: 23.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00127/0.5716, allocations: 220.4 kB / 428.7 MB, free: 23.97 MB / 330.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.0003949/0.572, allocations: 167.3 kB / 428.9 MB, free: 23.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.5739, allocations: 0.8105 MB / 429.7 MB, free: 23.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.894e-06/0.5739, allocations: 0 / 429.7 MB, free: 23.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009845/0.5749, allocations: 493.7 kB / 430.2 MB, free: 23.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/0.5758, allocations: 86.72 kB / 430.3 MB, free: 23.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.5786, allocations: 1.146 MB / 431.4 MB, free: 22.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006565/0.5793, allocations: 0.9187 MB / 432.3 MB, free: 21.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.5796, allocations: 47.36 kB / 432.4 MB, free: 21.78 MB / 330.7 MB Notification: Performance of SimCode: time 2.189e-06/0.5796, allocations: 0 / 432.4 MB, free: 21.78 MB / 330.7 MB Notification: Performance of Templates: time 0.01839/0.598, allocations: 11.23 MB / 443.6 MB, free: 12.39 MB / 330.7 MB