Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.062e-05/4.069e-05, allocations: 4 kB / 292.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 50.41 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4391/0.5525, allocations: 76.3 MB / 418.9 MB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5528, allocations: 74.7 kB / 419 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002654/0.5555, allocations: 0.7455 MB / 419.8 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5555, allocations: 0 / 419.8 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.5556, allocations: 0.9062 kB / 419.8 MB, free: 0.7461 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.0003894/0.556, allocations: 334.4 kB / 420.1 MB, free: 388 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.556, allocations: 8.031 kB / 420.1 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.5561, allocations: 34.5 kB / 420.1 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.5562, allocations: 15.84 kB / 420.1 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.5564, allocations: 171 kB / 420.3 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.5564, allocations: 0.875 kB / 420.3 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.5564, allocations: 7.938 kB / 420.3 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.5567, allocations: 94.89 kB / 420.4 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.5567, allocations: 0 / 420.4 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.5568, allocations: 0 / 420.4 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.5568, allocations: 7.953 kB / 420.4 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.5568, allocations: 4 kB / 420.4 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.5571, allocations: 161 kB / 420.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.5572, allocations: 42.02 kB / 420.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.324e-05/0.5573, allocations: 20.95 kB / 420.6 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.5573, allocations: 7.938 kB / 420.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.5574, allocations: 30.56 kB / 420.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.5574, allocations: 0 / 420.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.5576, allocations: 49.38 kB / 420.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.5576, allocations: 59.19 kB / 420.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.5578, allocations: 97.83 kB / 420.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.5578, allocations: 29.39 kB / 420.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.5579, allocations: 154.6 kB / 421.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.5579, allocations: 0 / 421.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.5579, allocations: 0 / 421.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5581, allocations: 318.8 kB / 421.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.5581, allocations: 7.938 kB / 421.4 MB, free: 14.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.763e-05/0.5582, allocations: 35.38 kB / 421.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.277e-05/0.5582, allocations: 8 kB / 421.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5582, allocations: 0 / 421.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001145/0.5583, allocations: 53.56 kB / 421.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5584, allocations: 8 kB / 421.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5584, allocations: 128 / 421.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5584, allocations: 4 kB / 421.5 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.5585, allocations: 4 kB / 421.5 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.5585, allocations: 8.125 kB / 421.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.5585, allocations: 3.812 kB / 421.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.5586, allocations: 7.953 kB / 421.5 MB, free: 14.83 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.428e-05/0.5587, allocations: 108.9 kB / 421.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.62e-05/0.5588, allocations: 45.42 kB / 421.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.5588, allocations: 15.11 kB / 421.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5588, allocations: 0 / 421.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5588, allocations: 0 / 421.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5588, allocations: 0 / 421.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.559, allocations: 165.6 kB / 421.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.559, allocations: 0 / 421.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.5591, allocations: 11.97 kB / 421.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5591, allocations: 0 / 421.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.5591, allocations: 0 / 421.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5591, allocations: 0 / 421.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5591, allocations: 0 / 421.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.5593, allocations: 80.77 kB / 421.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.5593, allocations: 77.11 kB / 422 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.5594, allocations: 8 kB / 422 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/0.5594, allocations: 7.734 kB / 422 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-06/0.5594, allocations: 0 / 422 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.5595, allocations: 4 kB / 422 MB, free: 14.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.911e-05/0.5595, allocations: 79.28 kB / 422.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5595, allocations: 0 / 422.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.5598, allocations: 7.938 kB / 422.1 MB, free: 14.16 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.0005165/0.5603, allocations: 0.6276 MB / 422.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.5605, allocations: 23.86 kB / 422.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5605, allocations: 0 / 422.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.5605, allocations: 0 / 422.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.5607, allocations: 23.34 kB / 422.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.5611, allocations: 124.3 kB / 422.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.5614, allocations: 0.6887 MB / 423.6 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.5614, allocations: 15.31 kB / 423.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5614, allocations: 3.938 kB / 423.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.242/2.803, allocations: 0.8284 MB / 424.4 MB, free: 11.76 MB / 346.7 MB