Running command: translateModel(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadModel(Modelica_Synchronous): time 1.999/1.999, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.376e-05, allocations: 4 kB / 284.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09045, allocations: 50.36 MB / 334.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/0.4474, allocations: 80.21 MB / 414.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4477, allocations: 69.33 kB / 415 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.4649, allocations: 3.679 MB / 418.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.102e-06/0.4649, allocations: 4 kB / 418.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.4649, allocations: 4 kB / 418.7 MB, free: 10.91 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.0008307/0.4658, allocations: 0.4968 MB / 419.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4658, allocations: 16.03 kB / 419.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.4659, allocations: 31.62 kB / 419.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.4665, allocations: 305.9 kB / 419.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.4665, allocations: 10.41 kB / 419.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.4666, allocations: 22.08 kB / 419.5 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/0.4674, allocations: 356.9 kB / 419.9 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4674, allocations: 0 / 419.9 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.4675, allocations: 7.812 kB / 419.9 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.635e-06/0.4675, allocations: 4 kB / 419.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.4677, allocations: 77.86 kB / 420 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/0.4687, allocations: 0.5265 MB / 420.5 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008586/0.4696, allocations: 305.3 kB / 420.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.4699, allocations: 133.7 kB / 420.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.4699, allocations: 15.91 kB / 420.9 MB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.47, allocations: 46 kB / 421 MB, free: 8.703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.112e-06/0.47, allocations: 0 / 421 MB, free: 8.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002754/0.4728, allocations: 1.134 MB / 422.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.4729, allocations: 143 kB / 422.2 MB, free: 7.512 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.4734, allocations: 297.6 kB / 422.5 MB, free: 7.277 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.4735, allocations: 29.08 kB / 422.6 MB, free: 7.246 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.4736, allocations: 143.8 kB / 422.7 MB, free: 7.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.4737, allocations: 46.97 kB / 422.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/0.4737, allocations: 6.375 kB / 422.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4739, allocations: 351.5 kB / 423.1 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4741, allocations: 62.11 kB / 423.2 MB, free: 6.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.4744, allocations: 272.8 kB / 423.4 MB, free: 6.387 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.4747, allocations: 114.8 kB / 423.5 MB, free: 6.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-06/0.4747, allocations: 4 kB / 423.5 MB, free: 6.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007672/0.4755, allocations: 346 kB / 423.9 MB, free: 6.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4755, allocations: 8 kB / 423.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.4755, allocations: 8 kB / 423.9 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.4756, allocations: 12 kB / 423.9 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.476, allocations: 91.39 kB / 424 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.476, allocations: 15.89 kB / 424 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.4763, allocations: 31.3 kB / 424 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.4764, allocations: 20 kB / 424.1 MB, free: 5.832 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.0001522/0.4765, allocations: 137.8 kB / 424.2 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/0.4772, allocations: 272.1 kB / 424.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008128/0.478, allocations: 345.9 kB / 424.8 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.752e-06/0.478, allocations: 4 kB / 424.8 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.761e-06/0.478, allocations: 4 kB / 424.8 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4781, allocations: 15.97 kB / 424.8 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.4786, allocations: 307.9 kB / 425.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.604e-06/0.4786, allocations: 4.062 kB / 425.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/0.4794, allocations: 119.5 kB / 425.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.241e-06/0.4794, allocations: 4 kB / 425.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.4795, allocations: 10.69 kB / 425.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.817e-06/0.4795, allocations: 3.938 kB / 425.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.482e-06/0.4795, allocations: 4 kB / 425.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.4807, allocations: 0.6844 MB / 426 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.4809, allocations: 120.5 kB / 426.1 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.481, allocations: 14.8 kB / 426.1 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.4813, allocations: 15.64 kB / 426.1 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.4814, allocations: 12.05 kB / 426.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.4814, allocations: 11.94 kB / 426.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003607/0.4818, allocations: 246.6 kB / 426.4 MB, free: 3.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.4818, allocations: 0 / 426.4 MB, free: 3.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006291/0.4824, allocations: 61.75 kB / 426.4 MB, free: 3.82 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.0001685/0.4826, allocations: 110.1 kB / 426.5 MB, free: 3.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005842/0.4832, allocations: 245.9 kB / 426.8 MB, free: 3.527 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4833, allocations: 4 kB / 426.8 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.08e-05/0.4834, allocations: 23.23 kB / 426.8 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.4841, allocations: 187.1 kB / 427 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.4856, allocations: 0.5542 MB / 427.5 MB, free: 2.859 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.4861, allocations: 0.8068 MB / 428.3 MB, free: 2.027 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.4863, allocations: 35.28 kB / 428.4 MB, free: 1.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.4864, allocations: 31.42 kB / 428.4 MB, free: 1.965 MB / 346.7 MB Notification: Performance of SimCode: time 1.697e-06/0.4864, allocations: 0 / 428.4 MB, free: 1.965 MB / 346.7 MB Notification: Performance of Templates: time 0.01026/0.4967, allocations: 3.007 MB / 431.4 MB, free: 14.97 MB / 362.7 MB