Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.504e-05/4.525e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.563, allocations: 76.89 MB / 419.5 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.5633, allocations: 74.95 kB / 419.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004119/0.5675, allocations: 1.02 MB / 420.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5675, allocations: 8 kB / 420.6 MB, free: 15.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.5675, allocations: 0 / 420.6 MB, free: 15.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003925/0.568, allocations: 333.7 kB / 420.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.568, allocations: 12.03 kB / 421 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.5681, allocations: 30.56 kB / 421 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.5681, allocations: 14.81 kB / 421 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.5683, allocations: 174.6 kB / 421.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.5684, allocations: 0 / 421.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.5684, allocations: 11.19 kB / 421.2 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.5687, allocations: 97.23 kB / 421.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.5687, allocations: 0 / 421.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.5687, allocations: 0 / 421.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5687, allocations: 3.953 kB / 421.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.417e-05/0.5688, allocations: 19.05 kB / 421.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.569, allocations: 159.6 kB / 421.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.5691, allocations: 45.88 kB / 421.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.5692, allocations: 16.08 kB / 421.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.5693, allocations: 7.984 kB / 421.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.5693, allocations: 30.56 kB / 421.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.5693, allocations: 0 / 421.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001823/0.5695, allocations: 53.64 kB / 421.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.5696, allocations: 59.34 kB / 421.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.5697, allocations: 112.7 kB / 421.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.5697, allocations: 25.7 kB / 421.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.5698, allocations: 154.2 kB / 421.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.5698, allocations: 0 / 421.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.5698, allocations: 0 / 421.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5699, allocations: 314.7 kB / 422.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.57, allocations: 4 kB / 422.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.57, allocations: 31.42 kB / 422.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.5701, allocations: 7.375 kB / 422.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5701, allocations: 3.938 kB / 422.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001066/0.5702, allocations: 57.59 kB / 422.4 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5702, allocations: 4 kB / 422.4 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5702, allocations: 0 / 422.4 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5703, allocations: 4 kB / 422.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.5703, allocations: 7.938 kB / 422.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.5704, allocations: 4 kB / 422.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.5704, allocations: 7.859 kB / 422.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.5704, allocations: 4 kB / 422.4 MB, free: 13.97 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.715e-05/0.5705, allocations: 104.9 kB / 422.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.5706, allocations: 57.22 kB / 422.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.5707, allocations: 15.95 kB / 422.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5707, allocations: 0 / 422.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5707, allocations: 0 / 422.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.5707, allocations: 0 / 422.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.5709, allocations: 161.4 kB / 422.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5709, allocations: 3.938 kB / 422.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.571, allocations: 15.98 kB / 422.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.571, allocations: 0 / 422.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.571, allocations: 0 / 422.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.571, allocations: 0 / 422.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.571, allocations: 4 kB / 422.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.5712, allocations: 80.98 kB / 422.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.5713, allocations: 85.09 kB / 422.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.5713, allocations: 3.688 kB / 422.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.024e-05/0.5714, allocations: 4 kB / 422.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-06/0.5714, allocations: 3.938 kB / 422.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.5714, allocations: 0 / 422.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.229e-05/0.5715, allocations: 95.02 kB / 423 MB, free: 13.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5715, allocations: 0 / 423 MB, free: 13.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.5718, allocations: 4 kB / 423 MB, free: 13.27 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.0004544/0.5723, allocations: 0.616 MB / 423.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.5724, allocations: 35.86 kB / 423.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5724, allocations: 0 / 423.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.5724, allocations: 0 / 423.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.5726, allocations: 21.94 kB / 423.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.573, allocations: 128 kB / 423.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.5733, allocations: 0.6848 MB / 424.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.5733, allocations: 18.81 kB / 424.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5734, allocations: 0 / 424.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.272/2.845, allocations: 0.8344 MB / 425.4 MB, free: 10.87 MB / 346.7 MB