Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 234.9 MB / 250.1 MB, free: 9.949 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.087e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.411, allocations: 54.85 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.07502/0.4861, allocations: 46.36 MB / 409.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04815/0.5343, allocations: 24.67 MB / 433.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.5362, allocations: 47.62 kB / 433.9 MB, free: 6.617 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.5388, allocations: 0.5208 MB / 434.5 MB, free: 6.094 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0181/0.5569, allocations: 4.066 MB / 438.5 MB, free: 2.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01153/0.5685, allocations: 2.796 MB / 441.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004065/0.5726, allocations: 1.503 MB / 442.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.574, allocations: 0.5546 MB / 443.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02529/0.5993, allocations: 9.396 MB / 452.8 MB, free: 3.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02983/0.6292, allocations: 11.88 MB / 464.7 MB, free: 7.859 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02407/0.6533, allocations: 7.629 MB / 472.3 MB, free: 228 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003607/0.657, allocations: 480 kB / 472.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008329/0.6579, allocations: 323 kB / 473.1 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000588/0.6585, allocations: 140 kB / 473.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.6709, allocations: 4.104 MB / 477.3 MB, free: 11.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6709, allocations: 0 / 477.3 MB, free: 11.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.671, allocations: 4 kB / 477.3 MB, free: 11.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.743e-05/0.671, allocations: 0 / 477.3 MB, free: 11.18 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.0075/0.6785, allocations: 1.907 MB / 479.2 MB, free: 9.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.6786, allocations: 12.02 kB / 479.2 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007622/0.6862, allocations: 0.6425 MB / 479.9 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.6886, allocations: 0.7596 MB / 480.6 MB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.6889, allocations: 212.8 kB / 480.8 MB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/0.6892, allocations: 100 kB / 480.9 MB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006569/0.6958, allocations: 1.822 MB / 482.8 MB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.6959, allocations: 11.94 kB / 482.8 MB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.6961, allocations: 44 kB / 482.8 MB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.162e-05/0.6962, allocations: 53.86 kB / 482.9 MB, free: 5.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006965/0.7032, allocations: 1.682 MB / 484.5 MB, free: 3.691 MB / 410.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.01534/0.7186, allocations: 8.45 MB / 493 MB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004615/0.7232, allocations: 0.9376 MB / 493.9 MB, free: 9.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5223/1.246, allocations: 58.07 MB / 0.5391 GB, free: 80.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/1.246, allocations: 39.12 kB / 0.5391 GB, free: 80.84 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008739/1.247, allocations: 93.77 kB / 0.5392 GB, free: 80.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 3.827e-06/1.247, allocations: 0 / 0.5392 GB, free: 80.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=77): time 0.0157/1.262, allocations: 3.354 MB / 0.5425 GB, free: 77.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/1.262, allocations: 111.5 kB / 0.5426 GB, free: 77.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.264, allocations: 0.695 MB / 0.5433 GB, free: 76.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/1.264, allocations: 41.7 kB / 0.5433 GB, free: 76.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/1.264, allocations: 0.6208 MB / 0.5439 GB, free: 75.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/1.265, allocations: 277.5 kB / 0.5442 GB, free: 75.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/1.265, allocations: 32 kB / 0.5442 GB, free: 75.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/1.265, allocations: 370.4 kB / 0.5445 GB, free: 75.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/1.267, allocations: 415.7 kB / 0.5449 GB, free: 74.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/1.268, allocations: 1.044 MB / 0.546 GB, free: 73.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/1.27, allocations: 0.5769 MB / 0.5465 GB, free: 72.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/1.27, allocations: 4 kB / 0.5465 GB, free: 72.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005553/1.276, allocations: 1.698 MB / 0.5482 GB, free: 71.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/1.276, allocations: 16 kB / 0.5482 GB, free: 71.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/1.276, allocations: 20 kB / 0.5482 GB, free: 71.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004275/1.28, allocations: 0.5997 MB / 0.5488 GB, free: 70.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/1.282, allocations: 263.5 kB / 0.5491 GB, free: 70.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/1.285, allocations: 1.812 MB / 0.5508 GB, free: 68.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/1.287, allocations: 115.8 kB / 0.5509 GB, free: 68.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/1.288, allocations: 79.98 kB / 0.551 GB, free: 68.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007447/1.288, allocations: 351.3 kB / 0.5514 GB, free: 67.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/1.289, allocations: 98.78 kB / 0.5514 GB, free: 67.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007927/1.297, allocations: 4.411 MB / 0.5558 GB, free: 63.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-05/1.297, allocations: 62.58 kB / 0.5558 GB, free: 63.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.297, allocations: 0 / 0.5558 GB, free: 63.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/1.297, allocations: 3.984 kB / 0.5558 GB, free: 63.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/1.308, allocations: 6.163 MB / 0.5618 GB, free: 57.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.308, allocations: 0 / 0.5618 GB, free: 57.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.309, allocations: 147.8 kB / 0.562 GB, free: 56.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002603/1.311, allocations: 0.6465 MB / 0.5626 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/1.312, allocations: 27.98 kB / 0.5626 GB, free: 56.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/1.314, allocations: 1.796 MB / 0.5644 GB, free: 54.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.314, allocations: 0 / 0.5644 GB, free: 54.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007131/1.321, allocations: 3.886 MB / 0.5682 GB, free: 50.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000888/1.322, allocations: 410 kB / 0.5686 GB, free: 50.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/1.322, allocations: 16 kB / 0.5686 GB, free: 50.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.323, allocations: 83.8 kB / 0.5687 GB, free: 49.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/1.324, allocations: 68.88 kB / 0.5687 GB, free: 49.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.913e-05/1.324, allocations: 35.98 kB / 0.5688 GB, free: 49.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001015/1.325, allocations: 0.5596 MB / 0.5693 GB, free: 49.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.5e-07/1.325, allocations: 0 / 0.5693 GB, free: 49.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005201/1.33, allocations: 1.381 MB / 0.5707 GB, free: 48.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008693/1.339, allocations: 1.593 MB / 0.5722 GB, free: 46.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004519/1.343, allocations: 1.643 MB / 0.5738 GB, free: 45.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.343, allocations: 0 / 0.5738 GB, free: 45.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002546/1.346, allocations: 1.189 MB / 0.575 GB, free: 43.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003816/1.35, allocations: 422.9 kB / 0.5754 GB, free: 43.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00799/1.358, allocations: 4.582 MB / 0.5799 GB, free: 38.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009576/1.359, allocations: 1.41 MB / 0.5812 GB, free: 37.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/1.359, allocations: 99.42 kB / 0.5813 GB, free: 37.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/1.359, allocations: 4 kB / 0.5813 GB, free: 37.37 MB / 426.7 MB Notification: Performance of Templates: time 0.09998/1.459, allocations: 51.59 MB / 0.6317 GB, free: 1.723 MB / 442.7 MB