Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.9e-05/3.905e-05, allocations: 4 kB / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 50.42 MB / 342.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5495, allocations: 76.85 MB / 419.5 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.5498, allocations: 78.31 kB / 419.6 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005315/0.5551, allocations: 1.315 MB / 420.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5552, allocations: 0 / 420.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.5552, allocations: 4 kB / 420.9 MB, free: 15.73 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004348/0.5557, allocations: 346.2 kB / 421.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.5557, allocations: 8.031 kB / 421.2 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.5558, allocations: 34.38 kB / 421.3 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.5559, allocations: 15.86 kB / 421.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.5561, allocations: 194.7 kB / 421.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.5562, allocations: 11.81 kB / 421.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.5562, allocations: 4 kB / 421.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.5566, allocations: 130.2 kB / 421.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5566, allocations: 0 / 421.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.5567, allocations: 7.953 kB / 421.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.5567, allocations: 3.938 kB / 421.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.5568, allocations: 19.92 kB / 421.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.557, allocations: 175.1 kB / 421.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.5572, allocations: 70.59 kB / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.5573, allocations: 43.89 kB / 421.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.5573, allocations: 4 kB / 421.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.5574, allocations: 30.56 kB / 422 MB, free: 14.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.455e-06/0.5574, allocations: 0 / 422 MB, free: 14.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002654/0.5577, allocations: 85.69 kB / 422 MB, free: 14.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.5578, allocations: 66.3 kB / 422.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.5579, allocations: 121.7 kB / 422.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.558, allocations: 29.7 kB / 422.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.558, allocations: 153.9 kB / 422.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.5581, allocations: 7.984 kB / 422.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.5581, allocations: 3.375 kB / 422.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5582, allocations: 314.8 kB / 422.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/0.5582, allocations: 7.188 kB / 422.7 MB, free: 13.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.5583, allocations: 54.31 kB / 422.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.702e-05/0.5584, allocations: 23.3 kB / 422.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5584, allocations: 0 / 422.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002019/0.5586, allocations: 91.58 kB / 422.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.5587, allocations: 10.81 kB / 422.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5587, allocations: 3.938 kB / 422.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.5587, allocations: 4 kB / 422.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.5589, allocations: 12 kB / 422.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.5589, allocations: 7.938 kB / 422.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.559, allocations: 3.953 kB / 422.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.559, allocations: 15.38 kB / 423 MB, free: 13.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001197/0.5591, allocations: 119.7 kB / 423.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.5593, allocations: 76.23 kB / 423.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/0.5594, allocations: 12 kB / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5594, allocations: 0 / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5594, allocations: 0 / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.5594, allocations: 3.984 kB / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.5596, allocations: 179.1 kB / 423.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5596, allocations: 0 / 423.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.5598, allocations: 19.92 kB / 423.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.5598, allocations: 4 kB / 423.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.5598, allocations: 3.875 kB / 423.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.5598, allocations: 4 kB / 423.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5598, allocations: 0 / 423.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.5601, allocations: 103.8 kB / 423.5 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.856e-05/0.5602, allocations: 100.3 kB / 423.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.5602, allocations: 3.25 kB / 423.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.493e-05/0.5603, allocations: 3.984 kB / 423.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.5603, allocations: 4 kB / 423.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.5603, allocations: 4 kB / 423.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.5604, allocations: 105.6 kB / 423.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5604, allocations: 0 / 423.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.5608, allocations: 8 kB / 423.7 MB, free: 12.78 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006539/0.5614, allocations: 0.6864 MB / 424.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.5616, allocations: 38.31 kB / 424.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5617, allocations: 0 / 424.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.5617, allocations: 0 / 424.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.5621, allocations: 46.06 kB / 424.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.5626, allocations: 182.8 kB / 424.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.563, allocations: 0.7048 MB / 425.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.563, allocations: 17.56 kB / 425.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/0.5631, allocations: 7.875 kB / 425.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.511/3.074, allocations: 1.209 MB / 426.6 MB, free: 9.871 MB / 346.7 MB