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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadModel(Modelica_Synchronous): time 2.19/2.19, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.941e-05, allocations: 0 / 284.3 MB, free: 8.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.08577, allocations: 50.36 MB / 334.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.347/0.4328, allocations: 79.01 MB / 413.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4331, allocations: 78.5 kB / 413.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006339/0.4394, allocations: 1.626 MB / 415.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.4395, allocations: 3.938 kB / 415.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.4395, allocations: 4 kB / 415.4 MB, free: 13.79 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.0004749/0.44, allocations: 370.5 kB / 415.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.44, allocations: 8.031 kB / 415.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.4401, allocations: 7.906 kB / 415.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.4404, allocations: 198.6 kB / 416 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.4404, allocations: 6.5 kB / 416 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.4404, allocations: 19.17 kB / 416 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.4408, allocations: 121 kB / 416.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.986e-06/0.4408, allocations: 4 kB / 416.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.4408, allocations: 7.812 kB / 416.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4408, allocations: 0 / 416.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.4409, allocations: 27.3 kB / 416.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.4415, allocations: 306.3 kB / 416.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.4418, allocations: 151.1 kB / 416.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.4419, allocations: 28.22 kB / 416.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.4419, allocations: 4 kB / 416.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.442, allocations: 58 kB / 416.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.663e-06/0.442, allocations: 0 / 416.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002528/0.4423, allocations: 82.95 kB / 416.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.4424, allocations: 88.48 kB / 416.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.4426, allocations: 136.3 kB / 417 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.4426, allocations: 29.69 kB / 417 MB, free: 12.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.4427, allocations: 162.2 kB / 417.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.4427, allocations: 15.38 kB / 417.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-06/0.4428, allocations: 7.375 kB / 417.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4429, allocations: 314.8 kB / 417.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-05/0.443, allocations: 18.56 kB / 417.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.4431, allocations: 52.03 kB / 417.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.948e-05/0.4432, allocations: 22.92 kB / 417.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-06/0.4432, allocations: 0 / 417.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002266/0.4434, allocations: 99.41 kB / 417.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4435, allocations: 8 kB / 417.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.4435, allocations: 0 / 417.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4435, allocations: 11.92 kB / 417.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.4436, allocations: 15.38 kB / 417.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.4437, allocations: 7.938 kB / 417.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/0.4438, allocations: 11.97 kB / 417.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.4438, allocations: 4.156 kB / 417.8 MB, free: 11.31 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 9.972e-05/0.4439, allocations: 120.3 kB / 417.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.444, allocations: 60 kB / 417.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.4441, allocations: 7.281 kB / 417.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.668e-06/0.4441, allocations: 4 kB / 417.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.685e-06/0.4441, allocations: 0 / 417.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.094e-06/0.4441, allocations: 0 / 417.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.4446, allocations: 331.4 kB / 418.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.039e-06/0.4446, allocations: 12.17 kB / 418.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.4447, allocations: 12 kB / 418.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.243e-06/0.4447, allocations: 0 / 418.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4447, allocations: 0 / 418.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.235e-06/0.4447, allocations: 4 kB / 418.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.344e-06/0.4448, allocations: 3.953 kB / 418.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.445, allocations: 208.7 kB / 418.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/0.4451, allocations: 92.56 kB / 418.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.4452, allocations: 7.984 kB / 418.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.4453, allocations: 7.953 kB / 418.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.4454, allocations: 3.375 kB / 418.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.4454, allocations: 11.92 kB / 418.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.4455, allocations: 112.4 kB / 418.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.4455, allocations: 0 / 418.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003374/0.4459, allocations: 15.44 kB / 418.7 MB, free: 10.29 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.0001295/0.446, allocations: 103.2 kB / 418.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.4462, allocations: 48.56 kB / 418.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.4462, allocations: 0 / 418.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.092e-05/0.4463, allocations: 18.92 kB / 418.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.4466, allocations: 26.11 kB / 418.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.447, allocations: 167.5 kB / 419.1 MB, free: 9.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.4474, allocations: 0.7047 MB / 419.8 MB, free: 9.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.4475, allocations: 15.44 kB / 419.8 MB, free: 9.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.56e-06/0.4475, allocations: 0 / 419.8 MB, free: 9.18 MB / 346.7 MB Notification: Performance of Templates: time 0.002922/0.4504, allocations: 1.003 MB / 420.8 MB, free: 8.184 MB / 346.7 MB