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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadModel(Modelica): time 2.002/2.002, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.675e-05, allocations: 0 / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09055/0.0906, allocations: 50.43 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3741/0.4647, allocations: 93.23 MB / 436.3 MB, free: 1.051 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.465, allocations: 81.7 kB / 436.4 MB, free: 1.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06691/0.5319, allocations: 15.85 MB / 452.3 MB, free: 3.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.078e-06/0.532, allocations: 3.938 kB / 452.3 MB, free: 3.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.975e-05/0.532, allocations: 12 kB / 452.3 MB, free: 3.48 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.001974/0.534, allocations: 0.8506 MB / 453.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5341, allocations: 23.95 kB / 453.1 MB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.5343, allocations: 75.16 kB / 453.2 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000955/0.5353, allocations: 490.7 kB / 453.7 MB, free: 2.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.5354, allocations: 72.7 kB / 453.8 MB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.5357, allocations: 69.88 kB / 453.8 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.537, allocations: 0.5623 MB / 454.4 MB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.537, allocations: 4 kB / 454.4 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.67e-05/0.5371, allocations: 20.56 kB / 454.4 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.5371, allocations: 16 kB / 454.4 MB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.5383, allocations: 471.7 kB / 454.9 MB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00486/0.5432, allocations: 2.324 MB / 457.2 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009607/0.5442, allocations: 431.2 kB / 457.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.5448, allocations: 245.5 kB / 457.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.5449, allocations: 4 kB / 457.9 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.5449, allocations: 38 kB / 457.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 3.416e-06/0.5449, allocations: 0 / 457.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.01355/0.5585, allocations: 3.013 MB / 460.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.5586, allocations: 85.67 kB / 461 MB, free: 12.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009201/0.5595, allocations: 495.8 kB / 461.5 MB, free: 11.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.261e-05/0.5596, allocations: 31.7 kB / 461.5 MB, free: 11.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.5599, allocations: 312.7 kB / 461.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/0.5602, allocations: 212.8 kB / 462 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.5603, allocations: 12 kB / 462.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.5605, allocations: 370.7 kB / 462.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000603/0.5611, allocations: 221.5 kB / 462.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.5618, allocations: 319.3 kB / 462.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.5625, allocations: 255.2 kB / 463.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.763e-06/0.5625, allocations: 0 / 463.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.008216/0.5708, allocations: 1.787 MB / 465 MB, free: 8.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.5708, allocations: 4 kB / 465 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5709, allocations: 4 kB / 465 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007303/0.5782, allocations: 1.168 MB / 466.2 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.5788, allocations: 95.88 kB / 466.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/0.5958, allocations: 5.775 MB / 472 MB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007857/0.5966, allocations: 47.97 kB / 472.1 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/0.5967, allocations: 20 kB / 472.1 MB, free: 1.18 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.000244/0.5969, allocations: 144.9 kB / 472.2 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.5972, allocations: 55.34 kB / 472.3 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.5992, allocations: 0.7632 MB / 473.1 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.5992, allocations: 8 kB / 473.1 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.491e-06/0.5993, allocations: 4 kB / 473.1 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.5993, allocations: 3.984 kB / 473.1 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004745/0.604, allocations: 1.828 MB / 474.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.055e-06/0.6041, allocations: 7.938 kB / 474.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007491/0.6048, allocations: 111.9 kB / 475 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002016/0.6069, allocations: 337.1 kB / 475.3 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/0.607, allocations: 23.98 kB / 475.4 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006002/0.613, allocations: 2.798 MB / 478.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.613, allocations: 7.953 kB / 478.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/0.6164, allocations: 1.267 MB / 479.4 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005206/0.617, allocations: 216.3 kB / 479.7 MB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.6171, allocations: 12 kB / 479.7 MB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.6179, allocations: 51.97 kB / 479.7 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.6181, allocations: 56.36 kB / 479.8 MB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/0.6182, allocations: 19.94 kB / 479.8 MB, free: 9.227 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007113/0.619, allocations: 381.6 kB / 480.2 MB, free: 8.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.619, allocations: 0 / 480.2 MB, free: 8.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001223/0.6202, allocations: 216 kB / 480.4 MB, free: 8.645 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.0003914/0.6206, allocations: 167.1 kB / 480.5 MB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.6226, allocations: 0.7954 MB / 481.3 MB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.963e-06/0.6226, allocations: 0 / 481.3 MB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.6237, allocations: 488.6 kB / 481.8 MB, free: 7.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.6245, allocations: 73.72 kB / 481.9 MB, free: 7.109 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.6275, allocations: 1.115 MB / 483 MB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.6282, allocations: 0.9199 MB / 483.9 MB, free: 5.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004422/0.6287, allocations: 64.75 kB / 484 MB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.6289, allocations: 43.42 kB / 484 MB, free: 4.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.754e-06/0.629, allocations: 0 / 484 MB, free: 4.91 MB / 394.7 MB Notification: Performance of Templates: time 0.03139/0.6604, allocations: 12.32 MB / 496.3 MB, free: 8.66 MB / 410.7 MB