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.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadModel(ModelicaTest): time 2.268/2.268, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.662e-05, allocations: 4 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.35, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.483/6.833, allocations: 2.787 GB / 3.16 GB, free: 39.46 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/6.834, allocations: 79.95 kB / 3.16 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.131/9.964, allocations: 0.6558 GB / 3.816 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.117e-06/9.964, allocations: 0 / 3.816 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001225/9.965, allocations: 28.61 kB / 3.816 GB, free: 50.75 MB / 0.5261 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.009078/9.974, allocations: 2.386 MB / 3.819 GB, free: 49.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/9.974, allocations: 10.69 kB / 3.819 GB, free: 49.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006429/9.98, allocations: 0.5764 MB / 3.819 GB, free: 49.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/9.983, allocations: 0.8314 MB / 3.82 GB, free: 49.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/9.983, allocations: 211.4 kB / 3.82 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/9.983, allocations: 100.5 kB / 3.82 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005529/9.989, allocations: 1.847 MB / 3.822 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/9.989, allocations: 9.453 kB / 3.822 GB, free: 49.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/9.989, allocations: 49.12 kB / 3.822 GB, free: 49.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.527e-05/9.989, allocations: 49.56 kB / 3.822 GB, free: 49.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005135/9.994, allocations: 1.57 MB / 3.824 GB, free: 49.09 MB / 0.5261 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.01152/10.01, allocations: 8.591 MB / 3.832 GB, free: 43.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/10.01, allocations: 0.9888 MB / 3.833 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/10.01, allocations: 372.9 kB / 3.833 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04769/10.06, allocations: 25.1 MB / 3.858 GB, free: 24.58 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/10.06, allocations: 39.81 kB / 3.858 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009815/10.06, allocations: 123.8 kB / 3.858 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 5.37e-06/10.06, allocations: 3.719 kB / 3.858 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.01109/10.07, allocations: 3.014 MB / 3.861 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/10.07, allocations: 116.5 kB / 3.861 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/10.07, allocations: 0.7352 MB / 3.862 GB, free: 23.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/10.07, allocations: 44.28 kB / 3.862 GB, free: 23.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/10.07, allocations: 0.5587 MB / 3.862 GB, free: 23.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/10.07, allocations: 277.2 kB / 3.863 GB, free: 23.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/10.07, allocations: 27.38 kB / 3.863 GB, free: 23.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001537/10.07, allocations: 410.8 kB / 3.863 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/10.07, allocations: 372.7 kB / 3.864 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/10.07, allocations: 0.9287 MB / 3.864 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/10.08, allocations: 0.5246 MB / 3.865 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/10.08, allocations: 7.031 kB / 3.865 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003452/10.08, allocations: 1.545 MB / 3.866 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/10.08, allocations: 14 kB / 3.866 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/10.08, allocations: 19.12 kB / 3.866 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/10.08, allocations: 0.5489 MB / 3.867 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/10.08, allocations: 249.5 kB / 3.867 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/10.09, allocations: 1.745 MB / 3.869 GB, free: 21.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/10.09, allocations: 126.6 kB / 3.869 GB, free: 21.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/10.09, allocations: 76.27 kB / 3.869 GB, free: 21.01 MB / 0.5261 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.000325/10.09, allocations: 207.4 kB / 3.869 GB, free: 20.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/10.09, allocations: 113.5 kB / 3.869 GB, free: 20.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006199/10.09, allocations: 4.556 MB / 3.874 GB, free: 20.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.638e-05/10.09, allocations: 60.09 kB / 3.874 GB, free: 20.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.009e-06/10.09, allocations: 0 / 3.874 GB, free: 20.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/10.09, allocations: 12.41 kB / 3.874 GB, free: 20.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008599/10.1, allocations: 6.255 MB / 3.88 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/10.1, allocations: 0 / 3.88 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008918/10.1, allocations: 170 kB / 3.88 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002395/10.11, allocations: 0.7745 MB / 3.881 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/10.11, allocations: 31.22 kB / 3.881 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/10.11, allocations: 1.796 MB / 3.883 GB, free: 18.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/10.11, allocations: 0 / 3.883 GB, free: 18.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006033/10.11, allocations: 3.793 MB / 3.886 GB, free: 18.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/10.12, allocations: 424.7 kB / 3.887 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004993/10.12, allocations: 24.58 kB / 3.887 GB, free: 18.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/10.12, allocations: 88.53 kB / 3.887 GB, free: 18.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/10.12, allocations: 74.3 kB / 3.887 GB, free: 18.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/10.12, allocations: 40.88 kB / 3.887 GB, free: 18.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002409/10.12, allocations: 0.6367 MB / 3.888 GB, free: 17.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.541e-06/10.12, allocations: 0 / 3.888 GB, free: 17.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01227/10.13, allocations: 1.537 MB / 3.889 GB, free: 17.66 MB / 0.5261 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.01891/10.15, allocations: 2.176 MB / 3.891 GB, free: 17.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00634/10.16, allocations: 1.522 MB / 3.893 GB, free: 17.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/10.16, allocations: 3.969 kB / 3.893 GB, free: 17.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003841/10.16, allocations: 1.153 MB / 3.894 GB, free: 17.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006751/10.17, allocations: 0.4952 MB / 3.894 GB, free: 17.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/10.18, allocations: 2.861 MB / 3.897 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003145/10.18, allocations: 1.423 MB / 3.899 GB, free: 31.9 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.003847/10.19, allocations: 0.5883 MB / 3.899 GB, free: 31.89 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006178/10.19, allocations: 100.4 kB / 3.899 GB, free: 31.88 MB / 0.5418 GB Notification: Performance of SimCode: time 2.79e-06/10.19, allocations: 0 / 3.899 GB, free: 31.88 MB / 0.5418 GB Notification: Performance of Templates: time 0.1117/10.3, allocations: 58.42 MB / 3.956 GB, free: 28.67 MB / 0.5418 GB