Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.617e-05, allocations: 4 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 50.41 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/0.5535, allocations: 76.34 MB / 419 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/0.5539, allocations: 70.08 kB / 419 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002596/0.5565, allocations: 0.6767 MB / 419.7 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5565, allocations: 8 kB / 419.7 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.5566, allocations: 0 / 419.7 MB, free: 0.7656 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.0004181/0.557, allocations: 327.3 kB / 420 MB, free: 420 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.5571, allocations: 12.03 kB / 420.1 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.5571, allocations: 30.56 kB / 420.1 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.5572, allocations: 7.859 kB / 420.1 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.5574, allocations: 171.4 kB / 420.3 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.5575, allocations: 4 kB / 420.3 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.5575, allocations: 4 kB / 420.3 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.5578, allocations: 90.14 kB / 420.4 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5579, allocations: 3.984 kB / 420.4 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5579, allocations: 7.984 kB / 420.4 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5579, allocations: 3.953 kB / 420.4 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.558, allocations: 11.31 kB / 420.4 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.5582, allocations: 161.1 kB / 420.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.5584, allocations: 36.08 kB / 420.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.881e-05/0.5585, allocations: 24.02 kB / 420.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.5585, allocations: 0 / 420.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.5585, allocations: 30.56 kB / 420.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.5586, allocations: 0 / 420.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000198/0.5588, allocations: 57.28 kB / 420.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.5588, allocations: 55.41 kB / 420.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.559, allocations: 99.77 kB / 420.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.559, allocations: 29.7 kB / 420.9 MB, free: 15.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.5591, allocations: 150.6 kB / 421 MB, free: 15.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/0.5591, allocations: 3.938 kB / 421 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.5591, allocations: 0 / 421 MB, free: 15.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5593, allocations: 314.3 kB / 421.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.5593, allocations: 7.984 kB / 421.3 MB, free: 15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.017e-05/0.5594, allocations: 31.27 kB / 421.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.5595, allocations: 6.938 kB / 421.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5595, allocations: 0 / 421.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001545/0.5596, allocations: 52.94 kB / 421.4 MB, free: 14.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.5597, allocations: 8 kB / 421.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.5597, allocations: 0 / 421.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.5597, allocations: 7.938 kB / 421.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.5598, allocations: 0 / 421.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.5598, allocations: 4 kB / 421.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.5599, allocations: 0 / 421.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.5599, allocations: 7.953 kB / 421.4 MB, free: 14.88 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 0.000101/0.56, allocations: 106.8 kB / 421.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.5602, allocations: 44.69 kB / 421.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.5602, allocations: 10.75 kB / 421.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5602, allocations: 4 kB / 421.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5603, allocations: 0 / 421.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5603, allocations: 0 / 421.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.5604, allocations: 169 kB / 421.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5605, allocations: 0 / 421.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.5605, allocations: 0 / 421.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5605, allocations: 0 / 421.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.5606, allocations: 4 kB / 421.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5606, allocations: 0 / 421.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5606, allocations: 0 / 421.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.5607, allocations: 87.78 kB / 421.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.5608, allocations: 77.11 kB / 421.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.5609, allocations: 4.234 kB / 421.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.529e-05/0.5609, allocations: 7.312 kB / 421.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-06/0.561, allocations: 4 kB / 422 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.561, allocations: 0 / 422 MB, free: 14.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.5611, allocations: 79.28 kB / 422 MB, free: 14.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5611, allocations: 4 kB / 422 MB, free: 14.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003876/0.5615, allocations: 7.312 kB / 422 MB, free: 14.2 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.0005389/0.562, allocations: 0.6111 MB / 422.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.5622, allocations: 19.36 kB / 422.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.5622, allocations: 12.12 kB / 422.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.5622, allocations: 0 / 422.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.5625, allocations: 19.06 kB / 422.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.5629, allocations: 121.7 kB / 422.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.5633, allocations: 0.6809 MB / 423.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.5634, allocations: 11.42 kB / 423.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5634, allocations: 0 / 423.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.301/2.865, allocations: 0.7635 MB / 424.3 MB, free: 11.9 MB / 346.7 MB