Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.003/2.003, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.965e-05/3.963e-05, allocations: 4 kB / 292.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 50.42 MB / 342.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4299/0.5446, allocations: 76.29 MB / 418.9 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5449, allocations: 79.64 kB / 419 MB, free: 1.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002877/0.5478, allocations: 0.7888 MB / 419.8 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5479, allocations: 0 / 419.8 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.5479, allocations: 0 / 419.8 MB, free: 0.6719 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.0003968/0.5483, allocations: 322.2 kB / 420.1 MB, free: 324 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.5484, allocations: 12.03 kB / 420.1 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.5484, allocations: 37.86 kB / 420.2 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.5485, allocations: 11.86 kB / 420.2 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.5487, allocations: 174.5 kB / 420.3 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.5487, allocations: 3.938 kB / 420.3 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.5487, allocations: 4 kB / 420.4 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.549, allocations: 92.52 kB / 420.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5491, allocations: 0 / 420.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.5491, allocations: 0 / 420.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.5491, allocations: 7.953 kB / 420.5 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.5492, allocations: 11.12 kB / 420.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.5493, allocations: 153.5 kB / 420.6 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.5495, allocations: 40.75 kB / 420.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.5495, allocations: 28 kB / 420.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.5496, allocations: 0 / 420.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.5496, allocations: 31.25 kB / 420.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.5496, allocations: 7.938 kB / 420.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001746/0.5498, allocations: 53.61 kB / 420.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.5499, allocations: 55.22 kB / 420.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.55, allocations: 101 kB / 420.9 MB, free: 15.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.55, allocations: 29.64 kB / 421 MB, free: 15.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.5501, allocations: 150.6 kB / 421.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.5501, allocations: 3.984 kB / 421.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.5501, allocations: 4 kB / 421.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5502, allocations: 318.7 kB / 421.4 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.5503, allocations: 4 kB / 421.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.204e-05/0.5503, allocations: 31.06 kB / 421.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.5503, allocations: 4 kB / 421.5 MB, free: 14.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5504, allocations: 0 / 421.5 MB, free: 14.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001175/0.5505, allocations: 61.56 kB / 421.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.5505, allocations: 5.406 kB / 421.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.5505, allocations: 0 / 421.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.5506, allocations: 4 kB / 421.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.5507, allocations: 11.98 kB / 421.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5507, allocations: 0 / 421.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.5508, allocations: 7.75 kB / 421.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.5508, allocations: 7.953 kB / 421.6 MB, free: 14.76 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 (step.counter,$CLKPRE.step.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.682e-05/0.5509, allocations: 113 kB / 421.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.551, allocations: 53.53 kB / 421.7 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.551, allocations: 7.781 kB / 421.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5511, allocations: 0 / 421.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5511, allocations: 0 / 421.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5511, allocations: 0 / 421.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.5512, allocations: 161.2 kB / 421.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5512, allocations: 0 / 421.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.5514, allocations: 8 kB / 421.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.5514, allocations: 3.938 kB / 421.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.5514, allocations: 8 kB / 421.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.5514, allocations: 3.984 kB / 421.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5514, allocations: 0 / 421.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.5516, allocations: 80.52 kB / 422 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.5516, allocations: 81.02 kB / 422.1 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.5517, allocations: 3.312 kB / 422.1 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-05/0.5517, allocations: 4 kB / 422.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.5518, allocations: 0 / 422.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.5518, allocations: 4 kB / 422.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.539e-05/0.5519, allocations: 95.39 kB / 422.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5519, allocations: 0 / 422.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.5521, allocations: 4 kB / 422.2 MB, free: 14.07 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 (step.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.0005001/0.5526, allocations: 0.618 MB / 422.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.5528, allocations: 27.31 kB / 422.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5528, allocations: 0 / 422.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.5528, allocations: 3.984 kB / 422.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.5531, allocations: 22.62 kB / 422.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.5535, allocations: 127.1 kB / 423 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.5538, allocations: 0.6887 MB / 423.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.5538, allocations: 15.12 kB / 423.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5539, allocations: 4 kB / 423.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.417/2.971, allocations: 0.8707 MB / 424.5 MB, free: 11.63 MB / 346.7 MB