Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.002e-05/3.999e-05, allocations: 8 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.0899, allocations: 50.42 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.36/0.4499, allocations: 77.8 MB / 420.4 MB, free: 352 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4502, allocations: 77.77 kB / 420.4 MB, free: 308 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006417/0.4566, allocations: 1.691 MB / 422.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.408e-06/0.4567, allocations: 0 / 422.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.4567, allocations: 3.938 kB / 422.1 MB, free: 14.83 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.0004716/0.4572, allocations: 365.8 kB / 422.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4573, allocations: 12.03 kB / 422.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.4573, allocations: 19.75 kB / 422.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.4576, allocations: 186.7 kB / 422.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4576, allocations: 3.938 kB / 422.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.4576, allocations: 11.94 kB / 422.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.458, allocations: 133 kB / 422.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.921e-06/0.458, allocations: 0 / 422.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.458, allocations: 3.953 kB / 422.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.842e-06/0.458, allocations: 7.938 kB / 422.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.381e-05/0.4581, allocations: 23.73 kB / 422.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.4587, allocations: 304.5 kB / 423.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.459, allocations: 146.1 kB / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/0.459, allocations: 41.56 kB / 423.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4591, allocations: 0 / 423.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.4592, allocations: 66.91 kB / 423.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.556e-06/0.4592, allocations: 0 / 423.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002378/0.4595, allocations: 80.45 kB / 423.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.4596, allocations: 88.89 kB / 423.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.4597, allocations: 127.4 kB / 423.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.4598, allocations: 29.64 kB / 423.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.4599, allocations: 158.4 kB / 423.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.4599, allocations: 19.75 kB / 423.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-06/0.4599, allocations: 0 / 423.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4601, allocations: 318.7 kB / 424.2 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.4602, allocations: 11.88 kB / 424.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.315e-05/0.4603, allocations: 56.64 kB / 424.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.4604, allocations: 27.94 kB / 424.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.276e-06/0.4604, allocations: 3.953 kB / 424.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002194/0.4606, allocations: 96.67 kB / 424.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4606, allocations: 4 kB / 424.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.887e-06/0.4607, allocations: 4.156 kB / 424.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4607, allocations: 4 kB / 424.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.4608, allocations: 19.92 kB / 424.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4608, allocations: 3.938 kB / 424.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.4609, allocations: 8 kB / 424.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.4609, allocations: 7.875 kB / 424.5 MB, free: 12.37 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.532e-05/0.4611, allocations: 108.9 kB / 424.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.855e-05/0.4612, allocations: 57.39 kB / 424.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.4612, allocations: 15.89 kB / 424.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4612, allocations: 4 kB / 424.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.557e-06/0.4613, allocations: 4 kB / 424.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.607e-06/0.4613, allocations: 0 / 424.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.4617, allocations: 333.5 kB / 425 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.4617, allocations: 0 / 425 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.4618, allocations: 11.98 kB / 425 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.016e-06/0.4618, allocations: 4 kB / 425 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4619, allocations: 3.938 kB / 425 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.744e-06/0.4619, allocations: 4 kB / 425 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.962e-06/0.4619, allocations: 0 / 425 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.4622, allocations: 209.2 kB / 425.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.4623, allocations: 96.69 kB / 425.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.4624, allocations: 0 / 425.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.4625, allocations: 12.11 kB / 425.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.4625, allocations: 11.88 kB / 425.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.4626, allocations: 0 / 425.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.4627, allocations: 113.8 kB / 425.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.4627, allocations: 0 / 425.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.463, allocations: 19.83 kB / 425.5 MB, free: 11.34 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.0001374/0.4632, allocations: 111.3 kB / 425.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.4634, allocations: 47.5 kB / 425.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.965e-06/0.4634, allocations: 4.312 kB / 425.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.253e-05/0.4634, allocations: 15.81 kB / 425.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.4638, allocations: 31.2 kB / 425.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.4642, allocations: 151.7 kB / 425.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.4646, allocations: 0.7082 MB / 426.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.4647, allocations: 15.44 kB / 426.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.4647, allocations: 0 / 426.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of Templates: time 0.002819/0.4675, allocations: 1.008 MB / 427.5 MB, free: 9.23 MB / 346.7 MB