Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.167e-05/4.19e-05, allocations: 4 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.578, allocations: 77.51 MB / 420.1 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.5783, allocations: 78.7 kB / 420.2 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006805/0.5851, allocations: 1.627 MB / 421.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5852, allocations: 0 / 421.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.5852, allocations: 3.984 kB / 421.8 MB, free: 15.11 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004634/0.5857, allocations: 353.8 kB / 422.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.5858, allocations: 12.03 kB / 422.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.5858, allocations: 41.75 kB / 422.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.5859, allocations: 11.84 kB / 422.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.5861, allocations: 190.8 kB / 422.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.5862, allocations: 11.38 kB / 422.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.5862, allocations: 0 / 422.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.5865, allocations: 123.3 kB / 422.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5866, allocations: 0 / 422.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5866, allocations: 0 / 422.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5866, allocations: 11.95 kB / 422.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.5867, allocations: 19.25 kB / 422.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.5873, allocations: 363.2 kB / 423 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.5874, allocations: 98.64 kB / 423.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.5875, allocations: 34.75 kB / 423.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.5876, allocations: 15.34 kB / 423.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.5876, allocations: 42.52 kB / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.5876, allocations: 0 / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002715/0.5879, allocations: 68.41 kB / 423.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/0.588, allocations: 139.9 kB / 423.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.5882, allocations: 133.3 kB / 423.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.5882, allocations: 25.7 kB / 423.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.5883, allocations: 161.4 kB / 423.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.5883, allocations: 7.906 kB / 423.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.5883, allocations: 0 / 423.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5885, allocations: 317.9 kB / 424 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.5885, allocations: 4 kB / 424 MB, free: 12.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.5886, allocations: 42.05 kB / 424 MB, free: 12.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.5887, allocations: 10.94 kB / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5887, allocations: 0 / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000163/0.5888, allocations: 76.05 kB / 424.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5889, allocations: 4 kB / 424.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.5889, allocations: 4 kB / 424.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5889, allocations: 3.953 kB / 424.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.5891, allocations: 12 kB / 424.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5891, allocations: 0 / 424.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.5892, allocations: 11.92 kB / 424.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.5892, allocations: 7.125 kB / 424.2 MB, free: 12.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.958e-05/0.5893, allocations: 101 kB / 424.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.5895, allocations: 67.91 kB / 424.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.5896, allocations: 14.73 kB / 424.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5896, allocations: 3.953 kB / 424.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5896, allocations: 0 / 424.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5896, allocations: 4 kB / 424.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.5899, allocations: 179 kB / 424.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5899, allocations: 0 / 424.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.5901, allocations: 15.98 kB / 424.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5901, allocations: 0 / 424.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5901, allocations: 8.188 kB / 424.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.5901, allocations: 7.938 kB / 424.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5901, allocations: 3.953 kB / 424.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.5904, allocations: 296.1 kB / 424.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-05/0.5905, allocations: 92.12 kB / 424.9 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.5906, allocations: 7.984 kB / 424.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.5907, allocations: 4 kB / 424.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.5908, allocations: 3.938 kB / 424.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.5908, allocations: 4 kB / 424.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.5909, allocations: 111.1 kB / 425.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.591, allocations: 7.938 kB / 425.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003898/0.5914, allocations: 11.44 kB / 425.1 MB, free: 11.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0006424/0.592, allocations: 1.029 MB / 426.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.5922, allocations: 30.88 kB / 426.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5922, allocations: 0 / 426.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.5922, allocations: 7.984 kB / 426.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.5927, allocations: 31.28 kB / 426.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.5934, allocations: 192.7 kB / 426.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.5937, allocations: 0.6965 MB / 427.1 MB, free: 9.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.5938, allocations: 25.67 kB / 427.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5938, allocations: 0 / 427.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.431/3.025, allocations: 1.248 MB / 428.3 MB, free: 8.289 MB / 346.7 MB