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_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.724e-05, allocations: 0 / 292.1 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.0921, allocations: 50.42 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.4658, allocations: 79.15 MB / 421.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.4661, allocations: 73.27 kB / 421.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.4826, allocations: 3.679 MB / 425.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.33e-06/0.4827, allocations: 0 / 425.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.49e-05/0.4827, allocations: 8 kB / 425.5 MB, free: 11.83 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.0008261/0.4836, allocations: 0.4933 MB / 426 MB, free: 11.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4836, allocations: 8.031 kB / 426 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.446e-05/0.4837, allocations: 35.58 kB / 426 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.4843, allocations: 306.6 kB / 426.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4843, allocations: 15.41 kB / 426.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.4844, allocations: 15.22 kB / 426.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007954/0.4852, allocations: 357.7 kB / 426.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4852, allocations: 0 / 426.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.4853, allocations: 14.33 kB / 426.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.4853, allocations: 4 kB / 426.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.4857, allocations: 77.3 kB / 426.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.4868, allocations: 0.5194 MB / 427.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.4878, allocations: 302 kB / 427.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.4881, allocations: 138.1 kB / 427.7 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.4881, allocations: 3.984 kB / 427.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.4882, allocations: 49.73 kB / 427.8 MB, free: 9.645 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 4.006e-06/0.4882, allocations: 0 / 427.8 MB, free: 9.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002937/0.4912, allocations: 1.148 MB / 428.9 MB, free: 8.598 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.4913, allocations: 131.9 kB / 429 MB, free: 8.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.4918, allocations: 290.3 kB / 429.3 MB, free: 8.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.4919, allocations: 29.45 kB / 429.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.492, allocations: 157.8 kB / 429.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.727e-05/0.4921, allocations: 45.16 kB / 429.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.4922, allocations: 10.62 kB / 429.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4924, allocations: 348.8 kB / 429.9 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.4925, allocations: 57.31 kB / 430 MB, free: 7.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.4929, allocations: 276.1 kB / 430.2 MB, free: 7.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.4932, allocations: 113 kB / 430.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.233e-06/0.4932, allocations: 4 kB / 430.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008702/0.4941, allocations: 342.2 kB / 430.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4941, allocations: 8 kB / 430.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.4941, allocations: 12.09 kB / 430.7 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.4942, allocations: 12 kB / 430.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.4946, allocations: 87.28 kB / 430.8 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.4946, allocations: 15.92 kB / 430.8 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.4949, allocations: 30.53 kB / 430.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.495, allocations: 23.56 kB / 430.9 MB, free: 6.77 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.0001644/0.4952, allocations: 138.8 kB / 431 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006382/0.4958, allocations: 264.2 kB / 431.3 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008287/0.4967, allocations: 354.1 kB / 431.6 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.562e-06/0.4967, allocations: 4 kB / 431.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.386e-06/0.4967, allocations: 4 kB / 431.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-06/0.4967, allocations: 0 / 431.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.4973, allocations: 316.7 kB / 431.9 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.4973, allocations: 0 / 431.9 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/0.4981, allocations: 119.6 kB / 432 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.4981, allocations: 8 kB / 432 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.4981, allocations: 11.61 kB / 432.1 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.4982, allocations: 0 / 432.1 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4982, allocations: 3.938 kB / 432.1 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.4994, allocations: 0.692 MB / 432.8 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.4996, allocations: 116.1 kB / 432.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/0.4996, allocations: 10.44 kB / 432.9 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.5, allocations: 11.48 kB / 432.9 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.5, allocations: 8.031 kB / 432.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.5001, allocations: 11.44 kB / 432.9 MB, free: 5.012 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003561/0.5005, allocations: 248.5 kB / 433.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.03e-07/0.5005, allocations: 0 / 433.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006345/0.5011, allocations: 58.25 kB / 433.2 MB, free: 4.773 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.0001786/0.5013, allocations: 118.1 kB / 433.3 MB, free: 4.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000619/0.502, allocations: 241.5 kB / 433.6 MB, free: 4.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.383e-06/0.502, allocations: 0 / 433.6 MB, free: 4.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.5021, allocations: 26.88 kB / 433.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007343/0.5028, allocations: 188 kB / 433.8 MB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.5043, allocations: 0.5463 MB / 434.3 MB, free: 3.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.5048, allocations: 0.8096 MB / 435.1 MB, free: 2.988 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.505, allocations: 35.27 kB / 435.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.5051, allocations: 27.44 kB / 435.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of SimCode: time 1.761e-06/0.5051, allocations: 4 kB / 435.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of Templates: time 0.01013/0.5153, allocations: 2.979 MB / 438.2 MB, free: 15.95 MB / 362.7 MB