Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.076/2.076, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.354e-05, allocations: 8 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 50.42 MB / 342.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4241/0.533, allocations: 76.76 MB / 419.4 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5333, allocations: 74.89 kB / 419.5 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004096/0.5375, allocations: 1.148 MB / 420.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5375, allocations: 0 / 420.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.5375, allocations: 4 kB / 420.6 MB, free: 15.93 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.0003879/0.5379, allocations: 346.1 kB / 421 MB, free: 15.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.538, allocations: 16.03 kB / 421 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.538, allocations: 38.42 kB / 421 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.5381, allocations: 11.86 kB / 421 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.5383, allocations: 185.8 kB / 421.2 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.5384, allocations: 3.938 kB / 421.2 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.5384, allocations: 4 kB / 421.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.5387, allocations: 109.3 kB / 421.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.5387, allocations: 0 / 421.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.5387, allocations: 0 / 421.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.5387, allocations: 3.953 kB / 421.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.5388, allocations: 15.88 kB / 421.3 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.5392, allocations: 265.2 kB / 421.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.5394, allocations: 125.9 kB / 421.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.5395, allocations: 29.47 kB / 421.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.5395, allocations: 3.938 kB / 421.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.5396, allocations: 34.56 kB / 421.8 MB, free: 14.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.5396, allocations: 4 kB / 421.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002033/0.5398, allocations: 57.58 kB / 421.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.5399, allocations: 81.05 kB / 421.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.54, allocations: 121.7 kB / 422 MB, free: 14.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.54, allocations: 29.7 kB / 422.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.5401, allocations: 154.5 kB / 422.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.5401, allocations: 3.938 kB / 422.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.5402, allocations: 3.938 kB / 422.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5403, allocations: 318.9 kB / 422.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.5403, allocations: 7.688 kB / 422.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.5404, allocations: 23.44 kB / 422.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.965e-05/0.5404, allocations: 8.844 kB / 422.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5404, allocations: 4 kB / 422.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001091/0.5405, allocations: 57.09 kB / 422.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.5406, allocations: 8 kB / 422.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5406, allocations: 0 / 422.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.5406, allocations: 3.953 kB / 422.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.5407, allocations: 15.92 kB / 422.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.5407, allocations: 4 kB / 422.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.5408, allocations: 8.125 kB / 422.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.5408, allocations: 0 / 422.7 MB, free: 13.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.694e-05/0.5409, allocations: 105.5 kB / 422.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-05/0.541, allocations: 53.66 kB / 422.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.5411, allocations: 7.969 kB / 422.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.5411, allocations: 3.953 kB / 422.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5411, allocations: 4 kB / 422.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5411, allocations: 0 / 422.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.5413, allocations: 165.5 kB / 423 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5413, allocations: 0 / 423 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.5414, allocations: 19.92 kB / 423 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.5415, allocations: 4 kB / 423 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.5415, allocations: 0 / 423 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.5415, allocations: 0 / 423 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5415, allocations: 7.891 kB / 423 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.5417, allocations: 161.6 kB / 423.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.5418, allocations: 96.88 kB / 423.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.5418, allocations: 0 / 423.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.5419, allocations: 7.953 kB / 423.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.5419, allocations: 0 / 423.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.542, allocations: 3.984 kB / 423.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.889e-05/0.5421, allocations: 103.5 kB / 423.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5421, allocations: 0 / 423.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.5424, allocations: 7.75 kB / 423.4 MB, free: 12.86 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004703/0.5429, allocations: 0.7795 MB / 424.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.543, allocations: 19.81 kB / 424.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.543, allocations: 256 / 424.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.543, allocations: 11.88 kB / 424.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.5433, allocations: 27.66 kB / 424.3 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.5439, allocations: 152.8 kB / 424.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.5442, allocations: 0.6887 MB / 425.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.5442, allocations: 19.23 kB / 425.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5442, allocations: 0 / 425.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.307/2.851, allocations: 0.9536 MB / 426.1 MB, free: 10.15 MB / 346.7 MB