Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") Notification: Performance of loadModel(Modelica_Synchronous): time 2.09/2.09, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.861e-05, allocations: 8 kB / 284.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 50.37 MB / 334.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3544/0.4763, allocations: 78.58 MB / 413.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.4766, allocations: 55.55 kB / 413.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004938/0.4815, allocations: 1.273 MB / 414.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.604e-06/0.4816, allocations: 4 kB / 414.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.4816, allocations: 0.9844 kB / 414.6 MB, free: 14.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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004655/0.4821, allocations: 353.4 kB / 415 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4821, allocations: 8.031 kB / 415 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.4822, allocations: 11.84 kB / 415 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.4824, allocations: 182.8 kB / 415.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.4825, allocations: 11.7 kB / 415.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.4825, allocations: 4 kB / 415.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.4828, allocations: 122.5 kB / 415.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4828, allocations: 0 / 415.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.4829, allocations: 5.953 kB / 415.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-06/0.4829, allocations: 3.938 kB / 415.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.483, allocations: 27.12 kB / 415.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.4836, allocations: 294.6 kB / 415.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.4838, allocations: 151.1 kB / 415.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.484, allocations: 40.83 kB / 415.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.484, allocations: 0 / 415.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.4841, allocations: 58.53 kB / 415.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.542e-06/0.4842, allocations: 0 / 415.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002476/0.4844, allocations: 87.27 kB / 415.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.4845, allocations: 85.09 kB / 416 MB, free: 12.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.4846, allocations: 108.1 kB / 416.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4847, allocations: 25.7 kB / 416.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.4847, allocations: 95.59 kB / 416.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.4848, allocations: 15.22 kB / 416.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-06/0.4848, allocations: 3.5 kB / 416.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.485, allocations: 321.9 kB / 416.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.286e-05/0.485, allocations: 19.25 kB / 416.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.824e-05/0.4851, allocations: 58.78 kB / 416.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.775e-05/0.4852, allocations: 19.92 kB / 416.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.878e-06/0.4852, allocations: 0 / 416.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002268/0.4855, allocations: 104.2 kB / 416.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4855, allocations: 4 kB / 416.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4855, allocations: 4 kB / 416.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4856, allocations: 3.938 kB / 416.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.4857, allocations: 15.12 kB / 416.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4857, allocations: 3.984 kB / 416.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.4858, allocations: 4 kB / 416.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4858, allocations: 4 kB / 416.8 MB, free: 12.2 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.0001083/0.486, allocations: 124.6 kB / 416.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/0.4861, allocations: 56.28 kB / 417 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.4861, allocations: 7.906 kB / 417 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.89e-06/0.4861, allocations: 4 kB / 417 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.966e-06/0.4862, allocations: 0 / 417 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-06/0.4862, allocations: 0 / 417 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.4866, allocations: 331 kB / 417.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.894e-06/0.4867, allocations: 4 kB / 417.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/0.4868, allocations: 11.98 kB / 417.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.705e-06/0.4868, allocations: 4 kB / 417.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4868, allocations: 3.938 kB / 417.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.4868, allocations: 8 kB / 417.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.803e-06/0.4868, allocations: 0 / 417.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.4871, allocations: 199.6 kB / 417.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.4872, allocations: 81.02 kB / 417.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.4872, allocations: 8 kB / 417.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4873, allocations: 0 / 417.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.4874, allocations: 10.92 kB / 417.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.4874, allocations: 4 kB / 417.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.344e-05/0.4875, allocations: 98.66 kB / 417.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.4875, allocations: 0 / 417.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.4879, allocations: 10.94 kB / 417.8 MB, free: 11.2 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.0001508/0.488, allocations: 107.1 kB / 417.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.4882, allocations: 52.5 kB / 417.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.779e-06/0.4882, allocations: 0 / 417.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/0.4883, allocations: 15.33 kB / 417.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.4886, allocations: 19.17 kB / 418 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.4889, allocations: 107.3 kB / 418.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.4893, allocations: 0.7007 MB / 418.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.4894, allocations: 20.11 kB / 418.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.4894, allocations: 15.42 kB / 418.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of SimCode: time 1.61e-06/0.4894, allocations: 0 / 418.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of Templates: time 0.003418/0.4929, allocations: 0.5538 MB / 419.4 MB, free: 9.59 MB / 346.7 MB