Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadModel(ModelicaTest): time 2.349/2.349, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.408e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3269, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.462, allocations: 86.36 MB / 468.6 MB, free: 6.164 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4623, allocations: 67.97 kB / 468.6 MB, free: 6.098 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01261/0.4749, allocations: 2.857 MB / 471.5 MB, free: 3.238 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.015e-06/0.4749, allocations: 0 / 471.5 MB, free: 3.238 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.475, allocations: 0 / 471.5 MB, free: 3.238 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007339/0.4757, allocations: 434.4 kB / 471.9 MB, free: 2.773 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4758, allocations: 8.031 kB / 471.9 MB, free: 2.766 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.4758, allocations: 11.91 kB / 471.9 MB, free: 2.754 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.4762, allocations: 206.8 kB / 472.1 MB, free: 2.512 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.4763, allocations: 7.984 kB / 472.1 MB, free: 2.504 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.4763, allocations: 8 kB / 472.1 MB, free: 2.496 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.4765, allocations: 85.61 kB / 472.2 MB, free: 2.406 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.782e-06/0.4765, allocations: 0 / 472.2 MB, free: 2.406 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.4766, allocations: 0 / 472.2 MB, free: 2.406 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-06/0.4766, allocations: 0 / 472.2 MB, free: 2.406 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.4767, allocations: 35.94 kB / 472.3 MB, free: 2.371 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/0.4775, allocations: 384.6 kB / 472.6 MB, free: 1.945 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.4777, allocations: 50.61 kB / 472.7 MB, free: 1.887 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.4777, allocations: 16.98 kB / 472.7 MB, free: 1.867 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.4778, allocations: 0 / 472.7 MB, free: 1.867 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.478, allocations: 87.23 kB / 472.8 MB, free: 1.77 MB / 394.8 MB Notification: Performance of pre-optimization done (n=7): time 2.579e-06/0.478, allocations: 0 / 472.8 MB, free: 1.77 MB / 394.8 MB Notification: Performance of matching and sorting (n=7): time 0.0002322/0.4782, allocations: 73.58 kB / 472.9 MB, free: 1.691 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.4783, allocations: 59.34 kB / 472.9 MB, free: 1.621 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.4785, allocations: 136.5 kB / 473.1 MB, free: 1.48 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.4785, allocations: 29.69 kB / 473.1 MB, free: 1.445 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.4786, allocations: 100.2 kB / 473.2 MB, free: 1.344 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.4787, allocations: 27.86 kB / 473.2 MB, free: 1.316 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.4787, allocations: 4 kB / 473.2 MB, free: 1.312 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4789, allocations: 314.8 kB / 473.5 MB, free: 0.9961 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.118e-05/0.4789, allocations: 20 kB / 473.5 MB, free: 0.9766 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.479, allocations: 41.64 kB / 473.6 MB, free: 0.9297 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.452e-05/0.4791, allocations: 15.94 kB / 473.6 MB, free: 0.9141 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-06/0.4791, allocations: 0 / 473.6 MB, free: 0.9141 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002064/0.4793, allocations: 89.53 kB / 473.7 MB, free: 0.8203 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4794, allocations: 4 kB / 473.7 MB, free: 0.8164 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.4794, allocations: 3.953 kB / 473.7 MB, free: 0.8125 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4794, allocations: 0 / 473.7 MB, free: 0.8125 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4795, allocations: 19.98 kB / 473.7 MB, free: 0.793 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.4796, allocations: 0 / 473.7 MB, free: 0.793 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.4797, allocations: 15.98 kB / 473.7 MB, free: 0.7773 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.4797, allocations: 8.031 kB / 473.7 MB, free: 0.7695 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.000104/0.4798, allocations: 113.7 kB / 473.8 MB, free: 0.6523 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.4799, allocations: 11.81 kB / 473.9 MB, free: 0.6406 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.4799, allocations: 16.56 kB / 473.9 MB, free: 0.625 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.508e-06/0.48, allocations: 7.953 kB / 473.9 MB, free: 0.6172 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.282e-06/0.48, allocations: 0 / 473.9 MB, free: 0.6172 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.212e-06/0.48, allocations: 0 / 473.9 MB, free: 0.6172 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.4805, allocations: 354.5 kB / 474.2 MB, free: 220 kB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.413e-06/0.4805, allocations: 4 kB / 474.2 MB, free: 216 kB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.4807, allocations: 11.98 kB / 474.2 MB, free: 204 kB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.933e-06/0.4807, allocations: 7.953 kB / 474.2 MB, free: 196 kB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.4807, allocations: 4 kB / 474.3 MB, free: 192 kB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.751e-06/0.4808, allocations: 0 / 474.3 MB, free: 192 kB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.745e-06/0.4808, allocations: 4.219 kB / 474.3 MB, free: 188 kB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.4811, allocations: 195.5 kB / 474.4 MB, free: 15.97 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.4812, allocations: 85.05 kB / 474.5 MB, free: 15.87 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.4813, allocations: 11.89 kB / 474.5 MB, free: 15.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.4815, allocations: 27.86 kB / 474.6 MB, free: 15.84 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.696e-05/0.4816, allocations: 11.98 kB / 474.6 MB, free: 15.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.4816, allocations: 3.984 kB / 474.6 MB, free: 15.82 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001102/0.4817, allocations: 111.9 kB / 474.7 MB, free: 15.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.36e-07/0.4817, allocations: 0 / 474.7 MB, free: 15.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003302/0.4821, allocations: 20 kB / 474.7 MB, free: 15.69 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (change.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001538/0.4822, allocations: 103.2 kB / 474.8 MB, free: 15.58 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.4824, allocations: 47.94 kB / 474.9 MB, free: 15.54 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4824, allocations: 0 / 474.9 MB, free: 15.54 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.193e-05/0.4825, allocations: 24 kB / 474.9 MB, free: 15.51 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.4828, allocations: 20.05 kB / 474.9 MB, free: 15.49 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.4833, allocations: 147.8 kB / 475 MB, free: 15.32 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.4837, allocations: 0.7004 MB / 475.7 MB, free: 14.59 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.4838, allocations: 8.562 kB / 475.8 MB, free: 14.59 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.4838, allocations: 19.44 kB / 475.8 MB, free: 14.57 MB / 410.8 MB Notification: Performance of SimCode: time 1.469e-06/0.4838, allocations: 0 / 475.8 MB, free: 14.57 MB / 410.8 MB Notification: Performance of Templates: time 0.004438/0.4883, allocations: 1.019 MB / 476.8 MB, free: 13.56 MB / 410.8 MB