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.914/1.914, allocations: 194.9 MB / 210.6 MB, free: 9.316 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.884e-05, allocations: 4 kB / 258.8 MB, free: 9.02 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2933, allocations: 44.51 MB / 303.3 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005519/0.2989, allocations: 3.434 MB / 306.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.3026, allocations: 1.437 MB / 308.2 MB, free: 8.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005847/0.3033, allocations: 15.94 kB / 308.2 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.3036, allocations: 83.34 kB / 308.3 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.3049, allocations: 314.9 kB / 308.6 MB, free: 8.434 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.3055, allocations: 139.8 kB / 308.7 MB, free: 8.297 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.3067, allocations: 480.5 kB / 309.2 MB, free: 7.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.307, allocations: 112.3 kB / 309.3 MB, free: 7.719 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005742/0.3076, allocations: 275.3 kB / 309.6 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/0.3083, allocations: 331 kB / 309.9 MB, free: 7.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005506/0.3088, allocations: 151.9 kB / 310.1 MB, free: 6.977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.309, allocations: 44 kB / 310.1 MB, free: 6.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.3092, allocations: 131.5 kB / 310.2 MB, free: 6.805 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.3094, allocations: 64 kB / 310.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.3108, allocations: 0.8826 MB / 311.2 MB, free: 5.859 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3108, allocations: 0 / 311.2 MB, free: 5.859 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3109, allocations: 0 / 311.2 MB, free: 5.859 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.529e-05/0.3109, allocations: 0 / 311.2 MB, free: 5.859 MB / 250.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.002815/0.3137, allocations: 0.8657 MB / 312 MB, free: 4.945 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3138, allocations: 12.02 kB / 312.1 MB, free: 4.934 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.3141, allocations: 79.11 kB / 312.1 MB, free: 4.855 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.3152, allocations: 0.4901 MB / 312.6 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.3153, allocations: 74.95 kB / 312.7 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003333/0.3157, allocations: 63.98 kB / 312.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.3175, allocations: 0.6058 MB / 313.4 MB, free: 3.555 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.3176, allocations: 3.938 kB / 313.4 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.3177, allocations: 20 kB / 313.4 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.3177, allocations: 19.95 kB / 313.4 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.3197, allocations: 0.536 MB / 313.9 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005393/0.3251, allocations: 2.318 MB / 316.3 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.3269, allocations: 481.8 kB / 316.7 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.333e-05/0.327, allocations: 16.2 kB / 316.8 MB, free: 44 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.945e-05/0.327, allocations: 42.52 kB / 316.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 3.506e-06/0.3271, allocations: 0 / 316.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.02377/0.3508, allocations: 3.69 MB / 320.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.3509, allocations: 85.67 kB / 320.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.352, allocations: 493 kB / 321 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.3522, allocations: 37.7 kB / 321.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.3525, allocations: 316.3 kB / 321.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.3528, allocations: 212.9 kB / 321.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.3529, allocations: 8 kB / 321.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3531, allocations: 366.8 kB / 322 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.3541, allocations: 257.2 kB / 322.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.3553, allocations: 356.4 kB / 322.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.3564, allocations: 294.1 kB / 322.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3564, allocations: 0 / 322.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00284/0.3593, allocations: 0.7646 MB / 323.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.3594, allocations: 4.938 kB / 323.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3594, allocations: 4 kB / 323.6 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.3596, allocations: 28.84 kB / 323.7 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.3612, allocations: 175.8 kB / 323.8 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.3627, allocations: 1.343 MB / 325.2 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.3639, allocations: 47.95 kB / 325.2 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/0.364, allocations: 24 kB / 325.2 MB, free: 7.215 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 75 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004468/0.3645, allocations: 209.7 kB / 325.4 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.3647, allocations: 55.34 kB / 325.5 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.3678, allocations: 0.8686 MB / 326.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.3679, allocations: 4 kB / 326.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.3679, allocations: 8.266 kB / 326.4 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.3679, allocations: 0 / 326.4 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006438/0.3744, allocations: 1.885 MB / 328.3 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.3744, allocations: 0 / 328.3 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.3755, allocations: 115.8 kB / 328.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004252/0.3798, allocations: 0.4973 MB / 328.9 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.3799, allocations: 12 kB / 328.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008227/0.3881, allocations: 2.997 MB / 331.9 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.3882, allocations: 4.031 kB / 331.9 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00522/0.3934, allocations: 1.434 MB / 333.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/0.3939, allocations: 212.3 kB / 333.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.3941, allocations: 15.95 kB / 333.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.3952, allocations: 43.97 kB / 333.6 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.3954, allocations: 60.48 kB / 333.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.3955, allocations: 16 kB / 333.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007287/0.3962, allocations: 382.9 kB / 334 MB, free: 14.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3962, allocations: 0 / 334 MB, free: 14.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009756/0.3972, allocations: 192 kB / 334.2 MB, free: 13.97 MB / 282.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.B,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.0003871/0.3976, allocations: 143.2 kB / 334.4 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00254/0.4002, allocations: 0.7521 MB / 335.1 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4002, allocations: 3.938 kB / 335.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.4018, allocations: 0.5294 MB / 335.7 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008349/0.4027, allocations: 77.88 kB / 335.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.4072, allocations: 1.807 MB / 337.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.4078, allocations: 0.9162 MB / 338.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006448/0.4085, allocations: 68.81 kB / 338.5 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.4088, allocations: 51.41 kB / 338.6 MB, free: 9.531 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4088, allocations: 4 kB / 338.6 MB, free: 9.527 MB / 282.7 MB Notification: Performance of Templates: time 0.02746/0.4363, allocations: 9.222 MB / 347.8 MB, free: 344 kB / 282.7 MB