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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadModel(ModelicaTest): time 2.472/2.472, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.974e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.3545/0.4895, allocations: 14.69 MB / 425.6 MB, free: 3.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.5016, allocations: 5.783 MB / 431.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.503, allocations: 26.06 kB / 431.4 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.5044, allocations: 306.1 kB / 431.7 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.5069, allocations: 498 kB / 432.2 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004942/0.5119, allocations: 0.9893 MB / 433.2 MB, free: 3.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003341/0.5153, allocations: 1.2 MB / 434.4 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.5168, allocations: 470.8 kB / 434.9 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.5195, allocations: 0.7171 MB / 435.6 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.5214, allocations: 463.1 kB / 436 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.5241, allocations: 363 kB / 436.4 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00064/0.5248, allocations: 47.94 kB / 436.4 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006739/0.5255, allocations: 303.9 kB / 436.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007432/0.5262, allocations: 104.9 kB / 436.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.5296, allocations: 1.063 MB / 437.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.5296, allocations: 0 / 437.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.469e-06/0.5296, allocations: 0.9062 kB / 437.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.37e-05/0.5297, allocations: 0 / 437.9 MB, free: 2.109 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003895/0.5336, allocations: 1.043 MB / 438.9 MB, free: 1.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.5337, allocations: 9.375 kB / 438.9 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009981/0.5347, allocations: 124.9 kB / 439.1 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.5365, allocations: 0.5719 MB / 439.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.5367, allocations: 252.2 kB / 439.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.537, allocations: 83.22 kB / 440 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/0.5406, allocations: 1.291 MB / 441.3 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.444e-05/0.5407, allocations: 7.625 kB / 441.3 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.5409, allocations: 39.67 kB / 441.3 MB, free: 0 / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.951e-05/0.541, allocations: 38.81 kB / 441.3 MB, free: 0 / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.5441, allocations: 0.9628 MB / 442.3 MB, free: 15.67 MB / 362.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.01168/0.5558, allocations: 7.103 MB / 449.4 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.5569, allocations: 307.6 kB / 449.7 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004319/0.5612, allocations: 2.811 MB / 452.5 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.5613, allocations: 50.69 kB / 452.6 MB, free: 6.582 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 4.759e-06/0.5613, allocations: 3.938 kB / 452.6 MB, free: 6.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003923/0.5653, allocations: 1.104 MB / 453.7 MB, free: 5.859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.5654, allocations: 54.75 kB / 453.7 MB, free: 5.797 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.567, allocations: 0.7691 MB / 454.5 MB, free: 5.355 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.033e-05/0.5671, allocations: 32.39 kB / 454.5 MB, free: 5.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005916/0.5677, allocations: 0.6004 MB / 455.1 MB, free: 4.773 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.5679, allocations: 143.8 kB / 455.3 MB, free: 4.652 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/0.568, allocations: 20.59 kB / 455.3 MB, free: 4.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.5682, allocations: 360.6 kB / 455.6 MB, free: 4.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.569, allocations: 241.8 kB / 455.9 MB, free: 4.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.5703, allocations: 0.9527 MB / 456.8 MB, free: 3.047 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.5715, allocations: 446 kB / 457.3 MB, free: 2.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/0.5715, allocations: 7.781 kB / 457.3 MB, free: 2.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003051/0.5746, allocations: 1.163 MB / 458.4 MB, free: 2.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.5746, allocations: 23.98 kB / 458.5 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.886e-05/0.5747, allocations: 25.81 kB / 458.5 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.278e-05/0.5748, allocations: 37.28 kB / 458.5 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.5763, allocations: 275.3 kB / 458.8 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.383e-05/0.5764, allocations: 49.84 kB / 458.8 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.5777, allocations: 69.77 kB / 458.9 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.5779, allocations: 70.19 kB / 459 MB, free: 2.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (154): * Single equations (assignments): 154 * 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.0006968/0.5786, allocations: 327.9 kB / 459.3 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.5788, allocations: 91.11 kB / 459.4 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.5803, allocations: 486.8 kB / 459.9 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5803, allocations: 3.719 kB / 459.9 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5803, allocations: 0 / 459.9 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.5803, allocations: 1.125 kB / 459.9 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.5832, allocations: 1.244 MB / 461.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.5833, allocations: 2.5 kB / 461.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/0.5838, allocations: 67.95 kB / 461.2 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.5839, allocations: 4 kB / 461.2 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.5839, allocations: 12.12 kB / 461.2 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-05/0.5839, allocations: 2.969 kB / 461.2 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.584, allocations: 2 kB / 461.2 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.5857, allocations: 0.7303 MB / 461.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.5863, allocations: 212.2 kB / 462.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.5865, allocations: 15.56 kB / 462.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/0.5874, allocations: 23.64 kB / 462.2 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.5874, allocations: 27.08 kB / 462.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/0.5875, allocations: 27.8 kB / 462.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001289/0.5888, allocations: 0.5799 MB / 462.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5889, allocations: 4 kB / 462.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001818/0.5907, allocations: 297.9 kB / 463.1 MB, free: 15.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (34): * Single equations (assignments): 32 * 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.0009249/0.5916, allocations: 311.9 kB / 463.4 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.5935, allocations: 0.6341 MB / 464 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.5935, allocations: 6.406 kB / 464.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.594, allocations: 147.3 kB / 464.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/0.5973, allocations: 372.3 kB / 464.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.6011, allocations: 1.785 MB / 466.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/0.602, allocations: 1.01 MB / 467.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/0.6024, allocations: 93.8 kB / 467.4 MB, free: 12.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6024, allocations: 0 / 467.4 MB, free: 12.45 MB / 378.7 MB Notification: Performance of Templates: time 0.03617/0.6386, allocations: 14.44 MB / 481.9 MB, free: 15.34 MB / 394.7 MB