Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.486e-05, allocations: 4 kB / 292.2 MB, free: 8.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 50.41 MB / 342.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5476, allocations: 77.29 MB / 419.9 MB, free: 436 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.548, allocations: 84.12 kB / 420 MB, free: 388 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006006/0.554, allocations: 1.509 MB / 421.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5541, allocations: 0 / 421.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.5541, allocations: 0 / 421.5 MB, free: 15.06 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.0004497/0.5545, allocations: 356.4 kB / 421.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.5546, allocations: 12.03 kB / 421.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.5547, allocations: 46.25 kB / 421.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.5547, allocations: 7.906 kB / 421.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.555, allocations: 185.2 kB / 422.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.555, allocations: 0 / 422.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.555, allocations: 6.562 kB / 422.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.5553, allocations: 115.9 kB / 422.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5553, allocations: 3.953 kB / 422.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.5554, allocations: 0 / 422.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5554, allocations: 0 / 422.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.219e-05/0.5554, allocations: 19.17 kB / 422.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.5559, allocations: 276.8 kB / 422.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.556, allocations: 64.69 kB / 422.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.5561, allocations: 32.91 kB / 422.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.5561, allocations: 4 kB / 422.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.5562, allocations: 34.56 kB / 422.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.5562, allocations: 0 / 422.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002171/0.5564, allocations: 63.97 kB / 422.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.5565, allocations: 110.8 kB / 422.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.5567, allocations: 133.8 kB / 422.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.5567, allocations: 25.7 kB / 423 MB, free: 13.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.5568, allocations: 161.3 kB / 423.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.5568, allocations: 4 kB / 423.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-06/0.5568, allocations: 3.938 kB / 423.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5569, allocations: 314.5 kB / 423.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.557, allocations: 4 kB / 423.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.557, allocations: 30.81 kB / 423.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.598e-05/0.5571, allocations: 7.984 kB / 423.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5571, allocations: 0 / 423.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001273/0.5572, allocations: 64.39 kB / 423.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5573, allocations: 5.406 kB / 423.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5573, allocations: 4.125 kB / 423.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.5573, allocations: 4 kB / 423.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.5574, allocations: 12.03 kB / 423.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5575, allocations: 0 / 423.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.5575, allocations: 11.92 kB / 423.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.5576, allocations: 3.984 kB / 423.6 MB, free: 12.79 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: 0 () * 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 7.378e-05/0.5577, allocations: 105 kB / 423.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5578, allocations: 48.75 kB / 423.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.5578, allocations: 22.27 kB / 423.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5578, allocations: 0 / 423.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.5579, allocations: 7.938 kB / 423.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5579, allocations: 0 / 423.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.5581, allocations: 164.7 kB / 423.9 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5581, allocations: 4 kB / 423.9 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.5582, allocations: 11.98 kB / 423.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.5583, allocations: 3.953 kB / 424 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.5583, allocations: 0 / 424 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.5583, allocations: 7.984 kB / 424 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5583, allocations: 4 kB / 424 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.5585, allocations: 186.8 kB / 424.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.5586, allocations: 92.5 kB / 424.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.5586, allocations: 15.92 kB / 424.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5588, allocations: 0 / 424.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.5588, allocations: 4 kB / 424.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.5588, allocations: 3.5 kB / 424.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.5589, allocations: 106.3 kB / 424.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5589, allocations: 0 / 424.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.5593, allocations: 4 kB / 424.4 MB, free: 11.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0005375/0.5598, allocations: 0.8797 MB / 425.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.56, allocations: 23.38 kB / 425.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.56, allocations: 256 / 425.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.656e-05/0.56, allocations: 11.62 kB / 425.3 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.5604, allocations: 34.02 kB / 425.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.5609, allocations: 170.3 kB / 425.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.5612, allocations: 0.6965 MB / 426.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.5613, allocations: 17.94 kB / 426.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.5613, allocations: 256 / 426.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.186/2.747, allocations: 1.134 MB / 427.3 MB, free: 8.922 MB / 346.7 MB