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 2.097/2.097, allocations: 194.9 MB / 211.2 MB, free: 8.066 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.057e-05, allocations: 4 kB / 258.8 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3435, allocations: 44.49 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005933/0.3495, allocations: 3.443 MB / 306.7 MB, free: 10 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.3535, allocations: 1.43 MB / 308.2 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006503/0.3542, allocations: 19.94 kB / 308.2 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.3546, allocations: 87.34 kB / 308.3 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.3559, allocations: 314.9 kB / 308.6 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.3565, allocations: 143.7 kB / 308.7 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.3576, allocations: 476.6 kB / 309.2 MB, free: 7.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.3579, allocations: 120.3 kB / 309.3 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005165/0.3585, allocations: 275.2 kB / 309.6 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006209/0.3591, allocations: 327 kB / 309.9 MB, free: 7.035 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.3597, allocations: 155.9 kB / 310 MB, free: 6.883 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.3598, allocations: 44 kB / 310.1 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.36, allocations: 123.5 kB / 310.2 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.3602, allocations: 68 kB / 310.3 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.3616, allocations: 0.8898 MB / 311.2 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3616, allocations: 0 / 311.2 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3616, allocations: 0 / 311.2 MB, free: 5.762 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.3617, allocations: 0 / 311.2 MB, free: 5.762 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.002898/0.3646, allocations: 0.8604 MB / 312 MB, free: 4.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.3646, allocations: 8.031 kB / 312 MB, free: 4.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/0.365, allocations: 79.11 kB / 312.1 MB, free: 4.77 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.3662, allocations: 0.494 MB / 312.6 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.3663, allocations: 82.94 kB / 312.7 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/0.3667, allocations: 67.98 kB / 312.7 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.3685, allocations: 0.5941 MB / 313.3 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.3686, allocations: 3.984 kB / 313.3 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.3687, allocations: 28 kB / 313.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.3687, allocations: 15.95 kB / 313.4 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.3706, allocations: 0.5321 MB / 313.9 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005798/0.3765, allocations: 2.318 MB / 316.2 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.3783, allocations: 491 kB / 316.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.5e-05/0.3784, allocations: 7.844 kB / 316.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.3785, allocations: 42.52 kB / 316.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 3.587e-06/0.3785, allocations: 0 / 316.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.02441/0.4029, allocations: 3.686 MB / 320.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.4031, allocations: 89.66 kB / 320.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.4042, allocations: 497 kB / 321 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.4044, allocations: 37.7 kB / 321.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.4047, allocations: 338.8 kB / 321.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.405, allocations: 212.9 kB / 321.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.4051, allocations: 8 kB / 321.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4052, allocations: 338.8 kB / 321.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.4063, allocations: 253.2 kB / 322.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.4074, allocations: 360.4 kB / 322.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.4086, allocations: 286.1 kB / 322.8 MB, free: 9.668 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/0.4086, allocations: 4 kB / 322.8 MB, free: 9.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002641/0.4112, allocations: 0.7299 MB / 323.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.4113, allocations: 8 kB / 323.6 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4113, allocations: 0 / 323.6 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.4116, allocations: 40.91 kB / 323.6 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.4132, allocations: 167.8 kB / 323.8 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.4147, allocations: 1.343 MB / 325.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.416, allocations: 56.02 kB / 325.2 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/0.4162, allocations: 23.98 kB / 325.2 MB, free: 7.156 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.0004497/0.4166, allocations: 205.7 kB / 325.4 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.4168, allocations: 63.25 kB / 325.4 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.42, allocations: 0.8724 MB / 326.3 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.4201, allocations: 8 kB / 326.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4201, allocations: 0 / 326.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.4201, allocations: 0 / 326.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006475/0.4266, allocations: 1.881 MB / 328.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.4267, allocations: 0 / 328.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.4278, allocations: 119.8 kB / 328.3 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00437/0.4322, allocations: 0.4966 MB / 328.8 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.4324, allocations: 12 kB / 328.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008331/0.4407, allocations: 2.996 MB / 331.8 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4408, allocations: 4.062 kB / 331.8 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005247/0.446, allocations: 1.422 MB / 333.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/0.4466, allocations: 212.4 kB / 333.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.4468, allocations: 11.95 kB / 333.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.4479, allocations: 55.97 kB / 333.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.4481, allocations: 48.42 kB / 333.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.4482, allocations: 16 kB / 333.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007335/0.4489, allocations: 386.9 kB / 334 MB, free: 14.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.449, allocations: 0 / 334 MB, free: 14.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001037/0.45, allocations: 188 kB / 334.2 MB, free: 13.92 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.0004202/0.4504, allocations: 151.2 kB / 334.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002512/0.453, allocations: 0.7523 MB / 335.1 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.453, allocations: 0 / 335.1 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.4546, allocations: 0.5293 MB / 335.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008912/0.4555, allocations: 81.81 kB / 335.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/0.4602, allocations: 1.843 MB / 337.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.4609, allocations: 0.9124 MB / 338.4 MB, free: 9.559 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.4614, allocations: 55.41 kB / 338.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of SimCode: time 1.442e-06/0.4614, allocations: 4 kB / 338.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of Templates: time 0.02424/0.4856, allocations: 11.32 MB / 349.8 MB, free: 14.19 MB / 298.7 MB