Running command: translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.314e-05, allocations: 4 kB / 304.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3346, allocations: 54.86 MB / 359.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4627, allocations: 80.13 MB / 439.9 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.4629, allocations: 55.97 kB / 440 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003442/0.4664, allocations: 0.9214 MB / 440.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.517e-06/0.4664, allocations: 0 / 440.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.079e-06/0.4664, allocations: 0 / 440.9 MB, free: 15.86 MB / 378.7 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.0004202/0.4669, allocations: 338.5 kB / 441.2 MB, free: 15.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4669, allocations: 8.688 kB / 441.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.467, allocations: 7.953 kB / 441.2 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.4672, allocations: 175 kB / 441.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.4672, allocations: 0 / 441.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.4672, allocations: 0 / 441.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.4674, allocations: 55.41 kB / 441.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4674, allocations: 7.438 kB / 441.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4674, allocations: 0 / 441.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4674, allocations: 4 kB / 441.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.4675, allocations: 11.95 kB / 441.5 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.468, allocations: 261.6 kB / 441.7 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.035e-05/0.4681, allocations: 26.58 kB / 441.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.4681, allocations: 12.92 kB / 441.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.4682, allocations: 0 / 441.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.4682, allocations: 38.48 kB / 441.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.036e-06/0.4682, allocations: 4 kB / 441.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000182/0.4684, allocations: 45.66 kB / 441.9 MB, free: 14.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.4685, allocations: 77.11 kB / 441.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4686, allocations: 107.6 kB / 442 MB, free: 14.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.4687, allocations: 29.7 kB / 442.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.4687, allocations: 88.08 kB / 442.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.4688, allocations: 7.906 kB / 442.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-06/0.4688, allocations: 0 / 442.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.469, allocations: 322.9 kB / 442.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.411e-05/0.469, allocations: 8 kB / 442.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.4691, allocations: 21.72 kB / 442.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.4691, allocations: 0 / 442.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.419e-06/0.4691, allocations: 4 kB / 442.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001328/0.4693, allocations: 57.53 kB / 442.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4693, allocations: 5.719 kB / 442.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.174e-06/0.4693, allocations: 0 / 442.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4693, allocations: 4.781 kB / 442.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/0.4694, allocations: 11.94 kB / 442.6 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4695, allocations: 4 kB / 442.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.982e-05/0.4696, allocations: 8 kB / 442.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.4696, allocations: 0 / 442.6 MB, free: 13.93 MB / 378.7 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 9.337e-05/0.4697, allocations: 105.7 kB / 442.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.4697, allocations: 4 kB / 442.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.4698, allocations: 14.94 kB / 442.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4698, allocations: 0 / 442.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.463e-06/0.4698, allocations: 7.953 kB / 442.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-06/0.4698, allocations: 0 / 442.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.4701, allocations: 157.7 kB / 442.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-06/0.4701, allocations: 0.625 kB / 442.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.473e-05/0.4701, allocations: 4.141 kB / 442.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.162e-06/0.4702, allocations: 0 / 442.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.4702, allocations: 9 kB / 442.9 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.379e-06/0.4702, allocations: 5.062 kB / 442.9 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-06/0.4702, allocations: 7.938 kB / 442.9 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.4704, allocations: 139.5 kB / 443 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.4705, allocations: 85 kB / 443.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.4705, allocations: 0 / 443.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.4706, allocations: 8 kB / 443.1 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.4707, allocations: 11.97 kB / 443.1 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-06/0.4707, allocations: 4.031 kB / 443.1 MB, free: 13.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.088e-05/0.4708, allocations: 87.28 kB / 443.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.4708, allocations: 0 / 443.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003035/0.4711, allocations: 12.61 kB / 443.2 MB, free: 13.19 MB / 378.7 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.0001223/0.4713, allocations: 91.25 kB / 443.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.4714, allocations: 23.94 kB / 443.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.742e-06/0.4714, allocations: 0 / 443.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.4715, allocations: 15.98 kB / 443.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.4717, allocations: 5.875 kB / 443.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.4719, allocations: 66.23 kB / 443.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.4723, allocations: 0.6809 MB / 444.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.575e-05/0.4724, allocations: 0 / 444.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.4724, allocations: 11.44 kB / 444.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.452e-06/0.4724, allocations: 0 / 444.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of Templates: time 0.002899/0.4753, allocations: 487.3 kB / 444.6 MB, free: 11.79 MB / 378.7 MB