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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadModel(ModelicaTest): time 2.224/2.224, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.032e-05, allocations: 11.88 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1485, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.43/7.578, allocations: 2.792 GB / 3.193 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/7.579, allocations: 83.58 kB / 3.193 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.953/10.53, allocations: 0.6614 GB / 3.854 GB, free: 51.04 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.801e-06/10.53, allocations: 0 / 3.854 GB, free: 51.04 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.844e-05/10.53, allocations: 27.66 kB / 3.854 GB, free: 51.03 MB / 0.5417 GB 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.008377/10.54, allocations: 2.387 MB / 3.857 GB, free: 49.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/10.54, allocations: 9.5 kB / 3.857 GB, free: 49.84 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006507/10.55, allocations: 0.5744 MB / 3.857 GB, free: 49.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/10.55, allocations: 0.8337 MB / 3.858 GB, free: 49.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/10.55, allocations: 213 kB / 3.858 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/10.55, allocations: 100.8 kB / 3.858 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00559/10.56, allocations: 1.842 MB / 3.86 GB, free: 48.96 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/10.56, allocations: 7.906 kB / 3.86 GB, free: 48.95 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002109/10.56, allocations: 46.03 kB / 3.86 GB, free: 48.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.299e-05/10.56, allocations: 49.38 kB / 3.86 GB, free: 48.95 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00546/10.56, allocations: 1.581 MB / 3.862 GB, free: 48.91 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.01207/10.57, allocations: 8.594 MB / 3.87 GB, free: 42.32 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003713/10.58, allocations: 0.9809 MB / 3.871 GB, free: 42 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/10.58, allocations: 366.9 kB / 3.872 GB, free: 41.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0501/10.63, allocations: 25.09 MB / 3.896 GB, free: 22.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.137e-05/10.63, allocations: 45.19 kB / 3.896 GB, free: 22.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001851/10.63, allocations: 122 kB / 3.896 GB, free: 22.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 9.493e-06/10.63, allocations: 3.625 kB / 3.896 GB, free: 22.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=78): time 0.03574/10.67, allocations: 3.023 MB / 3.899 GB, free: 21.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/10.67, allocations: 110.8 kB / 3.899 GB, free: 21.06 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/10.67, allocations: 0.7417 MB / 3.9 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.008503/10.68, allocations: 41.33 kB / 3.9 GB, free: 20.69 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008479/10.68, allocations: 0.566 MB / 3.901 GB, free: 20.24 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006107/10.68, allocations: 278.9 kB / 3.901 GB, free: 20.03 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/10.68, allocations: 27.25 kB / 3.901 GB, free: 20.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000322/10.68, allocations: 405.9 kB / 3.901 GB, free: 19.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/10.68, allocations: 370.7 kB / 3.902 GB, free: 19.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002367/10.68, allocations: 0.9299 MB / 3.903 GB, free: 18.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/10.69, allocations: 0.5275 MB / 3.903 GB, free: 18.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-05/10.69, allocations: 6.656 kB / 3.903 GB, free: 18.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.0201/10.71, allocations: 1.536 MB / 3.905 GB, free: 17.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/10.71, allocations: 21.38 kB / 3.905 GB, free: 17.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.137e-05/10.71, allocations: 18 kB / 3.905 GB, free: 17.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006399/10.71, allocations: 0.5446 MB / 3.905 GB, free: 17.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/10.72, allocations: 255.8 kB / 3.905 GB, free: 17.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/10.72, allocations: 1.742 MB / 3.907 GB, free: 16.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/10.72, allocations: 132.6 kB / 3.907 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/10.72, allocations: 82.59 kB / 3.907 GB, free: 16.25 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (131): * Single equations (assignments): 129 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003289/10.72, allocations: 202.1 kB / 3.907 GB, free: 16.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/10.72, allocations: 108.5 kB / 3.908 GB, free: 16.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006389/10.73, allocations: 4.56 MB / 3.912 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-05/10.73, allocations: 58.75 kB / 3.912 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.321e-06/10.73, allocations: 0 / 3.912 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/10.73, allocations: 7.891 kB / 3.912 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008908/10.74, allocations: 6.261 MB / 3.918 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/10.74, allocations: 0 / 3.918 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/10.74, allocations: 165.9 kB / 3.918 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/10.74, allocations: 0.7923 MB / 3.919 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/10.74, allocations: 24.58 kB / 3.919 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/10.74, allocations: 1.786 MB / 3.921 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.476e-06/10.74, allocations: 3.953 kB / 3.921 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005659/10.75, allocations: 3.798 MB / 3.925 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000898/10.75, allocations: 425.4 kB / 3.925 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/10.75, allocations: 16 kB / 3.925 GB, free: 6.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009853/10.75, allocations: 97.75 kB / 3.925 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/10.75, allocations: 72.27 kB / 3.925 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/10.75, allocations: 39.56 kB / 3.925 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001129/10.75, allocations: 0.6411 MB / 3.926 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.61e-07/10.75, allocations: 0 / 3.926 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006038/10.76, allocations: 1.539 MB / 3.927 GB, free: 4.398 MB / 0.5417 GB 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,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.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 (81): * Single equations (assignments): 63 * 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.01008/10.77, allocations: 2.187 MB / 3.929 GB, free: 2.715 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003217/10.77, allocations: 1.525 MB / 3.931 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.467e-06/10.77, allocations: 0 / 3.931 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/10.77, allocations: 1.147 MB / 3.932 GB, free: 216 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/10.78, allocations: 0.5367 MB / 3.933 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/10.79, allocations: 2.866 MB / 3.935 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/10.79, allocations: 1.42 MB / 3.937 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001943/10.79, allocations: 0.5956 MB / 3.937 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/10.79, allocations: 99.19 kB / 3.937 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of SimCode: time 1.841e-06/10.79, allocations: 0 / 3.937 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of Templates: time 0.5181/11.31, allocations: 58.35 MB / 3.994 GB, free: 64.04 MB / 0.5573 GB