Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.14/2.14, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.579e-05, allocations: 0 / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 50.42 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5656, allocations: 77.24 MB / 419.9 MB, free: 0.875 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5659, allocations: 82.67 kB / 420 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006543/0.5725, allocations: 1.509 MB / 421.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5725, allocations: 0 / 421.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.5726, allocations: 0 / 421.5 MB, free: 15.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004619/0.573, allocations: 350.1 kB / 421.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5731, allocations: 12.03 kB / 421.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.5732, allocations: 38.12 kB / 421.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.5732, allocations: 15.8 kB / 421.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.5735, allocations: 186.1 kB / 422.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.5735, allocations: 4 kB / 422.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.5736, allocations: 0 / 422.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.5739, allocations: 111.2 kB / 422.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5739, allocations: 3.984 kB / 422.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.5739, allocations: 3.953 kB / 422.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.5739, allocations: 0 / 422.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.574, allocations: 11.11 kB / 422.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.5745, allocations: 270.3 kB / 422.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.768e-05/0.5746, allocations: 41.53 kB / 422.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.5746, allocations: 13.78 kB / 422.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.5747, allocations: 3.953 kB / 422.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.5747, allocations: 33.56 kB / 422.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/0.5747, allocations: 0 / 422.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002111/0.5749, allocations: 56.47 kB / 422.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.575, allocations: 77.11 kB / 422.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.5752, allocations: 125.4 kB / 422.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.5752, allocations: 29.7 kB / 422.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.5753, allocations: 156.9 kB / 423 MB, free: 13.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.5753, allocations: 7.891 kB / 423 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.5753, allocations: 0 / 423 MB, free: 13.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5755, allocations: 318.8 kB / 423.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.5755, allocations: 4 kB / 423.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.374e-05/0.5756, allocations: 21.03 kB / 423.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.5756, allocations: 4 kB / 423.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.5756, allocations: 0 / 423.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001151/0.5757, allocations: 45.2 kB / 423.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.5758, allocations: 4.125 kB / 423.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5758, allocations: 8 kB / 423.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.5758, allocations: 0 / 423.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.576, allocations: 4 kB / 423.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.576, allocations: 7.922 kB / 423.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.5761, allocations: 11.92 kB / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.5761, allocations: 0 / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.372e-05/0.5762, allocations: 108.1 kB / 423.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/0.5763, allocations: 41.56 kB / 423.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.5763, allocations: 15.33 kB / 423.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5764, allocations: 0 / 423.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.5764, allocations: 4 kB / 423.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5764, allocations: 0 / 423.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.5766, allocations: 163.7 kB / 423.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5766, allocations: 0 / 423.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.463e-05/0.5767, allocations: 8 kB / 423.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.5768, allocations: 0 / 423.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.5768, allocations: 3.953 kB / 423.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5768, allocations: 32 / 423.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5768, allocations: 8 kB / 423.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.577, allocations: 163.2 kB / 423.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.5771, allocations: 92.95 kB / 424 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.5771, allocations: 0 / 424 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5773, allocations: 12.02 kB / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.5773, allocations: 3.125 kB / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.5773, allocations: 4 kB / 424 MB, free: 12.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.5775, allocations: 104.8 kB / 424.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5775, allocations: 4 kB / 424.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.5778, allocations: 4 kB / 424.1 MB, free: 12.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005284/0.5783, allocations: 0.774 MB / 424.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.5785, allocations: 15.19 kB / 424.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5785, allocations: 0 / 424.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.5785, allocations: 4 kB / 424.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.5789, allocations: 18.58 kB / 424.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.5795, allocations: 161.7 kB / 425.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.5798, allocations: 0.6926 MB / 425.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.5799, allocations: 18.36 kB / 425.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5799, allocations: 0 / 425.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.409/2.989, allocations: 1.039 MB / 426.8 MB, free: 9.82 MB / 346.7 MB