Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.492e-05, allocations: 4 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4374/0.547, allocations: 77.13 MB / 419.8 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.5474, allocations: 74.2 kB / 419.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006168/0.5536, allocations: 1.407 MB / 421.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.756e-06/0.5536, allocations: 0 / 421.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.5537, allocations: 7.938 kB / 421.2 MB, free: 15.36 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000472/0.5542, allocations: 350.2 kB / 421.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.5542, allocations: 12.03 kB / 421.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.5543, allocations: 42.31 kB / 421.6 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.5543, allocations: 7.906 kB / 421.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.5546, allocations: 182.8 kB / 421.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.5546, allocations: 0 / 421.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.5546, allocations: 7.875 kB / 421.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.5549, allocations: 84.73 kB / 421.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5549, allocations: 4 kB / 421.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.555, allocations: 0 / 421.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.555, allocations: 3.953 kB / 421.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.555, allocations: 11.88 kB / 421.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.5555, allocations: 265.2 kB / 422.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.816e-05/0.5556, allocations: 37.03 kB / 422.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.5557, allocations: 15.06 kB / 422.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.5557, allocations: 3.938 kB / 422.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.5558, allocations: 42.39 kB / 422.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 4.288e-06/0.5558, allocations: 7.984 kB / 422.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002183/0.556, allocations: 45.59 kB / 422.3 MB, free: 14.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.5561, allocations: 84.86 kB / 422.4 MB, free: 14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.5563, allocations: 119.4 kB / 422.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.5563, allocations: 25.7 kB / 422.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.5564, allocations: 161.8 kB / 422.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.5564, allocations: 3.938 kB / 422.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.5565, allocations: 4.062 kB / 422.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5566, allocations: 314.2 kB / 423 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.5566, allocations: 4 kB / 423 MB, free: 13.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.5567, allocations: 16.91 kB / 423.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.067e-05/0.5567, allocations: 0 / 423.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.5567, allocations: 4 kB / 423.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001179/0.5568, allocations: 52.78 kB / 423.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5569, allocations: 4 kB / 423.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.5569, allocations: 3.984 kB / 423.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.5569, allocations: 7.953 kB / 423.1 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.5571, allocations: 4 kB / 423.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5571, allocations: 0 / 423.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.5572, allocations: 7.984 kB / 423.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.5572, allocations: 0 / 423.1 MB, free: 13.27 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.004e-05/0.5573, allocations: 113 kB / 423.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/0.5574, allocations: 32.39 kB / 423.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.5574, allocations: 14.95 kB / 423.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5575, allocations: 3.953 kB / 423.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5575, allocations: 0 / 423.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5575, allocations: 4 kB / 423.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.5577, allocations: 169.5 kB / 423.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5577, allocations: 0 / 423.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.023e-05/0.5578, allocations: 7.938 kB / 423.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.5578, allocations: 4 kB / 423.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.5579, allocations: 4.031 kB / 423.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5579, allocations: 0 / 423.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5579, allocations: 3.953 kB / 423.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.5581, allocations: 160.8 kB / 423.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.5582, allocations: 89 kB / 423.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.5582, allocations: 4.031 kB / 423.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.5583, allocations: 15.31 kB / 423.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.5584, allocations: 0 / 423.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.5584, allocations: 0 / 423.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.5585, allocations: 105.2 kB / 423.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5585, allocations: 0 / 423.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002969/0.5588, allocations: 4 kB / 423.9 MB, free: 12.47 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.0005446/0.5594, allocations: 0.7651 MB / 424.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.5595, allocations: 10.88 kB / 424.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5596, allocations: 0 / 424.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.5596, allocations: 11.12 kB / 424.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.56, allocations: 28.06 kB / 424.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.5605, allocations: 154.9 kB / 424.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.5609, allocations: 0.6926 MB / 425.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.5609, allocations: 10.81 kB / 425.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5609, allocations: 0 / 425.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.547/3.108, allocations: 0.9478 MB / 426.5 MB, free: 9.793 MB / 346.7 MB