Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.405/2.405, allocations: 218.4 MB / 231 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.603e-05, allocations: 0 / 284.4 MB, free: 8.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.36 MB / 334.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4669/0.5776, allocations: 78.6 MB / 413.4 MB, free: 15.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.5779, allocations: 57.17 kB / 413.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005436/0.5833, allocations: 1.272 MB / 414.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.5834, allocations: 4 kB / 414.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.5834, allocations: 0.9844 kB / 414.7 MB, free: 14.22 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.0005515/0.584, allocations: 362.6 kB / 415.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.584, allocations: 8.031 kB / 415.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.5841, allocations: 41.05 kB / 415.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.5842, allocations: 7.906 kB / 415.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.5844, allocations: 181 kB / 415.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.5844, allocations: 6.953 kB / 415.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.5845, allocations: 15.19 kB / 415.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.5849, allocations: 122.2 kB / 415.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5849, allocations: 1.969 kB / 415.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.5849, allocations: 0 / 415.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.5849, allocations: 0 / 415.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.585, allocations: 31.38 kB / 415.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.5857, allocations: 295.9 kB / 415.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.586, allocations: 148.5 kB / 415.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.135e-05/0.5861, allocations: 33.34 kB / 415.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.5861, allocations: 8.062 kB / 416 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.5863, allocations: 54.25 kB / 416 MB, free: 12.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.086e-06/0.5863, allocations: 0 / 416 MB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002734/0.5866, allocations: 92.94 kB / 416.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.5867, allocations: 84.36 kB / 416.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.5868, allocations: 108.9 kB / 416.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.5868, allocations: 29.2 kB / 416.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.5869, allocations: 92.05 kB / 416.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.587, allocations: 15.27 kB / 416.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/0.587, allocations: 0 / 416.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5871, allocations: 326.1 kB / 416.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.335e-05/0.5872, allocations: 19.62 kB / 416.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.445e-05/0.5873, allocations: 59.39 kB / 416.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.765e-05/0.5874, allocations: 19.36 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5874, allocations: 0 / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002536/0.5877, allocations: 107 kB / 416.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.5877, allocations: 4 kB / 416.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5877, allocations: 0 / 416.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.5878, allocations: 4 kB / 416.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.5879, allocations: 15.98 kB / 417 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.588, allocations: 0 / 417 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.228e-05/0.5881, allocations: 11.41 kB / 417 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.5881, allocations: 4 kB / 417 MB, free: 11.82 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.0001189/0.5882, allocations: 124.7 kB / 417.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.5883, allocations: 49.5 kB / 417.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.5884, allocations: 12.02 kB / 417.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5884, allocations: 384 / 417.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5884, allocations: 4 kB / 417.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5884, allocations: 0 / 417.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.5889, allocations: 330.1 kB / 417.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5889, allocations: 3.938 kB / 417.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.589, allocations: 16 kB / 417.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.5891, allocations: 0 / 417.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.5891, allocations: 0 / 417.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.5891, allocations: 3.984 kB / 417.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5891, allocations: 4 kB / 417.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.5894, allocations: 191 kB / 417.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.5894, allocations: 93.19 kB / 417.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.5895, allocations: 7.938 kB / 417.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.5896, allocations: 4 kB / 417.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.5897, allocations: 4 kB / 417.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.5897, allocations: 11.88 kB / 417.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.669e-05/0.5898, allocations: 86.84 kB / 417.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5898, allocations: 0 / 417.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.5901, allocations: 14.38 kB / 417.9 MB, free: 10.83 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.0007082/0.5908, allocations: 0.8366 MB / 418.8 MB, free: 9.988 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.5911, allocations: 57.2 kB / 418.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5911, allocations: 0 / 418.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.5912, allocations: 11.12 kB / 418.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.5915, allocations: 31.23 kB / 418.9 MB, free: 9.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.5921, allocations: 145.4 kB / 419 MB, free: 9.742 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.5925, allocations: 0.6926 MB / 419.7 MB, free: 9.023 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.693e-05/0.5926, allocations: 12.16 kB / 419.7 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.5926, allocations: 26 kB / 419.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5927, allocations: 0 / 419.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.6155, allocations: 1.544 MB / 421.3 MB, free: 7.512 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/0.6159, allocations: 182.8 kB / 421.4 MB, free: 7.281 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.852, allocations: 0 / 421.4 MB, free: 7.281 MB / 346.7 MB