Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.838e-05, allocations: 5.219 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 50.4 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5588, allocations: 76.31 MB / 418.9 MB, free: 1.797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5591, allocations: 78.62 kB / 419 MB, free: 1.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002359/0.5615, allocations: 0.702 MB / 419.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5616, allocations: 0 / 419.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.5616, allocations: 8 kB / 419.7 MB, free: 1.098 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003875/0.562, allocations: 328.5 kB / 420.1 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.5621, allocations: 8.031 kB / 420.1 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.5621, allocations: 43.44 kB / 420.1 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.5622, allocations: 7.781 kB / 420.1 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.5624, allocations: 171 kB / 420.3 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.5624, allocations: 4 kB / 420.3 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.5625, allocations: 0 / 420.3 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.5627, allocations: 95.77 kB / 420.4 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5628, allocations: 0.5 kB / 420.4 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5628, allocations: 0 / 420.4 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5628, allocations: 11.89 kB / 420.4 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.5629, allocations: 4 kB / 420.4 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.5631, allocations: 159.4 kB / 420.5 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.5632, allocations: 41.86 kB / 420.6 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.5633, allocations: 16.8 kB / 420.6 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.5633, allocations: 0 / 420.6 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.5633, allocations: 38.69 kB / 420.6 MB, free: 56 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.5634, allocations: 0 / 420.6 MB, free: 56 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001788/0.5635, allocations: 56.36 kB / 420.7 MB, free: 0 / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.5636, allocations: 55.36 kB / 420.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.546e-05/0.5637, allocations: 104.3 kB / 420.9 MB, free: 15.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.5638, allocations: 25.7 kB / 420.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.5638, allocations: 153.6 kB / 421 MB, free: 15.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.762e-06/0.5639, allocations: 0 / 421 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.5639, allocations: 0 / 421 MB, free: 15.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.564, allocations: 317.9 kB / 421.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.564, allocations: 3.938 kB / 421.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.863e-05/0.5641, allocations: 29.88 kB / 421.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.995e-05/0.5641, allocations: 7.984 kB / 421.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5641, allocations: 0 / 421.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001059/0.5643, allocations: 56.62 kB / 421.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5643, allocations: 4.125 kB / 421.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.5643, allocations: 8 kB / 421.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.5643, allocations: 0 / 421.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.5644, allocations: 11.94 kB / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/0.5645, allocations: 0 / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.261e-05/0.5645, allocations: 7.328 kB / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.5645, allocations: 4 kB / 421.5 MB, free: 15.19 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 8.416e-05/0.5646, allocations: 101 kB / 421.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.5647, allocations: 51.66 kB / 421.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.5648, allocations: 8.031 kB / 421.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5648, allocations: 7.938 kB / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5648, allocations: 0 / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5648, allocations: 0 / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.5649, allocations: 168.2 kB / 421.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.565, allocations: 0 / 421.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.5651, allocations: 8 kB / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5651, allocations: 0 / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.5651, allocations: 0 / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.5651, allocations: 0 / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5651, allocations: 4 kB / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.5653, allocations: 79.75 kB / 421.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.5653, allocations: 89 kB / 422 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.5654, allocations: 0 / 422 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.551e-05/0.5654, allocations: 4.25 kB / 422 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-06/0.5654, allocations: 0 / 422 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.5655, allocations: 4 kB / 422 MB, free: 14.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.543e-05/0.5655, allocations: 82.72 kB / 422.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5655, allocations: 4 kB / 422.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.5658, allocations: 4 kB / 422.1 MB, free: 14.51 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 (step.y,assignClock1.u,assignClock1.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.0004592/0.5662, allocations: 0.6182 MB / 422.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.5664, allocations: 23.25 kB / 422.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5664, allocations: 256 / 422.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.5664, allocations: 4 kB / 422.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.5666, allocations: 15.12 kB / 422.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.567, allocations: 123.1 kB / 422.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.5673, allocations: 0.6848 MB / 423.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.5673, allocations: 15.12 kB / 423.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5673, allocations: 0 / 423.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.482/3.049, allocations: 0.7931 MB / 424.3 MB, free: 12.17 MB / 346.7 MB