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.781/1.781, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.174e-05, allocations: 3.312 kB / 255.3 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07813/0.07818, allocations: 44.51 MB / 299.8 MB, free: 6.605 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4132/0.4914, allocations: 78.9 MB / 378.7 MB, free: 22.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4917, allocations: 85.19 kB / 378.8 MB, free: 22.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1073/0.5991, allocations: 38.5 MB / 417.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.78e-06/0.5991, allocations: 4 kB / 417.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002114/0.5993, allocations: 35.12 kB / 417.4 MB, free: 11.62 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.003285/0.6026, allocations: 1.983 MB / 419.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.6027, allocations: 11.72 kB / 419.4 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005528/0.6033, allocations: 285.3 kB / 419.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/0.6074, allocations: 1.861 MB / 421.5 MB, free: 9.355 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.6076, allocations: 59.53 kB / 421.6 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.6078, allocations: 50.77 kB / 421.6 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/0.6086, allocations: 382.9 kB / 422 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.6086, allocations: 0 / 422 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.6087, allocations: 13.88 kB / 422 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.6087, allocations: 7.719 kB / 422 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006617/0.6094, allocations: 303.6 kB / 422.3 MB, free: 9.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005969/0.6153, allocations: 3.09 MB / 425.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/0.6161, allocations: 298.5 kB / 425.7 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.6164, allocations: 154.5 kB / 425.8 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/0.6165, allocations: 3.156 kB / 425.8 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.6165, allocations: 37.44 kB / 425.9 MB, free: 7.691 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 3.358e-06/0.6165, allocations: 0 / 425.9 MB, free: 7.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.005294/0.6218, allocations: 2.231 MB / 428.1 MB, free: 6.492 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.6219, allocations: 85.41 kB / 428.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01307/0.635, allocations: 4.832 MB / 433 MB, free: 4.012 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-05/0.6351, allocations: 36.45 kB / 433 MB, free: 3.977 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.6363, allocations: 0.9041 MB / 434 MB, free: 3.715 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.6364, allocations: 167.3 kB / 434.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.6365, allocations: 7.125 kB / 434.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.712e-05/0.6365, allocations: 329.7 kB / 434.4 MB, free: 3.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.6369, allocations: 139.6 kB / 434.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.6372, allocations: 214.3 kB / 434.8 MB, free: 2.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.6377, allocations: 229.1 kB / 435 MB, free: 2.816 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.82e-06/0.6377, allocations: 0 / 435 MB, free: 2.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001074/0.6388, allocations: 0.5596 MB / 435.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.6388, allocations: 59.41 kB / 435.6 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.551e-06/0.6388, allocations: 4.156 kB / 435.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/0.6395, allocations: 153.7 kB / 435.8 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.64, allocations: 99.62 kB / 435.9 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009228/0.641, allocations: 0.7677 MB / 436.7 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/0.6418, allocations: 19.88 kB / 436.7 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.6419, allocations: 23.92 kB / 436.7 MB, free: 1.363 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.0001433/0.6421, allocations: 132.5 kB / 436.8 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005163/0.6426, allocations: 276.5 kB / 437.1 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.6446, allocations: 0.7498 MB / 437.8 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.6446, allocations: 4 kB / 437.8 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.538e-06/0.6447, allocations: 4 kB / 437.9 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.6447, allocations: 7.969 kB / 437.9 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.6479, allocations: 1.692 MB / 439.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.648, allocations: 11.98 kB / 439.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.6487, allocations: 92.89 kB / 439.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004081/0.6491, allocations: 97.14 kB / 439.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.6492, allocations: 16.75 kB / 439.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009013/0.6501, allocations: 0.6371 MB / 440.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.121e-06/0.6502, allocations: 4.031 kB / 440.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.6524, allocations: 1.057 MB / 441.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/0.6543, allocations: 0.6654 MB / 442.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/0.6547, allocations: 19.56 kB / 442.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008251/0.6555, allocations: 27.42 kB / 442.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.6557, allocations: 32.08 kB / 442.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.6557, allocations: 15.94 kB / 442.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.008429/0.6642, allocations: 3.8 MB / 446 MB, free: 10.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.86e-07/0.6642, allocations: 0 / 446 MB, free: 10.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001734/0.666, allocations: 335.9 kB / 446.3 MB, free: 9.734 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.001457/0.6675, allocations: 387.6 kB / 446.7 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.6688, allocations: 484.4 kB / 447.2 MB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.322e-06/0.6689, allocations: 0 / 447.2 MB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005342/0.6694, allocations: 210.3 kB / 447.4 MB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.671, allocations: 178.4 kB / 447.6 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.6828, allocations: 5.022 MB / 452.6 MB, free: 3.457 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.6858, allocations: 1.853 MB / 454.5 MB, free: 1.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007612/0.6866, allocations: 135.4 kB / 454.6 MB, free: 1.438 MB / 330.7 MB Notification: Performance of SimCode: time 1.79e-06/0.6866, allocations: 0 / 454.6 MB, free: 1.438 MB / 330.7 MB Notification: Performance of Templates: time 0.0994/0.786, allocations: 40.26 MB / 494.8 MB, free: 9.094 MB / 378.7 MB