Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.606e-05, allocations: 3.984 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 50.42 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4442/0.5558, allocations: 77.29 MB / 419.9 MB, free: 496 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.5562, allocations: 78.39 kB / 420 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006247/0.5624, allocations: 1.463 MB / 421.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.148e-06/0.5625, allocations: 4 kB / 421.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.5625, allocations: 7.938 kB / 421.5 MB, free: 15.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004548/0.563, allocations: 356 kB / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.563, allocations: 12.02 kB / 421.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.5631, allocations: 38.08 kB / 421.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.5631, allocations: 7.906 kB / 421.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.5634, allocations: 193.7 kB / 422.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.5634, allocations: 0 / 422.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.5634, allocations: 11.31 kB / 422.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.5638, allocations: 106.3 kB / 422.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5638, allocations: 0 / 422.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5638, allocations: 3.5 kB / 422.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.5638, allocations: 3.953 kB / 422.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.252e-05/0.5639, allocations: 15.17 kB / 422.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.5644, allocations: 267.9 kB / 422.5 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.5646, allocations: 132.6 kB / 422.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.5647, allocations: 30.12 kB / 422.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.5648, allocations: 3.938 kB / 422.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.5648, allocations: 38.45 kB / 422.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.445e-06/0.5648, allocations: 4 kB / 422.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002129/0.565, allocations: 56.38 kB / 422.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.5651, allocations: 81.05 kB / 422.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.5653, allocations: 134.9 kB / 422.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.5653, allocations: 25.7 kB / 423 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.5654, allocations: 158.3 kB / 423.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.5654, allocations: 0 / 423.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.5654, allocations: 0 / 423.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5656, allocations: 310.8 kB / 423.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.5656, allocations: 7.062 kB / 423.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.463e-05/0.5656, allocations: 34.98 kB / 423.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.5657, allocations: 8 kB / 423.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5657, allocations: 0 / 423.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001359/0.5659, allocations: 56.12 kB / 423.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5659, allocations: 4 kB / 423.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5659, allocations: 4 kB / 423.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.566, allocations: 8.078 kB / 423.5 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.5661, allocations: 11.94 kB / 423.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5661, allocations: 0 / 423.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.5662, allocations: 11.92 kB / 423.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5662, allocations: 4 kB / 423.6 MB, free: 12.87 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.583e-05/0.5663, allocations: 104.9 kB / 423.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.5664, allocations: 53.09 kB / 423.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.5665, allocations: 11.47 kB / 423.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5665, allocations: 7.953 kB / 423.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5665, allocations: 0 / 423.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.5665, allocations: 4 kB / 423.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.5668, allocations: 167.3 kB / 423.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5668, allocations: 0 / 423.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.928e-05/0.5669, allocations: 16.11 kB / 423.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5669, allocations: 0 / 423.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.5669, allocations: 4 kB / 423.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5669, allocations: 0 / 423.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.567, allocations: 7.938 kB / 423.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.5671, allocations: 170.7 kB / 424.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/0.5672, allocations: 91.69 kB / 424.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.5673, allocations: 3.984 kB / 424.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.5674, allocations: 10.95 kB / 424.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.5674, allocations: 0 / 424.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.5675, allocations: 8 kB / 424.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.513e-05/0.5676, allocations: 101.5 kB / 424.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5676, allocations: 3.938 kB / 424.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.5679, allocations: 7.188 kB / 424.3 MB, free: 12.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0005829/0.5685, allocations: 0.7774 MB / 425.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.5687, allocations: 19.06 kB / 425.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5687, allocations: 0 / 425.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.5687, allocations: 7.062 kB / 425.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.5691, allocations: 27.03 kB / 425.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.5697, allocations: 157.5 kB / 425.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.57, allocations: 0.7007 MB / 426 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.5701, allocations: 10.81 kB / 426 MB, free: 10.28 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5701, allocations: 0 / 426 MB, free: 10.28 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.562/3.132, allocations: 1.03 MB / 427 MB, free: 9.266 MB / 346.7 MB