Running command: translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 270 MB / 283.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.305e-05, allocations: 4 kB / 348.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3388, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.4819, allocations: 86.08 MB / 496.4 MB, free: 4.504 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.4821, allocations: 63.97 kB / 496.4 MB, free: 4.441 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003773/0.4859, allocations: 0.9831 MB / 497.4 MB, free: 3.457 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4859, allocations: 0 / 497.4 MB, free: 3.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.619e-06/0.486, allocations: 0 / 497.4 MB, free: 3.457 MB / 410.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.0004155/0.4864, allocations: 345.4 kB / 497.7 MB, free: 3.078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4864, allocations: 8.031 kB / 497.7 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.4865, allocations: 0 / 497.7 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.4866, allocations: 170.9 kB / 497.9 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4867, allocations: 0 / 497.9 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.4867, allocations: 4 kB / 497.9 MB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.4868, allocations: 59.36 kB / 498 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.479e-06/0.4869, allocations: 4 kB / 498 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.4869, allocations: 0 / 498 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-06/0.4869, allocations: 3.938 kB / 498 MB, free: 2.781 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.091e-05/0.487, allocations: 15.98 kB / 498 MB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.4874, allocations: 256.9 kB / 498.2 MB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.027e-05/0.4875, allocations: 34.52 kB / 498.3 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.4876, allocations: 16.91 kB / 498.3 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.4876, allocations: 7.922 kB / 498.3 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4877, allocations: 30.56 kB / 498.3 MB, free: 2.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.199e-06/0.4877, allocations: 0 / 498.3 MB, free: 2.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000171/0.4879, allocations: 41.64 kB / 498.4 MB, free: 2.309 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.4879, allocations: 81.11 kB / 498.5 MB, free: 2.211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.488, allocations: 105 kB / 498.6 MB, free: 2.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.4881, allocations: 25.7 kB / 498.6 MB, free: 2.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.4882, allocations: 88.14 kB / 498.7 MB, free: 1.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.4882, allocations: 7.906 kB / 498.7 MB, free: 1.973 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-06/0.4882, allocations: 0 / 498.7 MB, free: 1.973 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4884, allocations: 314.8 kB / 499 MB, free: 1.656 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.4884, allocations: 8 kB / 499 MB, free: 1.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.78e-05/0.4885, allocations: 21.72 kB / 499 MB, free: 1.621 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.4885, allocations: 8.031 kB / 499 MB, free: 1.613 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.511e-06/0.4885, allocations: 0 / 499 MB, free: 1.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001324/0.4887, allocations: 57.58 kB / 499.1 MB, free: 1.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4887, allocations: 8 kB / 499.1 MB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.907e-06/0.4887, allocations: 0 / 499.1 MB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4888, allocations: 144 / 499.1 MB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.4889, allocations: 7.984 kB / 499.1 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.867e-06/0.4889, allocations: 0 / 499.1 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.514e-05/0.489, allocations: 19.97 kB / 499.1 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.912e-06/0.489, allocations: 0 / 499.1 MB, free: 1.516 MB / 410.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.231e-05/0.4891, allocations: 105 kB / 499.2 MB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.4892, allocations: 7.859 kB / 499.2 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.4892, allocations: 11.66 kB / 499.2 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.272e-06/0.4892, allocations: 0 / 499.2 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-06/0.4892, allocations: 0 / 499.2 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4892, allocations: 0 / 499.2 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.4895, allocations: 161.7 kB / 499.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-06/0.4895, allocations: 0 / 499.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.843e-05/0.4896, allocations: 15.98 kB / 499.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.477e-06/0.4896, allocations: 3.953 kB / 499.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4896, allocations: 0 / 499.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.156e-06/0.4896, allocations: 3.938 kB / 499.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-06/0.4896, allocations: 0 / 499.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.4898, allocations: 143.5 kB / 499.6 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.4899, allocations: 81.02 kB / 499.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.4899, allocations: 11.98 kB / 499.6 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.4901, allocations: 11.98 kB / 499.7 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.4901, allocations: 7.984 kB / 499.7 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-06/0.4901, allocations: 0 / 499.7 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.417e-05/0.4902, allocations: 91.22 kB / 499.8 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.89e-07/0.4902, allocations: 0 / 499.8 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002932/0.4905, allocations: 4 kB / 499.8 MB, free: 0.7695 MB / 410.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.000129/0.4907, allocations: 101.4 kB / 499.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.4908, allocations: 23.98 kB / 499.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.223e-06/0.4908, allocations: 0 / 499.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.4909, allocations: 7.938 kB / 499.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.491, allocations: 8 kB / 499.9 MB, free: 0.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.4913, allocations: 61.23 kB / 500 MB, free: 0.543 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.4917, allocations: 0.677 MB / 0.4889 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.4917, allocations: 8.062 kB / 0.4889 GB, free: 15.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.4918, allocations: 11.42 kB / 0.4889 GB, free: 15.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.385e-06/0.4918, allocations: 0 / 0.4889 GB, free: 15.82 MB / 426.7 MB Notification: Performance of Templates: time 0.002838/0.4946, allocations: 484.6 kB / 0.4894 GB, free: 15.35 MB / 426.7 MB