Running command: translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 270 MB / 283.6 MB, free: 1.91 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.057e-05, allocations: 4 kB / 348.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3156, allocations: 61.88 MB / 410.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.4567, allocations: 86.99 MB / 497.3 MB, free: 3.637 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.457, allocations: 63.97 kB / 497.3 MB, free: 3.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008971/0.466, allocations: 1.627 MB / 498.9 MB, free: 1.941 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.549e-06/0.4661, allocations: 0 / 498.9 MB, free: 1.941 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.4661, allocations: 4 kB / 498.9 MB, free: 1.938 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004958/0.4666, allocations: 370.4 kB / 499.3 MB, free: 1.531 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4667, allocations: 12.03 kB / 499.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.4667, allocations: 15.8 kB / 499.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.467, allocations: 187.1 kB / 499.5 MB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.467, allocations: 8 kB / 499.5 MB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.467, allocations: 4 kB / 499.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.4672, allocations: 83.58 kB / 499.6 MB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.561e-06/0.4673, allocations: 4 kB / 499.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4673, allocations: 4 kB / 499.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.578e-06/0.4673, allocations: 4 kB / 499.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.4674, allocations: 28 kB / 499.7 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.4681, allocations: 368.4 kB / 0.4883 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.4682, allocations: 42.58 kB / 0.4883 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.4683, allocations: 17.02 kB / 0.4884 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.4683, allocations: 0 / 0.4884 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.4685, allocations: 75.38 kB / 0.4884 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.292e-06/0.4685, allocations: 0 / 0.4884 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002124/0.4687, allocations: 69.59 kB / 0.4885 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.4688, allocations: 55.36 kB / 0.4885 GB, free: 448 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.469, allocations: 130.6 kB / 0.4887 GB, free: 308 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.469, allocations: 25.7 kB / 0.4887 GB, free: 276 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.4691, allocations: 104 kB / 0.4888 GB, free: 168 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.4691, allocations: 19.8 kB / 0.4888 GB, free: 148 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-06/0.4691, allocations: 0 / 0.4888 GB, free: 148 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4693, allocations: 322.8 kB / 0.4891 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.4694, allocations: 16 kB / 0.4891 GB, free: 15.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.4695, allocations: 38.52 kB / 0.4892 GB, free: 15.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.425e-05/0.4695, allocations: 15.98 kB / 0.4892 GB, free: 15.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-06/0.4695, allocations: 0 / 0.4892 GB, free: 15.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002071/0.4698, allocations: 85.53 kB / 0.4893 GB, free: 15.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4698, allocations: 8.062 kB / 0.4893 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.4698, allocations: 0 / 0.4893 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4698, allocations: 0 / 0.4893 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/0.4699, allocations: 8 kB / 0.4893 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4699, allocations: 0 / 0.4893 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.47, allocations: 27.92 kB / 0.4893 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.4701, allocations: 4 kB / 0.4893 GB, free: 15.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,fallingEdge.y,$PRE.fallingEdge.not_u,fallingEdge.not_u) * 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.0001053/0.4702, allocations: 107.7 kB / 0.4894 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.4702, allocations: 19.84 kB / 0.4894 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.4703, allocations: 16.61 kB / 0.4894 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4703, allocations: 0 / 0.4894 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.155e-06/0.4703, allocations: 0 / 0.4894 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.964e-06/0.4703, allocations: 0 / 0.4894 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.4708, allocations: 342.5 kB / 0.4898 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.4708, allocations: 0 / 0.4898 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.4709, allocations: 4 kB / 0.4898 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.4709, allocations: 3.938 kB / 0.4898 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4709, allocations: 4 kB / 0.4898 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.421e-06/0.4709, allocations: 4 kB / 0.4898 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.032e-06/0.471, allocations: 3.953 kB / 0.4898 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.4713, allocations: 196.5 kB / 0.49 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.4713, allocations: 81.02 kB / 0.4901 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.4714, allocations: 0 / 0.4901 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.4715, allocations: 15.98 kB / 0.4901 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.4716, allocations: 12.05 kB / 0.4901 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.4716, allocations: 3.953 kB / 0.4901 GB, free: 14.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.627e-05/0.4717, allocations: 103.3 kB / 0.4902 GB, free: 14.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.68e-07/0.4717, allocations: 0 / 0.4902 GB, free: 14.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.4721, allocations: 20.19 kB / 0.4902 GB, free: 14.59 MB / 426.7 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 (fallingEdge.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,fallingEdge.not_u) * Number of discrete states: 1 (fallingEdge.not_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.00014/0.4722, allocations: 103.2 kB / 0.4903 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.4724, allocations: 39.94 kB / 0.4903 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4724, allocations: 4 kB / 0.4903 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-05/0.4725, allocations: 28.06 kB / 0.4904 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.4728, allocations: 15.98 kB / 0.4904 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.4733, allocations: 163 kB / 0.4905 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.4737, allocations: 0.7004 MB / 0.4912 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.833e-05/0.4738, allocations: 8.438 kB / 0.4912 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.4738, allocations: 11.44 kB / 0.4912 GB, free: 13.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.36e-06/0.4738, allocations: 4 kB / 0.4913 GB, free: 13.46 MB / 426.7 MB Notification: Performance of Templates: time 0.00389/0.4777, allocations: 0.8015 MB / 0.492 GB, free: 12.67 MB / 426.7 MB