Running command: translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.562e-05, allocations: 7.984 kB / 323.4 MB, free: 4.324 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.324, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.4577, allocations: 86.03 MB / 468.2 MB, free: 6.496 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.458, allocations: 67.97 kB / 468.3 MB, free: 6.43 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.006199/0.4642, allocations: 1.592 MB / 469.9 MB, free: 4.832 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.171e-06/0.4643, allocations: 0 / 469.9 MB, free: 4.832 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.4643, allocations: 3.984 kB / 469.9 MB, free: 4.828 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005184/0.4648, allocations: 366.3 kB / 470.3 MB, free: 4.426 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4649, allocations: 8.031 kB / 470.3 MB, free: 4.418 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.4649, allocations: 7.906 kB / 470.3 MB, free: 4.41 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.4652, allocations: 194.9 kB / 470.5 MB, free: 4.18 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.4652, allocations: 12 kB / 470.5 MB, free: 4.168 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.4653, allocations: 4 kB / 470.5 MB, free: 4.164 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4655, allocations: 69.69 kB / 470.5 MB, free: 4.09 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.4655, allocations: 0 / 470.5 MB, free: 4.09 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.4655, allocations: 4.219 kB / 470.5 MB, free: 4.086 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.342e-06/0.4655, allocations: 0 / 470.5 MB, free: 4.086 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.4656, allocations: 35.92 kB / 470.6 MB, free: 4.051 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.4663, allocations: 360.5 kB / 470.9 MB, free: 3.648 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.4665, allocations: 50.56 kB / 471 MB, free: 3.59 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.4666, allocations: 20.95 kB / 471 MB, free: 3.566 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.4666, allocations: 3.938 kB / 471 MB, free: 3.562 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.4668, allocations: 79.38 kB / 471.1 MB, free: 3.473 MB / 394.8 MB Notification: Performance of pre-optimization done (n=7): time 2.714e-06/0.4668, allocations: 0 / 471.1 MB, free: 3.473 MB / 394.8 MB Notification: Performance of matching and sorting (n=7): time 0.0002215/0.467, allocations: 65.59 kB / 471.1 MB, free: 3.402 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.4671, allocations: 51.41 kB / 471.2 MB, free: 3.34 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.4672, allocations: 131.4 kB / 471.3 MB, free: 3.203 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.4673, allocations: 25.7 kB / 471.4 MB, free: 3.172 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.4674, allocations: 100.1 kB / 471.5 MB, free: 3.07 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.4674, allocations: 23.72 kB / 471.5 MB, free: 3.047 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-06/0.4674, allocations: 0 / 471.5 MB, free: 3.047 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4676, allocations: 322.8 kB / 471.8 MB, free: 2.723 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.4677, allocations: 15.94 kB / 471.8 MB, free: 2.707 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.4678, allocations: 34.58 kB / 471.8 MB, free: 2.664 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.417e-05/0.4678, allocations: 19.98 kB / 471.9 MB, free: 2.645 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.576e-06/0.4678, allocations: 4 kB / 471.9 MB, free: 2.641 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.4681, allocations: 81.53 kB / 471.9 MB, free: 2.555 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4681, allocations: 7.953 kB / 471.9 MB, free: 2.547 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.385e-06/0.4681, allocations: 8 kB / 472 MB, free: 2.539 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4681, allocations: 0 / 472 MB, free: 2.539 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.4682, allocations: 8 kB / 472 MB, free: 2.531 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.3e-06/0.4682, allocations: 0 / 472 MB, free: 2.531 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.4683, allocations: 20.06 kB / 472 MB, free: 2.512 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.4684, allocations: 4.062 kB / 472 MB, free: 2.508 MB / 394.8 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.0001195/0.4685, allocations: 111.7 kB / 472.1 MB, free: 2.395 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.4685, allocations: 11.91 kB / 472.1 MB, free: 2.383 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.4686, allocations: 12.58 kB / 472.1 MB, free: 2.371 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4686, allocations: 4 kB / 472.1 MB, free: 2.367 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.242e-06/0.4686, allocations: 0 / 472.1 MB, free: 2.367 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.59e-06/0.4686, allocations: 3.984 kB / 472.1 MB, free: 2.363 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.4691, allocations: 334.6 kB / 472.5 MB, free: 1.98 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.431e-06/0.4692, allocations: 7.984 kB / 472.5 MB, free: 1.973 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.4692, allocations: 15.83 kB / 472.5 MB, free: 1.957 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.49e-06/0.4693, allocations: 0 / 472.5 MB, free: 1.957 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.4693, allocations: 0 / 472.5 MB, free: 1.957 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.532e-06/0.4693, allocations: 0 / 472.5 MB, free: 1.957 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-06/0.4693, allocations: 0 / 472.5 MB, free: 1.957 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.4696, allocations: 187.4 kB / 472.7 MB, free: 1.758 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.4697, allocations: 93.2 kB / 472.8 MB, free: 1.648 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.4697, allocations: 8.016 kB / 472.8 MB, free: 1.641 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.4699, allocations: 7.938 kB / 472.8 MB, free: 1.633 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.4699, allocations: 11.98 kB / 472.8 MB, free: 1.621 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.47, allocations: 7.984 kB / 472.8 MB, free: 1.613 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0001008/0.4701, allocations: 101.8 kB / 472.9 MB, free: 1.516 MB / 394.8 MB Notification: Performance of sort global known variables: time 7.93e-07/0.4701, allocations: 0 / 472.9 MB, free: 1.516 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0003247/0.4704, allocations: 16 kB / 472.9 MB, free: 1.5 MB / 394.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 (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.0001548/0.4706, allocations: 107.2 kB / 473 MB, free: 1.387 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.4708, allocations: 44 kB / 473.1 MB, free: 1.344 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.4708, allocations: 0 / 473.1 MB, free: 1.344 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 7.14e-05/0.4709, allocations: 23.94 kB / 473.1 MB, free: 1.32 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.4712, allocations: 19.89 kB / 473.1 MB, free: 1.301 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.4717, allocations: 144.9 kB / 473.2 MB, free: 1.137 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.4721, allocations: 0.7004 MB / 473.9 MB, free: 420 kB / 394.8 MB Notification: Performance of simCode: alias equations: time 5.206e-05/0.4722, allocations: 9.75 kB / 473.9 MB, free: 412 kB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.4722, allocations: 11.44 kB / 474 MB, free: 400 kB / 394.8 MB Notification: Performance of SimCode: time 1.413e-06/0.4722, allocations: 0 / 474 MB, free: 400 kB / 394.8 MB Notification: Performance of Templates: time 0.004028/0.4763, allocations: 0.8078 MB / 474.8 MB, free: 15.59 MB / 410.8 MB