Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.016/2.016, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.4e-05, allocations: 0 / 292.2 MB, free: 8.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 50.43 MB / 342.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5376/0.6562, allocations: 78.27 MB / 420.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004814/0.6567, allocations: 81.12 kB / 421 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02807/0.6848, allocations: 3.468 MB / 424.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.6849, allocations: 3.938 kB / 424.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.516e-05/0.685, allocations: 12 kB / 424.5 MB, free: 12.48 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001558/0.6866, allocations: 498.2 kB / 425 MB, free: 11.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.338e-05/0.6867, allocations: 12.03 kB / 425 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.6868, allocations: 53.17 kB / 425 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.687, allocations: 27.62 kB / 425.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/0.688, allocations: 303 kB / 425.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.6881, allocations: 11.31 kB / 425.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.6882, allocations: 10.88 kB / 425.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.6887, allocations: 115.6 kB / 425.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.6888, allocations: 0 / 425.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.6888, allocations: 7.438 kB / 425.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.6889, allocations: 3.953 kB / 425.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.6892, allocations: 62.31 kB / 425.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.6911, allocations: 0.5272 MB / 426.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/0.6919, allocations: 173.8 kB / 426.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.6922, allocations: 54.98 kB / 426.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.6922, allocations: 4.219 kB / 426.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.6923, allocations: 30.56 kB / 426.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.156e-06/0.6923, allocations: 3.938 kB / 426.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.002183/0.6945, allocations: 0.5916 MB / 426.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.6946, allocations: 56.33 kB / 427 MB, free: 10.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005514/0.6952, allocations: 295.2 kB / 427.3 MB, free: 9.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.6952, allocations: 32.83 kB / 427.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.6954, allocations: 197 kB / 427.5 MB, free: 9.648 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.6955, allocations: 64.03 kB / 427.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.6955, allocations: 7.375 kB / 427.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6956, allocations: 326 kB / 427.9 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.6958, allocations: 54.19 kB / 428 MB, free: 9.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.696, allocations: 57.94 kB / 428 MB, free: 9.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.6962, allocations: 67.22 kB / 428.1 MB, free: 9.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6963, allocations: 0 / 428.1 MB, free: 9.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005029/0.6968, allocations: 186.1 kB / 428.3 MB, free: 9.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.6968, allocations: 4 kB / 428.3 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6968, allocations: 0 / 428.3 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.6969, allocations: 0 / 428.3 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.6975, allocations: 67.28 kB / 428.3 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.6975, allocations: 0 / 428.3 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.6979, allocations: 11.94 kB / 428.3 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.6979, allocations: 7.25 kB / 428.3 MB, free: 8.941 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (21): * Single equations (assignments): 21 * 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.0001169/0.698, allocations: 108.4 kB / 428.5 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/0.6981, allocations: 27.62 kB / 428.5 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006436/0.6988, allocations: 217.6 kB / 428.7 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6988, allocations: 4 kB / 428.7 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6988, allocations: 4 kB / 428.7 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6988, allocations: 0 / 428.7 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.6994, allocations: 330.3 kB / 429 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.6995, allocations: 3.984 kB / 429 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007521/0.7002, allocations: 55.95 kB / 429.1 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.609e-06/0.7003, allocations: 4 kB / 429.1 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.7003, allocations: 3.188 kB / 429.1 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.7003, allocations: 8 kB / 429.1 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7003, allocations: 0 / 429.1 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008351/0.7012, allocations: 374.7 kB / 429.5 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.7014, allocations: 104.7 kB / 429.6 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.7015, allocations: 11.86 kB / 429.6 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.7018, allocations: 7.312 kB / 429.6 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.7019, allocations: 7.984 kB / 429.6 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.702, allocations: 15.8 kB / 429.6 MB, free: 7.793 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004232/0.7024, allocations: 239.6 kB / 429.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.7024, allocations: 0 / 429.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004639/0.7029, allocations: 47.94 kB / 429.9 MB, free: 7.566 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001198/0.7041, allocations: 0.9142 MB / 430.8 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004578/0.7046, allocations: 148.7 kB / 430.9 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7047, allocations: 0 / 430.9 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.7049, allocations: 82.42 kB / 431 MB, free: 6.551 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.7054, allocations: 28.66 kB / 431.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.7078, allocations: 0.6922 MB / 431.7 MB, free: 5.848 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.7082, allocations: 0.7755 MB / 432.5 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.7086, allocations: 90.66 kB / 432.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of SimCode: time 1.914e-06/0.7086, allocations: 0 / 432.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.812/3.521, allocations: 4.068 MB / 436.7 MB, free: 0.9922 MB / 346.7 MB