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_LinearSystems2): time 2.378/2.378, allocations: 251.5 MB / 266 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1247/0.1247, allocations: 12.59 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.485e-05/4.488e-05, allocations: 4 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3839, allocations: 59.44 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001872/0.3858, allocations: 1.338 MB / 460.5 MB, free: 27.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.3868, allocations: 495.9 kB / 461 MB, free: 26.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.387, allocations: 4 kB / 461 MB, free: 26.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.387, allocations: 3.938 kB / 461 MB, free: 26.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.3871, allocations: 15.91 kB / 461 MB, free: 26.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.3875, allocations: 47.89 kB / 461.1 MB, free: 26.7 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.3876, allocations: 31.91 kB / 461.1 MB, free: 26.67 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.3877, allocations: 11.98 kB / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.605e-05/0.3878, allocations: 23.91 kB / 461.2 MB, free: 26.64 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.3879, allocations: 23.86 kB / 461.2 MB, free: 26.61 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.3879, allocations: 4 kB / 461.2 MB, free: 26.61 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.3879, allocations: 0 / 461.2 MB, free: 26.61 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.388, allocations: 15.92 kB / 461.2 MB, free: 26.59 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.388, allocations: 8 kB / 461.2 MB, free: 26.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.825e-05/0.3881, allocations: 51.91 kB / 461.3 MB, free: 26.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3881, allocations: 0 / 461.3 MB, free: 26.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3881, allocations: 0 / 461.3 MB, free: 26.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.3881, allocations: 0 / 461.3 MB, free: 26.54 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.0004323/0.3886, allocations: 365.9 kB / 461.6 MB, free: 26.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3886, allocations: 12.03 kB / 461.6 MB, free: 26.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.3887, allocations: 15.77 kB / 461.6 MB, free: 26.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.3889, allocations: 198.8 kB / 461.8 MB, free: 25.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3889, allocations: 0 / 461.8 MB, free: 25.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.3889, allocations: 16 kB / 461.8 MB, free: 25.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.3893, allocations: 135 kB / 462 MB, free: 25.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3893, allocations: 4 kB / 462 MB, free: 25.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3893, allocations: 4 kB / 462 MB, free: 25.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3894, allocations: 7.953 kB / 462 MB, free: 25.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.3895, allocations: 39.91 kB / 462 MB, free: 25.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.39, allocations: 305.7 kB / 462.3 MB, free: 25.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.3903, allocations: 158.3 kB / 462.5 MB, free: 25.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3903, allocations: 4 kB / 462.5 MB, free: 25.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.3905, allocations: 75.34 kB / 462.6 MB, free: 25.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.255e-06/0.3905, allocations: 0 / 462.6 MB, free: 25.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004022/0.3909, allocations: 121.5 kB / 462.7 MB, free: 24.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.391, allocations: 85.05 kB / 462.8 MB, free: 24.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3911, allocations: 130.7 kB / 462.9 MB, free: 24.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.3912, allocations: 25.7 kB / 462.9 MB, free: 24.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.3912, allocations: 96.12 kB / 463 MB, free: 24.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.3912, allocations: 19.88 kB / 463 MB, free: 24.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.3913, allocations: 4 kB / 463 MB, free: 24.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.3913, allocations: 318.8 kB / 463.3 MB, free: 24.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.3914, allocations: 27.98 kB / 463.4 MB, free: 24.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3916, allocations: 61.14 kB / 463.4 MB, free: 24.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.3917, allocations: 27.98 kB / 463.5 MB, free: 24.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3917, allocations: 0 / 463.5 MB, free: 24.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002888/0.392, allocations: 125.4 kB / 463.6 MB, free: 23.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.392, allocations: 4 kB / 463.6 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.392, allocations: 4 kB / 463.6 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3921, allocations: 0 / 463.6 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3922, allocations: 19.92 kB / 463.6 MB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3922, allocations: 0 / 463.6 MB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.3923, allocations: 4 kB / 463.6 MB, free: 23.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.3923, allocations: 8.156 kB / 463.6 MB, free: 23.89 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,triggeredSampler.trigger,$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 9.793e-05/0.3924, allocations: 125.8 kB / 463.7 MB, free: 23.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/0.3925, allocations: 61.48 kB / 463.8 MB, free: 23.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.3926, allocations: 12.31 kB / 463.8 MB, free: 23.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3926, allocations: 0 / 463.8 MB, free: 23.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3926, allocations: 0 / 463.8 MB, free: 23.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3926, allocations: 4 kB / 463.8 MB, free: 23.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.3931, allocations: 354.7 kB / 464.2 MB, free: 23.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3931, allocations: 3.938 kB / 464.2 MB, free: 23.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/0.3932, allocations: 16.05 kB / 464.2 MB, free: 23.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.3932, allocations: 7.938 kB / 464.2 MB, free: 23.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3932, allocations: 0 / 464.2 MB, free: 23.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3932, allocations: 3.938 kB / 464.2 MB, free: 23.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3932, allocations: 0 / 464.2 MB, free: 23.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.3935, allocations: 225.9 kB / 464.4 MB, free: 22.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.3936, allocations: 97 kB / 464.5 MB, free: 22.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.3937, allocations: 240 / 464.5 MB, free: 22.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.3938, allocations: 4 kB / 464.5 MB, free: 22.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.3938, allocations: 11.98 kB / 464.5 MB, free: 22.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3939, allocations: 3.984 kB / 464.5 MB, free: 22.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.212e-05/0.394, allocations: 117 kB / 464.7 MB, free: 22.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.394, allocations: 0 / 464.7 MB, free: 22.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003171/0.3943, allocations: 16 kB / 464.7 MB, free: 22.73 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,triggeredSampler.trigger,$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.000107/0.3944, allocations: 95.25 kB / 464.8 MB, free: 22.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.3947, allocations: 67.84 kB / 464.8 MB, free: 22.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3947, allocations: 4.312 kB / 464.8 MB, free: 22.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.413e-05/0.3948, allocations: 23.98 kB / 464.9 MB, free: 22.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3952, allocations: 33.66 kB / 464.9 MB, free: 22.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.3956, allocations: 226 kB / 465.1 MB, free: 22.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.3958, allocations: 0.7043 MB / 465.8 MB, free: 21.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.3959, allocations: 8.656 kB / 465.8 MB, free: 21.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.3959, allocations: 15.44 kB / 465.8 MB, free: 21.5 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3959, allocations: 0 / 465.8 MB, free: 21.5 MB / 346.7 MB Notification: Performance of Templates: time 0.00383/0.3998, allocations: 0.706 MB / 466.5 MB, free: 20.8 MB / 346.7 MB