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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.941e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08166/0.08172, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.4262, allocations: 89.98 MB / 406.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4265, allocations: 79.39 kB / 407 MB, free: 14.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06516/0.4917, allocations: 15.51 MB / 422.5 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.343e-06/0.4917, allocations: 0 / 422.5 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.935e-05/0.4918, allocations: 12 kB / 422.5 MB, free: 0.9844 MB / 330.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.001949/0.4937, allocations: 0.8506 MB / 423.4 MB, free: 128 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4938, allocations: 12.03 kB / 423.4 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.494, allocations: 79.06 kB / 423.5 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.4949, allocations: 0.4889 MB / 423.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.4951, allocations: 74.27 kB / 424 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.4953, allocations: 63.23 kB / 424.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.4966, allocations: 0.5635 MB / 424.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.4967, allocations: 0 / 424.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.701e-05/0.4968, allocations: 22.94 kB / 424.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.4968, allocations: 16 kB / 424.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.498, allocations: 470.9 kB / 425.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004663/0.5026, allocations: 2.332 MB / 427.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009605/0.5036, allocations: 422.5 kB / 427.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/0.5042, allocations: 242.3 kB / 428.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.5043, allocations: 4 kB / 428.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.5043, allocations: 41 kB / 428.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 3.659e-06/0.5043, allocations: 0 / 428.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.01352/0.5179, allocations: 3.03 MB / 431.2 MB, free: 9.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.518, allocations: 81.67 kB / 431.3 MB, free: 9.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.5189, allocations: 489.3 kB / 431.7 MB, free: 9.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.648e-05/0.519, allocations: 35.7 kB / 431.8 MB, free: 9.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.5193, allocations: 306.9 kB / 432.1 MB, free: 9.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.5195, allocations: 217.1 kB / 432.3 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.5196, allocations: 10.25 kB / 432.3 MB, free: 9.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.5198, allocations: 375.9 kB / 432.7 MB, free: 8.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/0.5204, allocations: 218.3 kB / 432.9 MB, free: 8.562 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.521, allocations: 311.9 kB / 433.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/0.5217, allocations: 255.5 kB / 433.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.175e-06/0.5217, allocations: 0 / 433.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00815/0.5299, allocations: 1.791 MB / 435.2 MB, free: 6.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.5299, allocations: 4 kB / 435.2 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.53, allocations: 4 kB / 435.2 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/0.5409, allocations: 1.162 MB / 436.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.5421, allocations: 99.38 kB / 436.5 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03143/0.5735, allocations: 5.777 MB / 442.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.5751, allocations: 42.84 kB / 442.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.5753, allocations: 23.67 kB / 442.3 MB, free: 1.484 MB / 346.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.000387/0.5757, allocations: 134.2 kB / 442.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.5761, allocations: 55.34 kB / 442.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/0.58, allocations: 0.7714 MB / 443.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/0.5801, allocations: 11.95 kB / 443.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.5801, allocations: 3.984 kB / 443.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.5801, allocations: 0 / 443.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009193/0.5894, allocations: 1.82 MB / 445.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.5894, allocations: 4 kB / 445.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.5909, allocations: 115.9 kB / 445.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003831/0.5947, allocations: 344.3 kB / 445.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.5949, allocations: 19.98 kB / 445.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.6062, allocations: 2.811 MB / 448.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.443e-06/0.6063, allocations: 0 / 448.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006529/0.6128, allocations: 1.275 MB / 449.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008181/0.6137, allocations: 212.3 kB / 449.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.614, allocations: 12 kB / 449.9 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.6155, allocations: 47.95 kB / 450 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/0.6159, allocations: 52.5 kB / 450 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.616, allocations: 19.98 kB / 450 MB, free: 9.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001319/0.6174, allocations: 377.6 kB / 450.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.218e-06/0.6174, allocations: 0 / 450.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002615/0.62, allocations: 220 kB / 450.6 MB, free: 9.117 MB / 362.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.0007119/0.6208, allocations: 167.1 kB / 450.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.6234, allocations: 0.7879 MB / 451.6 MB, free: 8.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.127e-06/0.6234, allocations: 11.88 kB / 451.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.6245, allocations: 479.5 kB / 452 MB, free: 7.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006675/0.6252, allocations: 81.84 kB / 452.1 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.6281, allocations: 1.107 MB / 453.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/0.6288, allocations: 0.9238 MB / 454.2 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004292/0.6293, allocations: 60.75 kB / 454.2 MB, free: 5.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.6295, allocations: 43.42 kB / 454.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of SimCode: time 1.752e-06/0.6295, allocations: 0 / 454.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of Templates: time 0.02962/0.6591, allocations: 12.32 MB / 466.6 MB, free: 9.102 MB / 378.7 MB