Running command: translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadModel(ModelicaTest): time 2.239/2.239, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.327e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3266, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.4586, allocations: 85.04 MB / 467.2 MB, free: 7.484 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.4589, allocations: 71.91 kB / 467.3 MB, free: 7.414 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.003541/0.4624, allocations: 0.9325 MB / 468.2 MB, free: 6.48 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4625, allocations: 0 / 468.2 MB, free: 6.48 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.4625, allocations: 4 kB / 468.2 MB, free: 6.477 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004093/0.4629, allocations: 342.9 kB / 468.6 MB, free: 6.098 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.463, allocations: 8.031 kB / 468.6 MB, free: 6.09 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.463, allocations: 4 kB / 468.6 MB, free: 6.086 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.4632, allocations: 170.9 kB / 468.8 MB, free: 5.879 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4632, allocations: 8 kB / 468.8 MB, free: 5.871 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.4632, allocations: 3.938 kB / 468.8 MB, free: 5.867 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.4634, allocations: 59.39 kB / 468.8 MB, free: 5.797 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4634, allocations: 0 / 468.8 MB, free: 5.797 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4634, allocations: 0 / 468.8 MB, free: 5.797 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.4634, allocations: 0 / 468.8 MB, free: 5.797 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.13e-05/0.4635, allocations: 15.98 kB / 468.8 MB, free: 5.781 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.464, allocations: 264.9 kB / 469.1 MB, free: 5.473 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/0.4641, allocations: 30.52 kB / 469.1 MB, free: 5.434 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.4641, allocations: 8.922 kB / 469.1 MB, free: 5.422 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.4641, allocations: 0 / 469.1 MB, free: 5.422 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.4642, allocations: 38.55 kB / 469.2 MB, free: 5.375 MB / 394.8 MB Notification: Performance of pre-optimization done (n=2): time 1.76e-06/0.4642, allocations: 0 / 469.2 MB, free: 5.375 MB / 394.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001695/0.4644, allocations: 41.7 kB / 469.2 MB, free: 5.328 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.4644, allocations: 81.14 kB / 469.3 MB, free: 5.23 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/0.4645, allocations: 101 kB / 469.4 MB, free: 5.125 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.4646, allocations: 25.7 kB / 469.4 MB, free: 5.094 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.123e-05/0.4647, allocations: 88.14 kB / 469.5 MB, free: 5.004 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.4647, allocations: 7.844 kB / 469.5 MB, free: 4.996 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.4647, allocations: 0 / 469.5 MB, free: 4.996 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4649, allocations: 326.8 kB / 469.8 MB, free: 4.668 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/0.4649, allocations: 7.938 kB / 469.8 MB, free: 4.66 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.662e-05/0.465, allocations: 21.72 kB / 469.9 MB, free: 4.633 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.465, allocations: 8 kB / 469.9 MB, free: 4.625 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-06/0.465, allocations: 0 / 469.9 MB, free: 4.625 MB / 394.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001271/0.4652, allocations: 53.59 kB / 469.9 MB, free: 4.566 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4652, allocations: 4 kB / 469.9 MB, free: 4.562 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-06/0.4652, allocations: 0 / 469.9 MB, free: 4.562 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.4652, allocations: 0 / 469.9 MB, free: 4.562 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.4653, allocations: 7.984 kB / 469.9 MB, free: 4.555 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.652e-06/0.4653, allocations: 0 / 469.9 MB, free: 4.555 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.552e-05/0.4654, allocations: 12.03 kB / 469.9 MB, free: 4.543 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.4655, allocations: 7.984 kB / 470 MB, free: 4.535 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.957e-05/0.4656, allocations: 104.9 kB / 470.1 MB, free: 4.426 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.4656, allocations: 15.88 kB / 470.1 MB, free: 4.41 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.4657, allocations: 3.656 kB / 470.1 MB, free: 4.402 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-06/0.4657, allocations: 0 / 470.1 MB, free: 4.402 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.108e-06/0.4657, allocations: 4 kB / 470.1 MB, free: 4.398 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.579e-06/0.4657, allocations: 4 kB / 470.1 MB, free: 4.395 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.4659, allocations: 169.6 kB / 470.2 MB, free: 4.18 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-06/0.466, allocations: 0 / 470.2 MB, free: 4.18 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.466, allocations: 4 kB / 470.3 MB, free: 4.176 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.415e-06/0.466, allocations: 0 / 470.3 MB, free: 4.176 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4661, allocations: 3.984 kB / 470.3 MB, free: 4.172 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.122e-06/0.4661, allocations: 0 / 470.3 MB, free: 4.172 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-06/0.4661, allocations: 0 / 470.3 MB, free: 4.172 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.4663, allocations: 143.5 kB / 470.4 MB, free: 4.016 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.4663, allocations: 85.02 kB / 470.5 MB, free: 3.914 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.4664, allocations: 0 / 470.5 MB, free: 3.914 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.4665, allocations: 12.12 kB / 470.5 MB, free: 3.902 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.4666, allocations: 11.97 kB / 470.5 MB, free: 3.891 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.595e-06/0.4666, allocations: 4 kB / 470.5 MB, free: 3.887 MB / 394.8 MB Notification: Performance of sorting global known variables: time 6.493e-05/0.4667, allocations: 87.58 kB / 470.6 MB, free: 3.801 MB / 394.8 MB Notification: Performance of sort global known variables: time 4.613e-06/0.4667, allocations: 4.031 kB / 470.6 MB, free: 3.797 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0002962/0.467, allocations: 15.88 kB / 470.6 MB, free: 3.781 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001179/0.4671, allocations: 95.25 kB / 470.7 MB, free: 3.68 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.4672, allocations: 19.98 kB / 470.7 MB, free: 3.66 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4673, allocations: 0 / 470.7 MB, free: 3.66 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/0.4673, allocations: 12 kB / 470.7 MB, free: 3.648 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.4675, allocations: 4.516 kB / 470.7 MB, free: 3.645 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.4677, allocations: 70.52 kB / 470.8 MB, free: 3.555 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.4681, allocations: 0.6809 MB / 471.5 MB, free: 2.848 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.418e-05/0.4682, allocations: 0 / 471.5 MB, free: 2.848 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.4682, allocations: 7.438 kB / 471.5 MB, free: 2.84 MB / 394.8 MB Notification: Performance of SimCode: time 1.317e-06/0.4682, allocations: 0 / 471.5 MB, free: 2.84 MB / 394.8 MB Notification: Performance of Templates: time 0.002762/0.471, allocations: 486 kB / 472 MB, free: 2.371 MB / 394.8 MB