Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.298e-05, allocations: 8 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3762, allocations: 48.71 MB / 324.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02686/0.4031, allocations: 14.55 MB / 339.4 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.4183, allocations: 5.762 MB / 345.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.42, allocations: 34.59 kB / 345.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.422, allocations: 306.8 kB / 345.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003337/0.4254, allocations: 497.8 kB / 346 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006132/0.4315, allocations: 0.9914 MB / 347 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003898/0.4354, allocations: 1.195 MB / 348.2 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.437, allocations: 468.6 kB / 348.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.4402, allocations: 0.7057 MB / 349.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.4421, allocations: 462.3 kB / 349.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.4446, allocations: 366.7 kB / 350.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005666/0.4453, allocations: 48.81 kB / 350.2 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007087/0.446, allocations: 293.5 kB / 350.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007087/0.4467, allocations: 104 kB / 350.6 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003579/0.4503, allocations: 1.061 MB / 351.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.4504, allocations: 0 / 351.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.4504, allocations: 3.938 kB / 351.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.775e-05/0.4505, allocations: 0 / 351.6 MB, free: 1.266 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.004514/0.455, allocations: 1.038 MB / 352.7 MB, free: 488 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.4551, allocations: 9.688 kB / 352.7 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.4563, allocations: 123.3 kB / 352.8 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.4587, allocations: 0.5882 MB / 353.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000406/0.4592, allocations: 259.1 kB / 353.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/0.4595, allocations: 75.44 kB / 353.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004749/0.4643, allocations: 1.291 MB / 355 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.886e-05/0.4644, allocations: 6.844 kB / 355 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/0.4647, allocations: 41.44 kB / 355.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.4648, allocations: 34.62 kB / 355.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004177/0.469, allocations: 0.961 MB / 356.1 MB, free: 14.21 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01593/0.485, allocations: 7.05 MB / 363.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.4861, allocations: 288.3 kB / 363.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005228/0.4914, allocations: 2.779 MB / 366.2 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.4915, allocations: 42.23 kB / 366.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 4.368e-06/0.4915, allocations: 0 / 366.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.004102/0.4957, allocations: 1.028 MB / 367.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.4958, allocations: 63.41 kB / 367.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.4973, allocations: 0.6827 MB / 368 MB, free: 3.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.4974, allocations: 33.7 kB / 368 MB, free: 3.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006582/0.4981, allocations: 0.6422 MB / 368.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.4983, allocations: 146.3 kB / 368.8 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.4984, allocations: 24 kB / 368.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.4986, allocations: 358.8 kB / 369.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006914/0.4993, allocations: 238.5 kB / 369.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.5008, allocations: 1.007 MB / 370.4 MB, free: 260 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.502, allocations: 455.7 kB / 370.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/0.5021, allocations: 8 kB / 370.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003264/0.5054, allocations: 1.196 MB / 372.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.5055, allocations: 16 kB / 372.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-05/0.5055, allocations: 31.98 kB / 372.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.356e-05/0.5056, allocations: 40 kB / 372.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.5074, allocations: 296.1 kB / 372.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.127e-05/0.5076, allocations: 55.8 kB / 372.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.509, allocations: 67.89 kB / 372.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.5092, allocations: 76 kB / 372.6 MB, free: 14.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0008154/0.5101, allocations: 344.7 kB / 373 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.5103, allocations: 75.06 kB / 373 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.5117, allocations: 459.2 kB / 373.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.5118, allocations: 7.984 kB / 373.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5118, allocations: 4 kB / 373.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5118, allocations: 0 / 373.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.5148, allocations: 1.242 MB / 374.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.5149, allocations: 0 / 374.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.5155, allocations: 75.84 kB / 374.8 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/0.5155, allocations: 7.984 kB / 374.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.5155, allocations: 12 kB / 374.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.5156, allocations: 7.938 kB / 374.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5156, allocations: 3.953 kB / 374.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5172, allocations: 0.7397 MB / 375.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/0.5177, allocations: 200.1 kB / 375.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.5179, allocations: 8 kB / 375.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/0.5186, allocations: 23.92 kB / 375.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.5187, allocations: 27.97 kB / 375.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/0.5188, allocations: 23.94 kB / 375.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001155/0.52, allocations: 0.4951 MB / 376.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.52, allocations: 0 / 376.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002311/0.5223, allocations: 295.9 kB / 376.7 MB, free: 9.742 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001111/0.5235, allocations: 321.9 kB / 377 MB, free: 9.426 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.5256, allocations: 0.6342 MB / 377.6 MB, free: 8.797 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.5257, allocations: 0 / 377.6 MB, free: 8.797 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.5261, allocations: 143.7 kB / 377.7 MB, free: 8.656 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.529, allocations: 283.3 kB / 378 MB, free: 8.387 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.5349, allocations: 1.839 MB / 379.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.536, allocations: 1.009 MB / 380.9 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.5364, allocations: 83.42 kB / 380.9 MB, free: 5.363 MB / 314.7 MB Notification: Performance of SimCode: time 1.824e-06/0.5365, allocations: 0 / 380.9 MB, free: 5.363 MB / 314.7 MB Notification: Performance of Templates: time 0.03353/0.57, allocations: 12.94 MB / 393.9 MB, free: 8.441 MB / 330.7 MB