Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|clockToTrigger.y|sample.y|triggeredSampler.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadModel(Modelica_Synchronous): time 2.034/2.034, allocations: 218.4 MB / 231.1 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.607e-05, allocations: 6.188 kB / 284.3 MB, free: 8.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09875, allocations: 50.37 MB / 334.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4645, allocations: 78.95 MB / 413.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/0.465, allocations: 81.7 kB / 413.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007142/0.4722, allocations: 1.624 MB / 415.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.396e-06/0.4722, allocations: 4 kB / 415.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.4722, allocations: 4 kB / 415.4 MB, free: 13.84 MB / 346.7 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.0005065/0.4728, allocations: 366 kB / 415.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4728, allocations: 12.03 kB / 415.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.4729, allocations: 7.906 kB / 415.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.4731, allocations: 202.5 kB / 415.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.4732, allocations: 7.938 kB / 416 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.4732, allocations: 10.98 kB / 416 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.4736, allocations: 130.5 kB / 416.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.4736, allocations: 0 / 416.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.4736, allocations: 7 kB / 416.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.4736, allocations: 0 / 416.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.98e-05/0.4737, allocations: 18.56 kB / 416.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.4743, allocations: 313.5 kB / 416.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.4746, allocations: 145.5 kB / 416.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.4747, allocations: 36.91 kB / 416.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4747, allocations: 0 / 416.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.4749, allocations: 61.73 kB / 416.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.629e-06/0.4749, allocations: 0 / 416.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002494/0.4752, allocations: 82.52 kB / 416.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.4753, allocations: 92.84 kB / 416.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.4754, allocations: 139.5 kB / 417 MB, free: 12.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.4755, allocations: 28.7 kB / 417 MB, free: 12.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.4755, allocations: 91.52 kB / 417.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.4756, allocations: 19.17 kB / 417.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-06/0.4756, allocations: 3.25 kB / 417.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4758, allocations: 314.2 kB / 417.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.4758, allocations: 18.75 kB / 417.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/0.4759, allocations: 55.77 kB / 417.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.476, allocations: 18.81 kB / 417.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.476, allocations: 4 kB / 417.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002372/0.4763, allocations: 102.7 kB / 417.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4763, allocations: 7.938 kB / 417.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4763, allocations: 7.938 kB / 417.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4764, allocations: 0 / 417.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.4765, allocations: 15.98 kB / 417.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.4765, allocations: 7.938 kB / 417.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.4766, allocations: 10.52 kB / 417.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.4767, allocations: 4 kB / 417.7 MB, free: 11.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,clockToTrigger.y,$PRE.clockToTrigger.y3,clockToTrigger.y3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001067/0.4768, allocations: 116.3 kB / 417.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.403e-05/0.4769, allocations: 47.98 kB / 417.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.4769, allocations: 15.61 kB / 417.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.183e-06/0.477, allocations: 3.984 kB / 417.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.287e-06/0.477, allocations: 4 kB / 417.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.286e-06/0.477, allocations: 0 / 417.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.4775, allocations: 334.7 kB / 418.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-06/0.4775, allocations: 0 / 418.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.4776, allocations: 19.98 kB / 418.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4776, allocations: 192 / 418.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4776, allocations: 7.312 kB / 418.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.802e-06/0.4777, allocations: 0 / 418.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.459e-06/0.4777, allocations: 11.89 kB / 418.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.4779, allocations: 195.5 kB / 418.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.478, allocations: 89 kB / 418.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.4781, allocations: 7.062 kB / 418.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.4782, allocations: 11.94 kB / 418.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.4783, allocations: 7.938 kB / 418.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.4783, allocations: 7.438 kB / 418.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.4784, allocations: 108.7 kB / 418.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.4784, allocations: 0 / 418.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.4788, allocations: 15.94 kB / 418.6 MB, free: 10.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (clockToTrigger.y2,clockToTrigger.y,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.000138/0.4789, allocations: 102.7 kB / 418.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.4791, allocations: 54.88 kB / 418.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.843e-06/0.4791, allocations: 0 / 418.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.718e-05/0.4792, allocations: 15.94 kB / 418.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.4795, allocations: 35.34 kB / 418.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.4799, allocations: 129.4 kB / 419 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.4804, allocations: 0.7121 MB / 419.7 MB, free: 9.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.27e-05/0.4804, allocations: 4.672 kB / 419.7 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.4805, allocations: 11.44 kB / 419.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.517e-06/0.4805, allocations: 0 / 419.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of Templates: time 0.003795/0.4843, allocations: 0.7021 MB / 420.4 MB, free: 8.629 MB / 346.7 MB