Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadModel(Modelica): time 1.922/1.922, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.16e-05/6.157e-05, allocations: 4 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09085, allocations: 50.42 MB / 342.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4492, allocations: 79.2 MB / 421.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.4495, allocations: 75.17 kB / 421.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.4657, allocations: 3.676 MB / 425.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4657, allocations: 0 / 425.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.4658, allocations: 8 kB / 425.5 MB, free: 11.77 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.0008168/0.4666, allocations: 0.501 MB / 426 MB, free: 11.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4667, allocations: 8.031 kB / 426 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.789e-05/0.4668, allocations: 35.58 kB / 426 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.4673, allocations: 303.7 kB / 426.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.4674, allocations: 11.34 kB / 426.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.4674, allocations: 26.39 kB / 426.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007755/0.4682, allocations: 346 kB / 426.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4682, allocations: 0 / 426.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.4683, allocations: 14.69 kB / 426.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.733e-06/0.4683, allocations: 4 kB / 426.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.4685, allocations: 75.42 kB / 426.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009548/0.4695, allocations: 0.5297 MB / 427.3 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008729/0.4704, allocations: 302.1 kB / 427.6 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.4707, allocations: 134.6 kB / 427.8 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.4707, allocations: 7.984 kB / 427.8 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.4708, allocations: 41.41 kB / 427.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.473e-06/0.4708, allocations: 0 / 427.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002717/0.4735, allocations: 1.149 MB / 429 MB, free: 8.539 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.4737, allocations: 127 kB / 429.1 MB, free: 8.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.4742, allocations: 298.9 kB / 429.4 MB, free: 8.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.4743, allocations: 33.2 kB / 429.4 MB, free: 8.125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.4744, allocations: 194.7 kB / 429.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.4745, allocations: 48.72 kB / 429.6 MB, free: 7.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.4745, allocations: 7.625 kB / 429.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4747, allocations: 333.8 kB / 430 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.4748, allocations: 57.56 kB / 430 MB, free: 7.562 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.4752, allocations: 279.1 kB / 430.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.4754, allocations: 108.6 kB / 430.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.586e-06/0.4754, allocations: 4 kB / 430.4 MB, free: 7.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007158/0.4762, allocations: 328.5 kB / 430.7 MB, free: 6.852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.4762, allocations: 8 kB / 430.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.4762, allocations: 8 kB / 430.8 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/0.4763, allocations: 12 kB / 430.8 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.4767, allocations: 87.28 kB / 430.9 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.512e-05/0.4767, allocations: 15.92 kB / 430.9 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.477, allocations: 19.44 kB / 430.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.4771, allocations: 23.5 kB / 430.9 MB, free: 6.691 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.0001615/0.4773, allocations: 143.1 kB / 431 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006448/0.4779, allocations: 270 kB / 431.3 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008339/0.4788, allocations: 342.3 kB / 431.6 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4788, allocations: 4 kB / 431.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.889e-06/0.4788, allocations: 0 / 431.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.433e-06/0.4788, allocations: 7.984 kB / 431.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.4794, allocations: 311.7 kB / 432 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.004e-06/0.4794, allocations: 3.938 kB / 432 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007691/0.4802, allocations: 123.7 kB / 432.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.4802, allocations: 4 kB / 432.1 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.4803, allocations: 3.812 kB / 432.1 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/0.4803, allocations: 7.984 kB / 432.1 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.4803, allocations: 3.938 kB / 432.1 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.4815, allocations: 0.686 MB / 432.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.4817, allocations: 115.7 kB / 432.9 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.116e-05/0.4818, allocations: 10.44 kB / 432.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.4821, allocations: 18.5 kB / 432.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.4822, allocations: 7.984 kB / 432.9 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.4823, allocations: 15.06 kB / 433 MB, free: 4.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000355/0.4826, allocations: 243.2 kB / 433.2 MB, free: 4.742 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.4826, allocations: 0 / 433.2 MB, free: 4.742 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006386/0.4833, allocations: 62.5 kB / 433.3 MB, free: 4.691 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.0001826/0.4835, allocations: 111.9 kB / 433.4 MB, free: 4.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005963/0.4841, allocations: 243.6 kB / 433.6 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.335e-06/0.4841, allocations: 8 kB / 433.6 MB, free: 4.391 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.879e-05/0.4842, allocations: 26.62 kB / 433.6 MB, free: 4.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007411/0.485, allocations: 180.5 kB / 433.8 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.4865, allocations: 0.5817 MB / 434.4 MB, free: 3.703 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.487, allocations: 0.8069 MB / 435.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.4872, allocations: 34.69 kB / 435.2 MB, free: 2.844 MB / 346.7 MB Notification: Performance of SimCode: time 2.175e-06/0.4872, allocations: 0 / 435.2 MB, free: 2.844 MB / 346.7 MB Notification: Performance of Templates: time 0.008004/0.4952, allocations: 3.652 MB / 438.9 MB, free: 15.22 MB / 362.7 MB