Running command: translateModel(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|invMixingUnit.T|invMixingUnit.T_c|mixingUnit.c",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadModel(Modelica_Synchronous): time 2.019/2.019, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.244e-05, allocations: 4 kB / 284.3 MB, free: 8.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08558/0.08563, allocations: 50.36 MB / 334.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.4409, allocations: 79.49 MB / 414.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.4412, allocations: 78.02 kB / 414.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01482/0.456, allocations: 3.462 MB / 417.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.298e-06/0.456, allocations: 0 / 417.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.4561, allocations: 4 kB / 417.7 MB, free: 11.75 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.0007676/0.4569, allocations: 0.4909 MB / 418.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4569, allocations: 12.03 kB / 418.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/0.457, allocations: 31.56 kB / 418.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.4576, allocations: 306.7 kB / 418.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.4576, allocations: 7.75 kB / 418.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.4576, allocations: 19.88 kB / 418.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.4579, allocations: 116.4 kB / 418.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.458, allocations: 0 / 418.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.458, allocations: 3.875 kB / 418.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.684e-06/0.458, allocations: 4 kB / 418.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.4582, allocations: 70.8 kB / 418.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.4593, allocations: 0.519 MB / 419.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/0.4599, allocations: 165.2 kB / 419.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4601, allocations: 62.45 kB / 419.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.4601, allocations: 224 / 419.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.4602, allocations: 38 kB / 419.5 MB, free: 10 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.231e-06/0.4602, allocations: 3.938 kB / 419.5 MB, free: 10 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.00168/0.4619, allocations: 0.6098 MB / 420.2 MB, free: 9.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/0.4619, allocations: 51.41 kB / 420.2 MB, free: 9.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.4624, allocations: 299.9 kB / 420.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.4625, allocations: 29.52 kB / 420.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4626, allocations: 206 kB / 420.7 MB, free: 8.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.4627, allocations: 60.36 kB / 420.8 MB, free: 8.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.4627, allocations: 3.062 kB / 420.8 MB, free: 8.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.4629, allocations: 318.3 kB / 421.1 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.4631, allocations: 57.81 kB / 421.2 MB, free: 8.527 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.4632, allocations: 58.05 kB / 421.2 MB, free: 8.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.4634, allocations: 62.98 kB / 421.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-06/0.4634, allocations: 0 / 421.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004278/0.4639, allocations: 185.3 kB / 421.5 MB, free: 8.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4639, allocations: 7.953 kB / 421.5 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.279e-06/0.4639, allocations: 4 kB / 421.5 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4639, allocations: 0 / 421.5 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.4644, allocations: 63.27 kB / 421.5 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.4644, allocations: 11.98 kB / 421.5 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.4646, allocations: 7.188 kB / 421.5 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.4646, allocations: 4 kB / 421.6 MB, free: 8.23 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.0001092/0.4648, allocations: 116.2 kB / 421.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.4649, allocations: 31.62 kB / 421.7 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.4654, allocations: 215.1 kB / 421.9 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.086e-06/0.4654, allocations: 0 / 421.9 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.58e-06/0.4654, allocations: 7.938 kB / 421.9 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.083e-06/0.4654, allocations: 0 / 421.9 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.4659, allocations: 321.9 kB / 422.2 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-06/0.466, allocations: 0 / 422.2 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.4665, allocations: 67.02 kB / 422.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4665, allocations: 0 / 422.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.4665, allocations: 11.36 kB / 422.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.722e-06/0.4666, allocations: 3.953 kB / 422.3 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.586e-06/0.4666, allocations: 0 / 422.3 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.4673, allocations: 378.6 kB / 422.7 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.4674, allocations: 108.4 kB / 422.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.4675, allocations: 3.562 kB / 422.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.4678, allocations: 14.98 kB / 422.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.4678, allocations: 11.94 kB / 422.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.4679, allocations: 7.375 kB / 422.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003508/0.4682, allocations: 246.7 kB / 423.1 MB, free: 6.887 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.4682, allocations: 4 kB / 423.1 MB, free: 6.883 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004065/0.4687, allocations: 43.88 kB / 423.1 MB, free: 6.844 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.0001724/0.4688, allocations: 114 kB / 423.2 MB, free: 6.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003767/0.4692, allocations: 147.4 kB / 423.4 MB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.952e-06/0.4693, allocations: 0 / 423.4 MB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.4694, allocations: 74.88 kB / 423.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.4698, allocations: 32.83 kB / 423.5 MB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.4714, allocations: 0.6336 MB / 424.1 MB, free: 5.941 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.4719, allocations: 0.7716 MB / 424.9 MB, free: 5.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.472, allocations: 27.42 kB / 424.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of SimCode: time 2.11e-06/0.4721, allocations: 0 / 424.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of Templates: time 0.006494/0.4786, allocations: 2.981 MB / 427.9 MB, free: 2.164 MB / 346.7 MB