Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.116/2.116, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.514e-05, allocations: 7.984 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 50.41 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.485/0.6003, allocations: 76.29 MB / 418.9 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.6007, allocations: 75.08 kB / 419 MB, free: 1.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002769/0.6035, allocations: 0.7793 MB / 419.8 MB, free: 0.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6035, allocations: 0 / 419.8 MB, free: 0.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.6035, allocations: 4 kB / 419.8 MB, free: 0.6641 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.0003853/0.6039, allocations: 329.7 kB / 420.1 MB, free: 312 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.604, allocations: 8.031 kB / 420.1 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.604, allocations: 34.56 kB / 420.1 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.6041, allocations: 7.859 kB / 420.2 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.6043, allocations: 176.1 kB / 420.3 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.6043, allocations: 8 kB / 420.3 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.6043, allocations: 3.375 kB / 420.3 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.6046, allocations: 96.88 kB / 420.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6047, allocations: 0 / 420.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.6047, allocations: 0 / 420.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.6047, allocations: 3.953 kB / 420.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.6048, allocations: 7.312 kB / 420.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.6049, allocations: 163.5 kB / 420.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.6051, allocations: 41.08 kB / 420.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.6051, allocations: 20.52 kB / 420.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.6052, allocations: 4 kB / 420.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.6052, allocations: 33.81 kB / 420.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.526e-06/0.6052, allocations: 0 / 420.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001747/0.6054, allocations: 60.45 kB / 420.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.6055, allocations: 58.47 kB / 420.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/0.6056, allocations: 96.83 kB / 420.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.6056, allocations: 33.64 kB / 420.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.6057, allocations: 153.9 kB / 421.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.6057, allocations: 0 / 421.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.6057, allocations: 0 / 421.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.6058, allocations: 318.8 kB / 421.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.6059, allocations: 11.31 kB / 421.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.6059, allocations: 26.44 kB / 421.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.249e-05/0.606, allocations: 8 kB / 421.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.606, allocations: 0 / 421.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001092/0.6061, allocations: 59.75 kB / 421.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.6061, allocations: 8 kB / 421.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.6061, allocations: 0 / 421.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.6062, allocations: 0 / 421.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.318e-05/0.6063, allocations: 8.375 kB / 421.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.6063, allocations: 3.984 kB / 421.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.6063, allocations: 11.84 kB / 421.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.6063, allocations: 7.953 kB / 421.5 MB, free: 14.74 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.209e-05/0.6064, allocations: 108.1 kB / 421.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.6065, allocations: 49.19 kB / 421.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.6066, allocations: 7.344 kB / 421.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.6066, allocations: 4 kB / 421.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6066, allocations: 0 / 421.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6066, allocations: 0 / 421.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.6068, allocations: 160.8 kB / 421.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6068, allocations: 3.984 kB / 421.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.6069, allocations: 8 kB / 421.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6069, allocations: 0 / 421.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.6069, allocations: 3.438 kB / 421.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6069, allocations: 4 kB / 421.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6069, allocations: 0 / 421.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.6071, allocations: 83.67 kB / 422 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.6072, allocations: 85.09 kB / 422.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.6072, allocations: 0 / 422.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.6073, allocations: 4 kB / 422.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.6073, allocations: 0 / 422.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.6073, allocations: 0 / 422.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.889e-05/0.6074, allocations: 87.09 kB / 422.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6074, allocations: 0 / 422.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.6076, allocations: 11.94 kB / 422.2 MB, free: 14.06 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.0005106/0.6082, allocations: 0.6254 MB / 422.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.6083, allocations: 24.06 kB / 422.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6083, allocations: 0 / 422.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.6083, allocations: 0 / 422.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.6086, allocations: 23.73 kB / 422.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.609, allocations: 135.9 kB / 423 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.6093, allocations: 0.6887 MB / 423.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.6093, allocations: 11.25 kB / 423.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of SimCode: time 6.42e-07/0.6093, allocations: 0 / 423.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.265/2.874, allocations: 0.8651 MB / 424.5 MB, free: 11.63 MB / 346.7 MB