Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.916e-05, allocations: 0 / 292.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 50.41 MB / 342.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.5735, allocations: 79.22 MB / 421.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.5739, allocations: 76.48 kB / 421.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01772/0.5916, allocations: 3.676 MB / 425.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5917, allocations: 0 / 425.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.695e-05/0.5917, allocations: 8 kB / 425.6 MB, free: 11.42 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001402/0.5931, allocations: 0.5098 MB / 426.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.873e-05/0.5933, allocations: 12.03 kB / 426.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.5934, allocations: 56 kB / 426.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.5936, allocations: 31.62 kB / 426.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.5947, allocations: 304.1 kB / 426.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.5947, allocations: 15.72 kB / 426.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/0.5948, allocations: 15.36 kB / 426.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5962, allocations: 351.3 kB / 426.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.5962, allocations: 0 / 426.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.5963, allocations: 10.7 kB / 426.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.5963, allocations: 11.92 kB / 426.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.5968, allocations: 76.17 kB / 427 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.5985, allocations: 0.5233 MB / 427.5 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.5999, allocations: 306.3 kB / 427.8 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005738/0.6005, allocations: 131.6 kB / 427.9 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.009e-05/0.6006, allocations: 11.92 kB / 427.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.6007, allocations: 38.09 kB / 428 MB, free: 9.176 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 6.142e-06/0.6007, allocations: 0 / 428 MB, free: 9.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.004501/0.6052, allocations: 1.147 MB / 429.1 MB, free: 8.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/0.6055, allocations: 129.9 kB / 429.2 MB, free: 7.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/0.6062, allocations: 292.5 kB / 429.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.6063, allocations: 33.02 kB / 429.6 MB, free: 7.719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.6064, allocations: 201.9 kB / 429.8 MB, free: 7.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.6066, allocations: 45.53 kB / 429.8 MB, free: 7.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.6066, allocations: 3.5 kB / 429.8 MB, free: 7.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.6068, allocations: 334.5 kB / 430.1 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.6071, allocations: 65.44 kB / 430.2 MB, free: 7.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.6076, allocations: 269.3 kB / 430.5 MB, free: 6.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.608, allocations: 111.1 kB / 430.6 MB, free: 6.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.6081, allocations: 4 kB / 430.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001245/0.6093, allocations: 329 kB / 430.9 MB, free: 6.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.6094, allocations: 11.98 kB / 430.9 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.6094, allocations: 8 kB / 430.9 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-05/0.6095, allocations: 12 kB / 430.9 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007395/0.6103, allocations: 83.84 kB / 431 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.843e-05/0.6103, allocations: 19.92 kB / 431 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.6109, allocations: 22.19 kB / 431.1 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.611, allocations: 19.5 kB / 431.1 MB, free: 6.281 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 0.0002279/0.6113, allocations: 142.8 kB / 431.2 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/0.6124, allocations: 273.3 kB / 431.5 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.6139, allocations: 339.6 kB / 431.8 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.614, allocations: 7.938 kB / 431.8 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.614, allocations: 4 kB / 431.8 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.614, allocations: 3.984 kB / 431.8 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008458/0.6149, allocations: 312.6 kB / 432.1 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6149, allocations: 0 / 432.1 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/0.6167, allocations: 123.4 kB / 432.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.118e-05/0.6167, allocations: 4 kB / 432.3 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.6168, allocations: 7.5 kB / 432.3 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.6168, allocations: 7.922 kB / 432.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/0.6168, allocations: 4.062 kB / 432.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.619, allocations: 0.6909 MB / 433 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.6192, allocations: 119.7 kB / 433.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.6194, allocations: 11.38 kB / 433.1 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/0.62, allocations: 7.188 kB / 433.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.6201, allocations: 11.92 kB / 433.1 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/0.6202, allocations: 11.75 kB / 433.1 MB, free: 4.516 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006135/0.6208, allocations: 242 kB / 433.4 MB, free: 4.328 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.6209, allocations: 4.062 kB / 433.4 MB, free: 4.324 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001046/0.6219, allocations: 58.25 kB / 433.4 MB, free: 4.277 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0026/0.6245, allocations: 1.378 MB / 434.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.6257, allocations: 246.1 kB / 435 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.6257, allocations: 0 / 435 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.6258, allocations: 23.38 kB / 435.1 MB, free: 2.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.6271, allocations: 181.5 kB / 435.2 MB, free: 2.699 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.6303, allocations: 0.6834 MB / 435.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/0.6309, allocations: 0.8068 MB / 436.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.6313, allocations: 110.1 kB / 436.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6313, allocations: 0 / 436.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.562/3.194, allocations: 4.958 MB / 441.8 MB, free: 12.27 MB / 362.7 MB