Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Core.B|Core.Hstat|Core.MagRel|WindingPrim.i|WindingSec.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.405e-05/4.419e-05, allocations: 7.094 kB / 255.4 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 44.5 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.4502, allocations: 78.91 MB / 378.8 MB, free: 22.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4504, allocations: 78.25 kB / 378.9 MB, free: 22.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1071/0.5576, allocations: 38.49 MB / 417.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.302e-06/0.5576, allocations: 4 kB / 417.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002407/0.5579, allocations: 35.19 kB / 417.4 MB, free: 11.52 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00363/0.5615, allocations: 1.984 MB / 419.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.5616, allocations: 11.72 kB / 419.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.5622, allocations: 283.9 kB / 419.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/0.5664, allocations: 1.867 MB / 421.5 MB, free: 9.254 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/0.5666, allocations: 56.44 kB / 421.6 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.5668, allocations: 52.77 kB / 421.6 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.5676, allocations: 369.3 kB / 422 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.5676, allocations: 3.75 kB / 422 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.5677, allocations: 18.25 kB / 422 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5677, allocations: 7.625 kB / 422 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/0.5684, allocations: 293 kB / 422.3 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00597/0.5744, allocations: 3.095 MB / 425.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006482/0.5751, allocations: 297.4 kB / 425.7 MB, free: 7.656 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.5754, allocations: 156.4 kB / 425.8 MB, free: 7.633 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.5754, allocations: 3.875 kB / 425.9 MB, free: 7.633 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.5755, allocations: 34.38 kB / 425.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 3.811e-06/0.5755, allocations: 0 / 425.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.005334/0.5808, allocations: 2.225 MB / 428.1 MB, free: 6.398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.5809, allocations: 85.41 kB / 428.2 MB, free: 6.301 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01343/0.5943, allocations: 4.835 MB / 433 MB, free: 4.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.436e-05/0.5945, allocations: 36.52 kB / 433.1 MB, free: 3.969 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.5956, allocations: 0.9069 MB / 434 MB, free: 3.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.5958, allocations: 167.4 kB / 434.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.5959, allocations: 7.312 kB / 434.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.5959, allocations: 333.6 kB / 434.5 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.5963, allocations: 143.1 kB / 434.6 MB, free: 3.148 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.5966, allocations: 205.1 kB / 434.8 MB, free: 2.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.597, allocations: 223.2 kB / 435 MB, free: 2.812 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.919e-06/0.5971, allocations: 4 kB / 435 MB, free: 2.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001067/0.5981, allocations: 0.5491 MB / 435.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.5982, allocations: 55.41 kB / 435.6 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5982, allocations: 8.156 kB / 435.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.5989, allocations: 152.5 kB / 435.8 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.5994, allocations: 99.75 kB / 435.9 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009122/0.6003, allocations: 0.7641 MB / 436.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009191/0.6013, allocations: 18.38 kB / 436.7 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.6013, allocations: 23.73 kB / 436.7 MB, free: 1.367 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * 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 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.6015, allocations: 138 kB / 436.8 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006337/0.6021, allocations: 276.5 kB / 437.1 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.6042, allocations: 0.7453 MB / 437.8 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6042, allocations: 8 kB / 437.8 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.09e-06/0.6043, allocations: 0 / 437.8 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6043, allocations: 3.984 kB / 437.9 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.6078, allocations: 1.699 MB / 439.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.915e-06/0.6079, allocations: 0 / 439.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/0.6086, allocations: 95.33 kB / 439.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000415/0.609, allocations: 101.6 kB / 439.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.6091, allocations: 11.56 kB / 439.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008921/0.61, allocations: 0.6465 MB / 440.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.28e-06/0.61, allocations: 3.953 kB / 440.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.6124, allocations: 1.06 MB / 441.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/0.6142, allocations: 0.6632 MB / 442.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004018/0.6146, allocations: 19.75 kB / 442.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008262/0.6155, allocations: 27.48 kB / 442.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/0.6156, allocations: 32.14 kB / 442.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.6156, allocations: 8 kB / 442.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.008514/0.6242, allocations: 3.799 MB / 446 MB, free: 10.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.352e-06/0.6242, allocations: 0 / 446 MB, free: 10.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001635/0.6258, allocations: 339.9 kB / 446.3 MB, free: 9.781 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001416/0.6273, allocations: 392.1 kB / 446.7 MB, free: 9.449 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.6285, allocations: 478.4 kB / 447.2 MB, free: 8.953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.892e-06/0.6285, allocations: 0 / 447.2 MB, free: 8.953 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.629, allocations: 205.5 kB / 447.4 MB, free: 8.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.6306, allocations: 171.5 kB / 447.6 MB, free: 8.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.6422, allocations: 5.025 MB / 452.6 MB, free: 3.508 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003216/0.6454, allocations: 1.857 MB / 454.4 MB, free: 1.617 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007607/0.6462, allocations: 135.4 kB / 454.6 MB, free: 1.484 MB / 330.7 MB Notification: Performance of SimCode: time 2.147e-06/0.6462, allocations: 0 / 454.6 MB, free: 1.484 MB / 330.7 MB Notification: Performance of Templates: time 0.09474/0.741, allocations: 40.05 MB / 494.6 MB, free: 9.352 MB / 378.7 MB