Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.103/2.103, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.442e-05, allocations: 4 kB / 284.4 MB, free: 8.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 50.36 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4232/0.5275, allocations: 78.66 MB / 413.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.5278, allocations: 57.22 kB / 413.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005194/0.533, allocations: 1.275 MB / 414.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5331, allocations: 4 kB / 414.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.5331, allocations: 0 / 414.8 MB, free: 14.04 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.00047/0.5336, allocations: 358.9 kB / 415.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5336, allocations: 12.03 kB / 415.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.5337, allocations: 34.44 kB / 415.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.5338, allocations: 7.906 kB / 415.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.534, allocations: 190.5 kB / 415.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.534, allocations: 7.953 kB / 415.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.5341, allocations: 11.62 kB / 415.4 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.5344, allocations: 116.2 kB / 415.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5344, allocations: 0 / 415.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.5344, allocations: 5.953 kB / 415.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5345, allocations: 0 / 415.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.5346, allocations: 27.56 kB / 415.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.5351, allocations: 292.8 kB / 415.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.5354, allocations: 149.8 kB / 415.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.016e-05/0.5355, allocations: 41.58 kB / 416 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.5356, allocations: 0 / 416 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.5357, allocations: 58.66 kB / 416 MB, free: 12.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.5357, allocations: 4 kB / 416 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002515/0.536, allocations: 80.83 kB / 416.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.5361, allocations: 85.09 kB / 416.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.5362, allocations: 109 kB / 416.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.5362, allocations: 26.08 kB / 416.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.5363, allocations: 166.4 kB / 416.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.5364, allocations: 15.45 kB / 416.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.5364, allocations: 0 / 416.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5366, allocations: 326.3 kB / 416.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.5366, allocations: 15.81 kB / 416.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.808e-05/0.5367, allocations: 64.83 kB / 416.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.444e-05/0.5368, allocations: 19.75 kB / 416.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5368, allocations: 0 / 416.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002293/0.5371, allocations: 105 kB / 417 MB, free: 11.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5371, allocations: 4 kB / 417 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5371, allocations: 4 kB / 417 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5371, allocations: 0 / 417 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.5373, allocations: 15.98 kB / 417.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.5373, allocations: 4 kB / 417.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.5374, allocations: 4 kB / 417.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.5374, allocations: 4 kB / 417.1 MB, free: 11.58 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.0001031/0.5375, allocations: 124.7 kB / 417.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.5376, allocations: 49.28 kB / 417.2 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.5377, allocations: 19.83 kB / 417.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5377, allocations: 0 / 417.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5377, allocations: 0 / 417.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.5377, allocations: 0 / 417.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.5382, allocations: 325.6 kB / 417.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5382, allocations: 0 / 417.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.5383, allocations: 12 kB / 417.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5383, allocations: 0 / 417.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.5384, allocations: 11.92 kB / 417.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5384, allocations: 192 / 417.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5384, allocations: 0 / 417.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.5387, allocations: 201.4 kB / 417.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.5387, allocations: 89 kB / 417.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.5388, allocations: 7.812 kB / 417.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.5389, allocations: 4 kB / 417.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.5389, allocations: 0 / 417.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.539, allocations: 11.94 kB / 417.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.27e-05/0.539, allocations: 95.12 kB / 418 MB, free: 10.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5391, allocations: 0 / 418 MB, free: 10.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.5394, allocations: 15.81 kB / 418 MB, free: 10.58 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.000702/0.5401, allocations: 0.8364 MB / 418.9 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.5403, allocations: 50.67 kB / 418.9 MB, free: 9.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5403, allocations: 0 / 418.9 MB, free: 9.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/0.5404, allocations: 15.81 kB / 418.9 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.5407, allocations: 23.77 kB / 418.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.5413, allocations: 169.7 kB / 419.1 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.5416, allocations: 0.6926 MB / 419.8 MB, free: 8.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.5417, allocations: 26.92 kB / 419.8 MB, free: 8.734 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5417, allocations: 0 / 419.8 MB, free: 8.734 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.303/2.845, allocations: 1.272 MB / 421.1 MB, free: 7.469 MB / 346.7 MB