Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.104/2.104, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.408e-05, allocations: 0 / 292.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 50.42 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4631/0.584, allocations: 76.72 MB / 419.4 MB, free: 1.355 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.5844, allocations: 75.27 kB / 419.4 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004156/0.5886, allocations: 1.028 MB / 420.5 MB, free: 404 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5886, allocations: 4 kB / 420.5 MB, free: 400 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.5887, allocations: 4 kB / 420.5 MB, free: 396 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004609/0.5891, allocations: 347 kB / 420.8 MB, free: 12 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.5892, allocations: 8.031 kB / 420.8 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.07e-05/0.5893, allocations: 33.94 kB / 420.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.5893, allocations: 11.86 kB / 420.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.5895, allocations: 174.9 kB / 421 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.5896, allocations: 7.438 kB / 421 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.5896, allocations: 4 kB / 421 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.5899, allocations: 100.4 kB / 421.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.5899, allocations: 0 / 421.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.5899, allocations: 0 / 421.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.5899, allocations: 3.953 kB / 421.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.59, allocations: 15.94 kB / 421.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.5902, allocations: 164.4 kB / 421.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.5903, allocations: 45.64 kB / 421.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.5904, allocations: 19.58 kB / 421.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.5905, allocations: 0 / 421.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.5905, allocations: 34.56 kB / 421.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.096e-06/0.5905, allocations: 7.984 kB / 421.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000187/0.5907, allocations: 48.14 kB / 421.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.5908, allocations: 58.84 kB / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.5909, allocations: 108.1 kB / 421.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.5909, allocations: 25.7 kB / 421.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.591, allocations: 150.6 kB / 421.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/0.591, allocations: 1.938 kB / 421.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.591, allocations: 0 / 421.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5911, allocations: 314.8 kB / 422.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.5912, allocations: 5.75 kB / 422.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.5912, allocations: 31.06 kB / 422.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.5912, allocations: 7.984 kB / 422.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5912, allocations: 0 / 422.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.675e-05/0.5914, allocations: 53.02 kB / 422.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5914, allocations: 7.938 kB / 422.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5914, allocations: 7.984 kB / 422.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5914, allocations: 0 / 422.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.5915, allocations: 8 kB / 422.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5915, allocations: 3.938 kB / 422.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.5916, allocations: 0 / 422.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.5916, allocations: 7.953 kB / 422.2 MB, free: 14.45 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.574e-05/0.5917, allocations: 108.7 kB / 422.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.5918, allocations: 53.53 kB / 422.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.5919, allocations: 7.281 kB / 422.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5919, allocations: 0 / 422.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5919, allocations: 0 / 422.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5919, allocations: 4 kB / 422.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.592, allocations: 161.3 kB / 422.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.592, allocations: 0 / 422.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.5922, allocations: 19.98 kB / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5922, allocations: 4 kB / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.5922, allocations: 3.5 kB / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5922, allocations: 3.938 kB / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.5923, allocations: 0 / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.5924, allocations: 75.7 kB / 422.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.5925, allocations: 85.02 kB / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.5925, allocations: 0 / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.803e-05/0.5926, allocations: 15.23 kB / 422.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.683e-06/0.5926, allocations: 4 kB / 422.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.5926, allocations: 0 / 422.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.5927, allocations: 86.7 kB / 422.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5927, allocations: 0 / 422.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.593, allocations: 4 kB / 422.9 MB, free: 13.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0004477/0.5934, allocations: 0.627 MB / 423.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.5936, allocations: 15.25 kB / 423.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.5936, allocations: 0 / 423.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.5936, allocations: 3.938 kB / 423.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.5939, allocations: 28.03 kB / 423.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.5943, allocations: 130.7 kB / 423.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.5945, allocations: 0.6851 MB / 424.4 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.5946, allocations: 18.8 kB / 424.4 MB, free: 12.19 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5946, allocations: 0 / 424.4 MB, free: 12.19 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.328/2.923, allocations: 0.8313 MB / 425.2 MB, free: 11.36 MB / 346.7 MB