Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.103/2.103, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.764e-05/3.776e-05, allocations: 0 / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 50.43 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.5453, allocations: 76.32 MB / 419 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5456, allocations: 74 kB / 419 MB, free: 1.391 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003538/0.5492, allocations: 0.85 MB / 419.9 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5492, allocations: 0 / 419.9 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.5492, allocations: 4 kB / 419.9 MB, free: 0.6172 MB / 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.0005325/0.5498, allocations: 333.7 kB / 420.2 MB, free: 256 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.5499, allocations: 12.75 kB / 420.2 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.5499, allocations: 37.94 kB / 420.3 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.55, allocations: 12.45 kB / 420.3 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.5502, allocations: 178.7 kB / 420.4 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.5502, allocations: 3.984 kB / 420.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.5503, allocations: 4 kB / 420.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.5506, allocations: 107.7 kB / 420.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.5506, allocations: 0 / 420.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.5506, allocations: 0 / 420.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.5507, allocations: 7.953 kB / 420.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.497e-05/0.5507, allocations: 15.88 kB / 420.6 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.5509, allocations: 165.4 kB / 420.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.5511, allocations: 42.06 kB / 420.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.5512, allocations: 24.64 kB / 420.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.5512, allocations: 0 / 420.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.5512, allocations: 38.62 kB / 420.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.933e-06/0.5512, allocations: 0 / 420.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001951/0.5514, allocations: 65.22 kB / 420.9 MB, free: 15.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.5515, allocations: 55.41 kB / 421 MB, free: 15.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.5516, allocations: 100.6 kB / 421.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.5517, allocations: 25.7 kB / 421.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.5517, allocations: 150.6 kB / 421.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.5518, allocations: 3.625 kB / 421.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.5518, allocations: 0 / 421.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5519, allocations: 314.8 kB / 421.5 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.5519, allocations: 11.88 kB / 421.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.176e-05/0.552, allocations: 27.44 kB / 421.6 MB, free: 14.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.552, allocations: 11.19 kB / 421.6 MB, free: 14.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.552, allocations: 0 / 421.6 MB, free: 14.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001139/0.5522, allocations: 57.44 kB / 421.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.5522, allocations: 9.406 kB / 421.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5522, allocations: 0 / 421.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5522, allocations: 0 / 421.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/0.5523, allocations: 8 kB / 421.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.5524, allocations: 7.984 kB / 421.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.5524, allocations: 3.906 kB / 421.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.5524, allocations: 3.953 kB / 421.7 MB, free: 14.66 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: 2 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.571e-05/0.5525, allocations: 116.6 kB / 421.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.5527, allocations: 56.38 kB / 421.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.5527, allocations: 7.281 kB / 421.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.5527, allocations: 3.938 kB / 421.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5527, allocations: 0 / 421.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.5527, allocations: 0 / 421.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.5529, allocations: 164.9 kB / 422 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.5529, allocations: 4 kB / 422 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.5531, allocations: 15.97 kB / 422 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5531, allocations: 96 / 422 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.5531, allocations: 7.062 kB / 422.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5532, allocations: 4 kB / 422.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5532, allocations: 3.984 kB / 422.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.5533, allocations: 83.92 kB / 422.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.5534, allocations: 81.09 kB / 422.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.5534, allocations: 7.375 kB / 422.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.5536, allocations: 7.984 kB / 422.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-06/0.5536, allocations: 0 / 422.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.5536, allocations: 4 kB / 422.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.5537, allocations: 91.02 kB / 422.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5537, allocations: 0 / 422.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002498/0.5539, allocations: 4 kB / 422.3 MB, free: 13.95 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: 1 (ramp.counter) * 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.0005557/0.5545, allocations: 0.6406 MB / 423 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.5547, allocations: 31.56 kB / 423 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5547, allocations: 0 / 423 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.5547, allocations: 0 / 423 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.555, allocations: 23.7 kB / 423 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.5555, allocations: 135.6 kB / 423.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.5557, allocations: 0.6848 MB / 423.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.5558, allocations: 18.12 kB / 423.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of SimCode: time 3.676e-06/0.5558, allocations: 256 / 423.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.402/2.958, allocations: 0.9435 MB / 424.8 MB, free: 11.43 MB / 346.7 MB