Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") Notification: Performance of loadModel(Modelica_Synchronous): time 1.944/1.944, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.761e-05, allocations: 0 / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08644, allocations: 50.37 MB / 334.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4663, allocations: 78.63 MB / 413.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.4666, allocations: 58.66 kB / 413.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008139/0.4748, allocations: 1.277 MB / 414.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.877e-06/0.4749, allocations: 4 kB / 414.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.155e-05/0.4749, allocations: 4 kB / 414.6 MB, free: 14.45 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007017/0.4756, allocations: 348.8 kB / 415 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.43e-05/0.4757, allocations: 8.031 kB / 415 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.4758, allocations: 11.91 kB / 415 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.4762, allocations: 178.5 kB / 415.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.4762, allocations: 7.953 kB / 415.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.4763, allocations: 11.88 kB / 415.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.4768, allocations: 124.2 kB / 415.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4769, allocations: 0 / 415.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.4769, allocations: 3.875 kB / 415.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.477, allocations: 5.969 kB / 415.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.4771, allocations: 19.8 kB / 415.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.478, allocations: 300.9 kB / 415.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.4785, allocations: 149.8 kB / 415.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.4786, allocations: 33.41 kB / 415.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.4787, allocations: 0 / 415.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.4789, allocations: 63.45 kB / 415.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 4.531e-06/0.479, allocations: 0 / 415.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004172/0.4794, allocations: 83.72 kB / 416 MB, free: 13.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.4795, allocations: 80.42 kB / 416 MB, free: 12.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.4797, allocations: 112.4 kB / 416.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.4798, allocations: 33.02 kB / 416.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.48, allocations: 161.3 kB / 416.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.48, allocations: 18.95 kB / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.4801, allocations: 0 / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.4803, allocations: 318.2 kB / 416.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.4805, allocations: 19.81 kB / 416.7 MB, free: 12.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.4806, allocations: 55.22 kB / 416.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4808, allocations: 21.61 kB / 416.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.517e-06/0.4808, allocations: 0 / 416.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004411/0.4813, allocations: 104.1 kB / 416.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.4813, allocations: 8 kB / 416.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4813, allocations: 0 / 416.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.4814, allocations: 4 kB / 416.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.4816, allocations: 11.98 kB / 416.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.4816, allocations: 7.984 kB / 416.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.4818, allocations: 7.938 kB / 416.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.4819, allocations: 7.562 kB / 416.9 MB, free: 12.04 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,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.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.0001558/0.482, allocations: 115.7 kB / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.4822, allocations: 56.81 kB / 417.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.4823, allocations: 11.34 kB / 417.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.92e-06/0.4823, allocations: 0 / 417.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.608e-06/0.4824, allocations: 0 / 417.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.4824, allocations: 7.984 kB / 417.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.4831, allocations: 326 kB / 417.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.038e-06/0.4832, allocations: 0 / 417.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.4833, allocations: 11.98 kB / 417.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.4834, allocations: 8 kB / 417.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.4834, allocations: 0 / 417.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.4834, allocations: 0 / 417.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.888e-06/0.4834, allocations: 0 / 417.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.4839, allocations: 203.3 kB / 417.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.814e-05/0.484, allocations: 92.83 kB / 417.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.4841, allocations: 4.094 kB / 417.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.4843, allocations: 11.92 kB / 417.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.4844, allocations: 4 kB / 417.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.4844, allocations: 2.938 kB / 417.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.4846, allocations: 98.34 kB / 417.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.147e-06/0.4846, allocations: 3.938 kB / 417.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000753/0.4854, allocations: 15.25 kB / 417.9 MB, free: 11.04 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 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.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.0002041/0.4856, allocations: 99.19 kB / 418 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003051/0.4859, allocations: 62.48 kB / 418 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.975e-06/0.486, allocations: 0 / 418 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.256e-05/0.4861, allocations: 11.62 kB / 418 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.4865, allocations: 19.03 kB / 418.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.4871, allocations: 131.8 kB / 418.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.4877, allocations: 0.6962 MB / 418.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.4878, allocations: 19.42 kB / 418.9 MB, free: 9.969 MB / 346.7 MB Notification: Performance of SimCode: time 2.088e-06/0.4878, allocations: 0 / 418.9 MB, free: 9.969 MB / 346.7 MB Notification: Performance of Templates: time 0.004651/0.4925, allocations: 0.922 MB / 419.8 MB, free: 9.051 MB / 346.7 MB