Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadModel(Modelica): time 2.206/2.206, allocations: 225.8 MB / 239.4 MB, free: 1.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.048e-05, allocations: 4 kB / 292.7 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08736, allocations: 50.4 MB / 343.1 MB, free: 9.066 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/0.4716, allocations: 78.9 MB / 422 MB, free: 8.289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.472, allocations: 69.52 kB / 422 MB, free: 8.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02207/0.4941, allocations: 3.683 MB / 425.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.797e-06/0.4941, allocations: 0 / 425.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.807e-05/0.4942, allocations: 3.812 kB / 425.7 MB, free: 7.707 MB / 330.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.0009359/0.4951, allocations: 0.5002 MB / 426.2 MB, free: 7.285 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4952, allocations: 7.531 kB / 426.2 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.4954, allocations: 35.02 kB / 426.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.496, allocations: 310 kB / 426.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.4961, allocations: 7.812 kB / 426.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.4962, allocations: 15.28 kB / 426.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.4973, allocations: 369.8 kB / 427 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.4973, allocations: 0 / 427 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.4974, allocations: 11.06 kB / 427 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4974, allocations: 3.969 kB / 427 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.4978, allocations: 72.67 kB / 427 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.499, allocations: 0.526 MB / 427.6 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.5002, allocations: 299.7 kB / 427.9 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/0.5007, allocations: 133.1 kB / 428 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/0.5008, allocations: 7.844 kB / 428 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.5008, allocations: 48.33 kB / 428 MB, free: 6.371 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 4.923e-06/0.5008, allocations: 0 / 428 MB, free: 6.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.003525/0.5044, allocations: 1.147 MB / 429.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.5045, allocations: 134.2 kB / 429.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.5051, allocations: 291.8 kB / 429.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.5052, allocations: 36.17 kB / 429.6 MB, free: 5.535 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.5054, allocations: 140.8 kB / 429.8 MB, free: 5.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/0.5055, allocations: 50.14 kB / 429.8 MB, free: 5.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.5055, allocations: 9.906 kB / 429.8 MB, free: 5.426 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5056, allocations: 349.3 kB / 430.2 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.5059, allocations: 58.81 kB / 430.2 MB, free: 5.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.5062, allocations: 277.8 kB / 430.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.5065, allocations: 113.4 kB / 430.6 MB, free: 4.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.909e-06/0.5066, allocations: 3.844 kB / 430.6 MB, free: 4.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001064/0.5077, allocations: 344.4 kB / 431 MB, free: 4.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.5077, allocations: 7.844 kB / 431 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.5077, allocations: 8.656 kB / 431 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/0.5078, allocations: 11.69 kB / 431 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.5084, allocations: 95.36 kB / 431.1 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.127e-05/0.5085, allocations: 11.66 kB / 431.1 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.5091, allocations: 22.81 kB / 431.1 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/0.5092, allocations: 27.11 kB / 431.1 MB, free: 4.66 MB / 330.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.0001819/0.5094, allocations: 135.5 kB / 431.3 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/0.5104, allocations: 269.9 kB / 431.5 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.5117, allocations: 353.1 kB / 431.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.5117, allocations: 3.719 kB / 431.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.979e-06/0.5118, allocations: 0 / 431.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.5118, allocations: 3.984 kB / 431.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.5126, allocations: 313.1 kB / 432.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.671e-06/0.5126, allocations: 0 / 432.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.5138, allocations: 124.1 kB / 432.3 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.5138, allocations: 3.906 kB / 432.3 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.5139, allocations: 11.56 kB / 432.3 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.628e-06/0.5139, allocations: 4 kB / 432.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.638e-06/0.5139, allocations: 3.938 kB / 432.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.5157, allocations: 0.6818 MB / 433 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.516, allocations: 111.5 kB / 433.1 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.5161, allocations: 18.16 kB / 433.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.5167, allocations: 11.14 kB / 433.2 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.5168, allocations: 7.406 kB / 433.2 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.5169, allocations: 11.67 kB / 433.2 MB, free: 3.617 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004841/0.5174, allocations: 237.1 kB / 433.4 MB, free: 3.523 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.093e-06/0.5174, allocations: 3.938 kB / 433.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001174/0.5186, allocations: 64.12 kB / 433.5 MB, free: 3.52 MB / 330.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.0003566/0.519, allocations: 125.2 kB / 433.6 MB, free: 19.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000935/0.5199, allocations: 239.4 kB / 433.8 MB, free: 19.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.399e-06/0.52, allocations: 2.125 kB / 433.8 MB, free: 19.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.5201, allocations: 24.78 kB / 433.9 MB, free: 19.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.5214, allocations: 184.5 kB / 434 MB, free: 19.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.5235, allocations: 0.5529 MB / 434.6 MB, free: 19.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/0.5242, allocations: 0.8065 MB / 435.4 MB, free: 18.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000249/0.5245, allocations: 37.83 kB / 435.4 MB, free: 18.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.5247, allocations: 26.53 kB / 435.5 MB, free: 18.26 MB / 346.7 MB Notification: Performance of SimCode: time 2.113e-06/0.5247, allocations: 0 / 435.5 MB, free: 18.26 MB / 346.7 MB Notification: Performance of Templates: time 0.0141/0.5388, allocations: 3.001 MB / 438.5 MB, free: 16.82 MB / 346.7 MB