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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadModel(Modelica): time 1.805/1.805, allocations: 194.9 MB / 208 MB, free: 3.234 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.748e-05, allocations: 4 kB / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 44.49 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3355/0.4509, allocations: 85.21 MB / 385.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.4512, allocations: 77.73 kB / 385.2 MB, free: 20.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05925/0.5105, allocations: 15.49 MB / 400.7 MB, free: 18.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5105, allocations: 0 / 400.7 MB, free: 18.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.462e-05/0.5105, allocations: 19.34 kB / 400.7 MB, free: 18.17 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.001594/0.5121, allocations: 0.8476 MB / 401.5 MB, free: 17.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5122, allocations: 11.72 kB / 401.5 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.5124, allocations: 77.95 kB / 401.6 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008176/0.5132, allocations: 495.3 kB / 402.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.548e-05/0.5133, allocations: 71.77 kB / 402.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.5135, allocations: 71.97 kB / 402.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.5147, allocations: 0.558 MB / 402.8 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.5147, allocations: 0 / 402.8 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.5148, allocations: 25.19 kB / 402.8 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.5148, allocations: 11.81 kB / 402.8 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.5159, allocations: 474.3 kB / 403.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003923/0.5199, allocations: 2.334 MB / 405.6 MB, free: 16.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008018/0.5207, allocations: 431.6 kB / 406.1 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/0.5212, allocations: 239.3 kB / 406.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.5213, allocations: 8.141 kB / 406.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.5213, allocations: 42.05 kB / 406.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 3.425e-06/0.5213, allocations: 0 / 406.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.01304/0.5344, allocations: 3.016 MB / 409.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.5344, allocations: 85.48 kB / 409.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009559/0.5354, allocations: 487.5 kB / 409.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.983e-05/0.5355, allocations: 36.8 kB / 409.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.5358, allocations: 307.2 kB / 410.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.5361, allocations: 218.8 kB / 410.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-05/0.5362, allocations: 19.62 kB / 410.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5364, allocations: 369.7 kB / 410.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008892/0.5373, allocations: 222.1 kB / 411.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.5384, allocations: 313.8 kB / 411.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.5395, allocations: 255.3 kB / 411.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.228e-06/0.5395, allocations: 3.906 kB / 411.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0138/0.5533, allocations: 1.78 MB / 413.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.5534, allocations: 3.906 kB / 413.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.5535, allocations: 7.891 kB / 413.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01265/0.5661, allocations: 1.166 MB / 414.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009569/0.5671, allocations: 94.27 kB / 414.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0258/0.593, allocations: 5.781 MB / 420.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.5944, allocations: 42.27 kB / 420.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.5946, allocations: 23.55 kB / 420.5 MB, free: 11.08 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.0002835/0.5949, allocations: 134.8 kB / 420.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.5952, allocations: 61.95 kB / 420.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.5984, allocations: 0.7721 MB / 421.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.5984, allocations: 7.75 kB / 421.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.898e-06/0.5985, allocations: 0 / 421.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.868e-05/0.5985, allocations: 3.984 kB / 421.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007838/0.6064, allocations: 1.833 MB / 423.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.6064, allocations: 0 / 423.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.6079, allocations: 117.8 kB / 423.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003754/0.6117, allocations: 333.6 kB / 423.8 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.6119, allocations: 17.48 kB / 423.8 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/0.6219, allocations: 2.818 MB / 426.6 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.885e-06/0.622, allocations: 0 / 426.6 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006049/0.6281, allocations: 1.278 MB / 427.9 MB, free: 23.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/0.6286, allocations: 209.2 kB / 428.1 MB, free: 23.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.6287, allocations: 12.97 kB / 428.1 MB, free: 23.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007527/0.6295, allocations: 48.03 kB / 428.1 MB, free: 23.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.6296, allocations: 62.41 kB / 428.2 MB, free: 23.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.6297, allocations: 15.41 kB / 428.2 MB, free: 23.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006062/0.6303, allocations: 382.9 kB / 428.6 MB, free: 23.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.6303, allocations: 0 / 428.6 MB, free: 23.65 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001118/0.6315, allocations: 218.1 kB / 428.8 MB, free: 23.64 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.0003532/0.6318, allocations: 166.2 kB / 429 MB, free: 23.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.6336, allocations: 0.7959 MB / 429.8 MB, free: 23.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.215e-06/0.6336, allocations: 0 / 429.8 MB, free: 23.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009329/0.6345, allocations: 475.8 kB / 430.2 MB, free: 23.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/0.6353, allocations: 78.7 kB / 430.3 MB, free: 23.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.6378, allocations: 1.115 MB / 431.4 MB, free: 22.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.6385, allocations: 0.9222 MB / 432.3 MB, free: 21.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004084/0.6389, allocations: 59.64 kB / 432.4 MB, free: 21.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.6391, allocations: 42.77 kB / 432.4 MB, free: 21.49 MB / 330.7 MB Notification: Performance of SimCode: time 1.691e-06/0.6392, allocations: 0 / 432.4 MB, free: 21.49 MB / 330.7 MB Notification: Performance of Templates: time 0.02724/0.6664, allocations: 12.31 MB / 444.8 MB, free: 10.85 MB / 330.7 MB