Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.136/2.136, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.682e-05, allocations: 0 / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 50.42 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/0.5547, allocations: 77.03 MB / 419.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.555, allocations: 77.58 kB / 419.7 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005746/0.5608, allocations: 1.259 MB / 421 MB, free: 15.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5609, allocations: 0 / 421 MB, free: 15.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.5609, allocations: 4 kB / 421 MB, free: 15.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006156/0.5615, allocations: 358.4 kB / 421.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.5616, allocations: 8.031 kB / 421.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.5616, allocations: 34.5 kB / 421.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.5617, allocations: 11.86 kB / 421.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.5619, allocations: 182.7 kB / 421.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.562, allocations: 0 / 421.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.562, allocations: 7.812 kB / 421.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.5624, allocations: 138.5 kB / 421.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5624, allocations: 0 / 421.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.5624, allocations: 0 / 421.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.5624, allocations: 3.953 kB / 421.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.831e-05/0.5625, allocations: 23.56 kB / 421.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.5627, allocations: 169.1 kB / 421.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.563, allocations: 130.9 kB / 422.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/0.5631, allocations: 24.48 kB / 422.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.5631, allocations: 3.984 kB / 422.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.5632, allocations: 34.56 kB / 422.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.5632, allocations: 0 / 422.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002128/0.5634, allocations: 57.5 kB / 422.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.5635, allocations: 55.09 kB / 422.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.5636, allocations: 112.8 kB / 422.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.5636, allocations: 25.7 kB / 422.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.5637, allocations: 154.3 kB / 422.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.5637, allocations: 3.906 kB / 422.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.5637, allocations: 3.625 kB / 422.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5639, allocations: 318.8 kB / 422.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.5639, allocations: 4 kB / 422.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.564, allocations: 41.03 kB / 422.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.866e-05/0.564, allocations: 11.69 kB / 422.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.564, allocations: 0 / 422.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001515/0.5642, allocations: 81.3 kB / 423 MB, free: 13.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5642, allocations: 4 kB / 423 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5643, allocations: 0 / 423 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5643, allocations: 4 kB / 423 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.5644, allocations: 8 kB / 423 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5644, allocations: 0 / 423 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.5645, allocations: 4 kB / 423 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.5645, allocations: 3.953 kB / 423 MB, free: 13.39 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: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.514e-05/0.5646, allocations: 116 kB / 423.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5647, allocations: 64.97 kB / 423.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.5648, allocations: 8.438 kB / 423.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.5648, allocations: 4.109 kB / 423.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5648, allocations: 7.938 kB / 423.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5648, allocations: 7.984 kB / 423.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.565, allocations: 161.5 kB / 423.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.565, allocations: 0 / 423.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.807e-05/0.5651, allocations: 4 kB / 423.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.5651, allocations: 4 kB / 423.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.5652, allocations: 7.984 kB / 423.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.5652, allocations: 3.938 kB / 423.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5652, allocations: 0 / 423.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.5654, allocations: 92.14 kB / 423.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.5654, allocations: 84.95 kB / 423.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.5655, allocations: 0 / 423.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.5656, allocations: 19.92 kB / 423.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-06/0.5656, allocations: 4 kB / 423.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-06/0.5657, allocations: 0 / 423.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.812e-05/0.5657, allocations: 91.48 kB / 423.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5658, allocations: 0 / 423.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002828/0.566, allocations: 11.88 kB / 423.7 MB, free: 12.65 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0006/0.5667, allocations: 0.6505 MB / 424.3 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.5668, allocations: 35.55 kB / 424.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5668, allocations: 0 / 424.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.5669, allocations: 0 / 424.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.5672, allocations: 31.47 kB / 424.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.5677, allocations: 139.9 kB / 424.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.568, allocations: 0.693 MB / 425.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.5681, allocations: 15.25 kB / 425.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5681, allocations: 0 / 425.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.396/2.964, allocations: 1.049 MB / 426.3 MB, free: 10.01 MB / 346.7 MB