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.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 234.9 MB / 250.1 MB, free: 9.926 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.437e-05/4.435e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3833, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02655/0.41, allocations: 14.57 MB / 377.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.4227, allocations: 5.765 MB / 383.2 MB, free: 9.465 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.4239, allocations: 31.75 kB / 383.2 MB, free: 9.434 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.4252, allocations: 306.4 kB / 383.5 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.4283, allocations: 494.8 kB / 384 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006695/0.435, allocations: 0.9819 MB / 385 MB, free: 7.668 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004008/0.439, allocations: 1.194 MB / 386.2 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.4404, allocations: 479.1 kB / 386.6 MB, free: 6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.4426, allocations: 0.7092 MB / 387.4 MB, free: 5.289 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.4438, allocations: 454.7 kB / 387.8 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.4455, allocations: 359.7 kB / 388.2 MB, free: 4.488 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003414/0.4459, allocations: 48 kB / 388.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005083/0.4464, allocations: 303.2 kB / 388.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004409/0.4469, allocations: 104 kB / 388.6 MB, free: 4.043 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.4493, allocations: 1.054 MB / 389.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4493, allocations: 7.938 kB / 389.7 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4493, allocations: 0 / 389.7 MB, free: 2.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.811e-05/0.4494, allocations: 0 / 389.7 MB, free: 2.98 MB / 314.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.003305/0.4527, allocations: 1.047 MB / 390.7 MB, free: 1.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.4528, allocations: 12.03 kB / 390.7 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007758/0.4536, allocations: 130.8 kB / 390.8 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.4552, allocations: 0.5823 MB / 391.4 MB, free: 1.117 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.4555, allocations: 244.2 kB / 391.7 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.4558, allocations: 91.88 kB / 391.8 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/0.4591, allocations: 1.278 MB / 393 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.4592, allocations: 7.938 kB / 393 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.4594, allocations: 39.98 kB / 393.1 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.266e-05/0.4595, allocations: 53.25 kB / 393.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002797/0.4623, allocations: 0.9571 MB / 394.1 MB, free: 14.29 MB / 330.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.01099/0.4733, allocations: 7.043 MB / 401.1 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007908/0.4742, allocations: 280.5 kB / 401.4 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003767/0.4779, allocations: 2.783 MB / 404.2 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.478, allocations: 42.73 kB / 404.2 MB, free: 3.148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 3.066e-06/0.478, allocations: 0 / 404.2 MB, free: 3.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.003256/0.4813, allocations: 1.034 MB / 405.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4814, allocations: 59.41 kB / 405.3 MB, free: 1.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.4827, allocations: 0.6752 MB / 406 MB, free: 1.312 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/0.4828, allocations: 37.7 kB / 406 MB, free: 1.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.4834, allocations: 0.6345 MB / 406.7 MB, free: 0.625 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.4836, allocations: 146.1 kB / 406.8 MB, free: 492 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.4836, allocations: 24 kB / 406.8 MB, free: 468 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.4839, allocations: 362.8 kB / 407.2 MB, free: 96 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006508/0.4845, allocations: 234.5 kB / 407.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.4859, allocations: 1.019 MB / 408.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.487, allocations: 439.7 kB / 408.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/0.487, allocations: 16 kB / 408.9 MB, free: 14.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003013/0.4901, allocations: 1.201 MB / 410.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.4901, allocations: 16 kB / 410.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.044e-05/0.4902, allocations: 28 kB / 410.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.731e-05/0.4903, allocations: 40 kB / 410.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.4918, allocations: 291.4 kB / 410.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.058e-05/0.4919, allocations: 63.73 kB / 410.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.4931, allocations: 67.92 kB / 410.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.4933, allocations: 80 kB / 410.7 MB, free: 12.23 MB / 346.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.0006614/0.4939, allocations: 329 kB / 411 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.4941, allocations: 79.06 kB / 411.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.4955, allocations: 468.6 kB / 411.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.4955, allocations: 4 kB / 411.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4955, allocations: 0 / 411.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4955, allocations: 7.938 kB / 411.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.4981, allocations: 1.234 MB / 412.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.4982, allocations: 4 kB / 412.8 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.4987, allocations: 67.91 kB / 412.8 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.4988, allocations: 8.281 kB / 412.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.4988, allocations: 15.98 kB / 412.9 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.808e-05/0.4989, allocations: 7.938 kB / 412.9 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.4989, allocations: 7.938 kB / 412.9 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.5003, allocations: 0.7322 MB / 413.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/0.5008, allocations: 200.1 kB / 413.8 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.501, allocations: 11.98 kB / 413.8 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/0.5017, allocations: 24 kB / 413.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.5018, allocations: 31.91 kB / 413.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.5019, allocations: 23.98 kB / 413.9 MB, free: 8.738 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009794/0.5029, allocations: 495 kB / 414.4 MB, free: 8.258 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5029, allocations: 0 / 414.4 MB, free: 8.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001648/0.5045, allocations: 291.9 kB / 414.7 MB, free: 7.973 MB / 346.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.0009237/0.5055, allocations: 320.3 kB / 415 MB, free: 7.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.5073, allocations: 0.6377 MB / 415.6 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/0.5073, allocations: 8.875 kB / 415.6 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.5077, allocations: 146.5 kB / 415.8 MB, free: 6.879 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.5101, allocations: 272.6 kB / 416 MB, free: 6.617 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.5141, allocations: 1.831 MB / 417.9 MB, free: 4.719 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009176/0.515, allocations: 1.008 MB / 418.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.5154, allocations: 87.36 kB / 418.9 MB, free: 3.598 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5154, allocations: 0 / 418.9 MB, free: 3.598 MB / 346.7 MB Notification: Performance of Templates: time 0.03269/0.5481, allocations: 12.98 MB / 431.9 MB, free: 6.656 MB / 362.7 MB