Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.301e-05, allocations: 4 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 50.42 MB / 342.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5669, allocations: 77.19 MB / 419.8 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.5672, allocations: 78.64 kB / 419.9 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007192/0.5744, allocations: 1.742 MB / 421.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5745, allocations: 4 kB / 421.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.5745, allocations: 4 kB / 421.7 MB, free: 14.96 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005048/0.575, allocations: 362.3 kB / 422 MB, free: 14.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.5751, allocations: 8.031 kB / 422 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/0.5751, allocations: 42.45 kB / 422.1 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.5752, allocations: 11.81 kB / 422.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.5755, allocations: 194.8 kB / 422.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.5755, allocations: 8 kB / 422.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.5755, allocations: 11.8 kB / 422.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.5758, allocations: 113 kB / 422.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5758, allocations: 0 / 422.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.5759, allocations: 4 kB / 422.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.5759, allocations: 3.953 kB / 422.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.912e-05/0.576, allocations: 23.5 kB / 422.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.5766, allocations: 385 kB / 422.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.5767, allocations: 64.83 kB / 422.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/0.5768, allocations: 30.5 kB / 422.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.5768, allocations: 0 / 422.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.5769, allocations: 42.27 kB / 422.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.5769, allocations: 7.938 kB / 422.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000265/0.5772, allocations: 73.27 kB / 423 MB, free: 13.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.5773, allocations: 102.8 kB / 423.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.5774, allocations: 132.6 kB / 423.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.5774, allocations: 29.7 kB / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.5775, allocations: 162.1 kB / 423.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.5776, allocations: 3.984 kB / 423.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.5776, allocations: 4.094 kB / 423.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5777, allocations: 318.8 kB / 423.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/0.5778, allocations: 7.812 kB / 423.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.747e-05/0.5778, allocations: 35.36 kB / 423.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.387e-05/0.5779, allocations: 15.88 kB / 423.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5779, allocations: 0 / 423.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001567/0.5781, allocations: 69.14 kB / 423.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.5781, allocations: 7.938 kB / 423.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.5781, allocations: 7.953 kB / 423.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5781, allocations: 0 / 423.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.5783, allocations: 15.98 kB / 423.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5783, allocations: 128 / 423.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.947e-05/0.5784, allocations: 8 kB / 423.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.5785, allocations: 7.938 kB / 423.9 MB, free: 12.52 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.507e-05/0.5786, allocations: 104.8 kB / 424 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.5787, allocations: 49.59 kB / 424.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.5788, allocations: 15.58 kB / 424.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5788, allocations: 3.953 kB / 424.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5788, allocations: 0 / 424.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5788, allocations: 4.031 kB / 424.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.5791, allocations: 185.1 kB / 424.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5791, allocations: 4 kB / 424.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.5793, allocations: 15.98 kB / 424.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5793, allocations: 0 / 424.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5793, allocations: 0 / 424.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.5793, allocations: 4 kB / 424.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5793, allocations: 7.891 kB / 424.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.5796, allocations: 274.9 kB / 424.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.5797, allocations: 96.95 kB / 424.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.5797, allocations: 2.438 kB / 424.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.5799, allocations: 7.984 kB / 424.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.58, allocations: 8 kB / 424.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.58, allocations: 0 / 424.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.5801, allocations: 117.5 kB / 424.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5801, allocations: 0 / 424.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.5805, allocations: 11.94 kB / 424.8 MB, free: 11.57 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.0005827/0.5811, allocations: 0.9553 MB / 425.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.5813, allocations: 29.48 kB / 425.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5813, allocations: 0 / 425.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.5813, allocations: 11.25 kB / 425.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.5817, allocations: 32.61 kB / 425.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.5824, allocations: 200.6 kB / 426 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5827, allocations: 0.7004 MB / 426.7 MB, free: 9.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.5828, allocations: 25.42 kB / 426.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5828, allocations: 0 / 426.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.456/3.039, allocations: 1.303 MB / 428.1 MB, free: 8.27 MB / 346.7 MB