Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.201/2.201, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.379e-05, allocations: 0 / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 50.41 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.461/0.5776, allocations: 77.29 MB / 419.9 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.578, allocations: 78.77 kB / 420 MB, free: 440 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009228/0.5872, allocations: 2.108 MB / 422.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5873, allocations: 0 / 422.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.5873, allocations: 4 kB / 422.1 MB, free: 14.64 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.000457/0.5878, allocations: 363.5 kB / 422.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5878, allocations: 8.031 kB / 422.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.5879, allocations: 33.81 kB / 422.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.588, allocations: 19.73 kB / 422.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.5882, allocations: 181.7 kB / 422.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.5882, allocations: 3.984 kB / 422.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.5883, allocations: 4 kB / 422.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.5885, allocations: 98.42 kB / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.5886, allocations: 4 kB / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5886, allocations: 3.953 kB / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.5886, allocations: 0 / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.5887, allocations: 11.36 kB / 422.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.5891, allocations: 275.3 kB / 423.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.5892, allocations: 37.16 kB / 423.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.5893, allocations: 16.97 kB / 423.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.5893, allocations: 3.953 kB / 423.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.5893, allocations: 38.5 kB / 423.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.5893, allocations: 4 kB / 423.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001974/0.5895, allocations: 49.22 kB / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.5896, allocations: 80.67 kB / 423.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.5898, allocations: 122.6 kB / 423.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.5898, allocations: 27.64 kB / 423.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.5899, allocations: 153.8 kB / 423.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.5899, allocations: 11.83 kB / 423.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.59, allocations: 0 / 423.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5901, allocations: 326.2 kB / 423.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.5901, allocations: 0 / 423.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.5902, allocations: 17.66 kB / 424 MB, free: 12.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.5902, allocations: 7.125 kB / 424 MB, free: 12.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5902, allocations: 0 / 424 MB, free: 12.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001066/0.5904, allocations: 45.3 kB / 424 MB, free: 12.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.5904, allocations: 12.03 kB / 424 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.5904, allocations: 0 / 424 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5904, allocations: 3.938 kB / 424 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.5906, allocations: 4 kB / 424 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.5906, allocations: 4 kB / 424 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.5907, allocations: 3.984 kB / 424 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.5907, allocations: 4.547 kB / 424 MB, free: 12.52 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 7.474e-05/0.5908, allocations: 101 kB / 424.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.5909, allocations: 48.06 kB / 424.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.5909, allocations: 14.88 kB / 424.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.5909, allocations: 4 kB / 424.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.591, allocations: 0 / 424.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.591, allocations: 0 / 424.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.5912, allocations: 164 kB / 424.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5912, allocations: 4 kB / 424.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.222e-05/0.5913, allocations: 8 kB / 424.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.5913, allocations: 0 / 424.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5913, allocations: 3.984 kB / 424.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.5913, allocations: 11.94 kB / 424.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5914, allocations: 0 / 424.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.5915, allocations: 156.6 kB / 424.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.5916, allocations: 91.98 kB / 424.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.5917, allocations: 0 / 424.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.5918, allocations: 12.02 kB / 424.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.5918, allocations: 0 / 424.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.5918, allocations: 4 kB / 424.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.592, allocations: 104.9 kB / 424.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.592, allocations: 0 / 424.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.5923, allocations: 8 kB / 424.8 MB, free: 11.73 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.0004902/0.5928, allocations: 0.7667 MB / 425.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.5929, allocations: 15.38 kB / 425.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5929, allocations: 0 / 425.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.593, allocations: 7.938 kB / 425.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.5933, allocations: 27.06 kB / 425.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.5939, allocations: 151 kB / 425.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.5942, allocations: 0.6926 MB / 426.4 MB, free: 9.992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.5942, allocations: 10.56 kB / 426.4 MB, free: 9.988 MB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5943, allocations: 4 kB / 426.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.493/3.087, allocations: 0.9969 MB / 427.4 MB, free: 9 MB / 346.7 MB