Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.724e-05, allocations: 4 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 50.41 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5327, allocations: 77.8 MB / 420.4 MB, free: 308 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.533, allocations: 77.14 kB / 420.5 MB, free: 264 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007483/0.5405, allocations: 1.691 MB / 422.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.128e-06/0.5406, allocations: 0 / 422.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.5406, allocations: 3.938 kB / 422.2 MB, free: 14.79 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.0005694/0.5412, allocations: 369.1 kB / 422.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.5413, allocations: 12.03 kB / 422.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.5413, allocations: 42.19 kB / 422.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.5414, allocations: 15.81 kB / 422.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.5416, allocations: 186.8 kB / 422.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.5417, allocations: 8 kB / 422.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.5417, allocations: 7.812 kB / 422.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.5421, allocations: 129.2 kB / 423 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5421, allocations: 7.953 kB / 423 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.5421, allocations: 3.938 kB / 423 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5421, allocations: 0 / 423 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.809e-05/0.5423, allocations: 27.86 kB / 423 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.5429, allocations: 305.2 kB / 423.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.5432, allocations: 153.2 kB / 423.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.203e-05/0.5433, allocations: 33.83 kB / 423.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.5434, allocations: 7.625 kB / 423.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.5435, allocations: 55.22 kB / 423.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.146e-06/0.5435, allocations: 0 / 423.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002822/0.5438, allocations: 92.73 kB / 423.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.5439, allocations: 81.11 kB / 423.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.5441, allocations: 126.8 kB / 423.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.5441, allocations: 33.64 kB / 423.9 MB, free: 13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.5442, allocations: 158.4 kB / 424 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.5443, allocations: 15.8 kB / 424 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.5443, allocations: 3.875 kB / 424 MB, free: 12.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5444, allocations: 310.8 kB / 424.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/0.5445, allocations: 19.69 kB / 424.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/0.5446, allocations: 56.95 kB / 424.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.5447, allocations: 19.77 kB / 424.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.5447, allocations: 4 kB / 424.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002606/0.545, allocations: 100.7 kB / 424.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.545, allocations: 7.938 kB / 424.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.545, allocations: 48 / 424.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.545, allocations: 7.984 kB / 424.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.5452, allocations: 15.98 kB / 424.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.5453, allocations: 0 / 424.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.5454, allocations: 11.81 kB / 424.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.5454, allocations: 8.156 kB / 424.6 MB, free: 12.28 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 0.0001034/0.5455, allocations: 119 kB / 424.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.5456, allocations: 53.39 kB / 424.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.5457, allocations: 15.83 kB / 424.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.5457, allocations: 0 / 424.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5457, allocations: 0 / 424.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5457, allocations: 0 / 424.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.5462, allocations: 337.7 kB / 425.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5462, allocations: 8 kB / 425.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.5463, allocations: 11.98 kB / 425.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.5464, allocations: 0 / 425.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.5464, allocations: 4 kB / 425.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5464, allocations: 0 / 425.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5464, allocations: 0 / 425.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.5467, allocations: 209.3 kB / 425.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5468, allocations: 100.9 kB / 425.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.5468, allocations: 0 / 425.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.547, allocations: 11.73 kB / 425.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.547, allocations: 0 / 425.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.5471, allocations: 4 kB / 425.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.5472, allocations: 117.3 kB / 425.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5472, allocations: 0 / 425.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003541/0.5476, allocations: 15.94 kB / 425.6 MB, free: 11.26 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.0007632/0.5483, allocations: 0.841 MB / 426.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.5486, allocations: 47.19 kB / 426.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5486, allocations: 4.375 kB / 426.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.591e-05/0.5487, allocations: 15.94 kB / 426.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.5491, allocations: 31.72 kB / 426.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.5498, allocations: 197 kB / 426.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.5501, allocations: 0.7004 MB / 427.4 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.58e-05/0.5502, allocations: 30.92 kB / 427.4 MB, free: 9.367 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5502, allocations: 0 / 427.4 MB, free: 9.367 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.374/2.924, allocations: 1.398 MB / 428.8 MB, free: 7.977 MB / 346.7 MB