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_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadModel(ModelicaTest): time 2.236/2.236, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.705e-05/4.782e-05, allocations: 4 kB / 304.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3593, allocations: 54.84 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.062/7.421, allocations: 2.617 GB / 2.969 GB, free: 108.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/7.422, allocations: 78.27 kB / 2.969 GB, free: 108.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.794/10.22, allocations: 0.6521 GB / 3.621 GB, free: 34.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.621e-06/10.22, allocations: 0 / 3.621 GB, free: 34.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001049/10.22, allocations: 26.7 kB / 3.621 GB, free: 34.41 MB / 490.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.008991/10.22, allocations: 2.383 MB / 3.623 GB, free: 33.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/10.22, allocations: 8.75 kB / 3.623 GB, free: 33.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007046/10.23, allocations: 0.583 MB / 3.624 GB, free: 32.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/10.23, allocations: 0.8443 MB / 3.625 GB, free: 32.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/10.23, allocations: 212.4 kB / 3.625 GB, free: 32.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000394/10.23, allocations: 97.8 kB / 3.625 GB, free: 32.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005754/10.24, allocations: 1.834 MB / 3.627 GB, free: 31.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/10.24, allocations: 11.53 kB / 3.627 GB, free: 31.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/10.24, allocations: 49.23 kB / 3.627 GB, free: 31.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.146e-05/10.24, allocations: 38.53 kB / 3.627 GB, free: 31.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005329/10.25, allocations: 1.572 MB / 3.628 GB, free: 30.87 MB / 490.7 MB 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.01206/10.26, allocations: 8.449 MB / 3.637 GB, free: 24.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/10.26, allocations: 0.9172 MB / 3.637 GB, free: 23.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007239/10.26, allocations: 348.5 kB / 3.638 GB, free: 23.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1346/10.4, allocations: 57.53 MB / 3.694 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/10.4, allocations: 43.12 kB / 3.694 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009539/10.4, allocations: 111 kB / 3.694 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=69): time 4.531e-06/10.4, allocations: 0 / 3.694 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of matching and sorting (n=77): time 0.01214/10.41, allocations: 2.911 MB / 3.697 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/10.41, allocations: 111.6 kB / 3.697 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/10.41, allocations: 0.6914 MB / 3.698 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002099/10.41, allocations: 37.7 kB / 3.698 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006155/10.41, allocations: 0.5961 MB / 3.698 GB, free: 2.406 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/10.41, allocations: 280.2 kB / 3.699 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/10.41, allocations: 32 kB / 3.699 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003018/10.41, allocations: 398.7 kB / 3.699 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009364/10.41, allocations: 367.9 kB / 3.699 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/10.42, allocations: 0.9885 MB / 3.7 GB, free: 72 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.33/10.75, allocations: 0.5271 MB / 3.701 GB, free: 67.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/10.75, allocations: 7.156 kB / 3.701 GB, free: 67.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004269/10.75, allocations: 1.557 MB / 3.702 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/10.75, allocations: 17.09 kB / 3.702 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.473e-05/10.75, allocations: 21.16 kB / 3.702 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003339/10.75, allocations: 0.5395 MB / 3.703 GB, free: 67.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/10.76, allocations: 254.6 kB / 3.703 GB, free: 67.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/10.76, allocations: 1.719 MB / 3.705 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/10.76, allocations: 120.3 kB / 3.705 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/10.76, allocations: 84.88 kB / 3.705 GB, free: 66.72 MB / 0.5105 GB 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.0004/10.76, allocations: 214.4 kB / 3.705 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/10.76, allocations: 95.81 kB / 3.705 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007519/10.77, allocations: 4.506 MB / 3.71 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.923e-05/10.77, allocations: 59.39 kB / 3.71 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.642e-06/10.77, allocations: 5.141 kB / 3.71 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/10.77, allocations: 6.047 kB / 3.71 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/10.78, allocations: 6.173 MB / 3.716 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/10.78, allocations: 0 / 3.716 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008693/10.78, allocations: 149.9 kB / 3.716 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/10.78, allocations: 0.7755 MB / 3.717 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/10.78, allocations: 28.75 kB / 3.717 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/10.79, allocations: 1.786 MB / 3.719 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/10.79, allocations: 1.156 kB / 3.719 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006546/10.79, allocations: 3.749 MB / 3.722 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/10.79, allocations: 401.8 kB / 3.723 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/10.79, allocations: 19.19 kB / 3.723 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/10.79, allocations: 78.05 kB / 3.723 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/10.79, allocations: 71.08 kB / 3.723 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/10.8, allocations: 40.02 kB / 3.723 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001183/10.8, allocations: 0.5512 MB / 3.723 GB, free: 63.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.99e-07/10.8, allocations: 0 / 3.723 GB, free: 63.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00676/10.8, allocations: 1.526 MB / 3.725 GB, free: 63.92 MB / 0.5105 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,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.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.0107/10.81, allocations: 2.178 MB / 3.727 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003363/10.82, allocations: 1.511 MB / 3.728 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/10.82, allocations: 0 / 3.728 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/10.82, allocations: 1.148 MB / 3.73 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/10.82, allocations: 429.3 kB / 3.73 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3336/11.16, allocations: 142 MB / 3.869 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009851/11.16, allocations: 1.42 MB / 3.87 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001785/11.16, allocations: 0.543 MB / 3.871 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/11.16, allocations: 94.91 kB / 3.871 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.849e-06/11.16, allocations: 0 / 3.871 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.443/11.6, allocations: 56.38 MB / 3.926 GB, free: 64.57 MB / 0.5105 GB