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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 270.1 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.752e-05/3.768e-05, allocations: 7.234 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 61.88 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.043/7.162, allocations: 2.792 GB / 3.193 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/7.162, allocations: 83.2 kB / 3.193 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.003/10.16, allocations: 0.6614 GB / 3.854 GB, free: 51.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.349e-06/10.16, allocations: 1.594 kB / 3.854 GB, free: 51.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001041/10.17, allocations: 30.7 kB / 3.854 GB, free: 51.3 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.008627/10.17, allocations: 2.388 MB / 3.857 GB, free: 50.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/10.17, allocations: 8.625 kB / 3.857 GB, free: 50.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006826/10.18, allocations: 0.5791 MB / 3.857 GB, free: 50.04 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/10.18, allocations: 0.8357 MB / 3.858 GB, free: 49.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/10.18, allocations: 213.4 kB / 3.858 GB, free: 49.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/10.18, allocations: 101.4 kB / 3.858 GB, free: 49.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005767/10.19, allocations: 1.839 MB / 3.86 GB, free: 49.21 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-05/10.19, allocations: 7 kB / 3.86 GB, free: 49.21 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/10.19, allocations: 49.22 kB / 3.86 GB, free: 49.21 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/10.19, allocations: 43.5 kB / 3.86 GB, free: 49.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00527/10.2, allocations: 1.582 MB / 3.862 GB, free: 49.19 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.01217/10.21, allocations: 8.596 MB / 3.87 GB, free: 42.55 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003461/10.21, allocations: 0.969 MB / 3.871 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007769/10.21, allocations: 373.5 kB / 3.872 GB, free: 42.08 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04621/10.26, allocations: 25.09 MB / 3.896 GB, free: 22.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/10.26, allocations: 38.66 kB / 3.896 GB, free: 22.67 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009515/10.26, allocations: 134.8 kB / 3.896 GB, free: 22.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 4.594e-06/10.26, allocations: 0 / 3.896 GB, free: 22.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=78): time 0.01155/10.27, allocations: 3.023 MB / 3.899 GB, free: 21.39 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/10.27, allocations: 115.1 kB / 3.899 GB, free: 21.26 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/10.27, allocations: 0.7368 MB / 3.9 GB, free: 20.94 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/10.27, allocations: 41.3 kB / 3.9 GB, free: 20.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/10.27, allocations: 0.563 MB / 3.901 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/10.27, allocations: 282.4 kB / 3.901 GB, free: 20.24 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/10.27, allocations: 30.56 kB / 3.901 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001561/10.27, allocations: 407.6 kB / 3.901 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008061/10.27, allocations: 371.1 kB / 3.902 GB, free: 19.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/10.28, allocations: 0.931 MB / 3.903 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/10.28, allocations: 0.5207 MB / 3.903 GB, free: 18.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/10.28, allocations: 3.656 kB / 3.903 GB, free: 18.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003561/10.28, allocations: 1.55 MB / 3.905 GB, free: 18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/10.28, allocations: 12.69 kB / 3.905 GB, free: 18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/10.28, allocations: 20.16 kB / 3.905 GB, free: 18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002902/10.28, allocations: 0.5442 MB / 3.905 GB, free: 17.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/10.28, allocations: 256.8 kB / 3.905 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/10.29, allocations: 1.742 MB / 3.907 GB, free: 16.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/10.29, allocations: 132.7 kB / 3.907 GB, free: 16.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/10.29, allocations: 84.5 kB / 3.907 GB, free: 16.45 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.0003241/10.29, allocations: 198.7 kB / 3.907 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/10.29, allocations: 103.8 kB / 3.908 GB, free: 16.22 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006405/10.3, allocations: 4.557 MB / 3.912 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.879e-05/10.3, allocations: 61.09 kB / 3.912 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.978e-06/10.3, allocations: 0 / 3.912 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/10.3, allocations: 7.703 kB / 3.912 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00876/10.3, allocations: 6.26 MB / 3.918 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/10.3, allocations: 7.344 kB / 3.918 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008424/10.3, allocations: 165.4 kB / 3.918 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002186/10.31, allocations: 0.7887 MB / 3.919 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/10.31, allocations: 26.06 kB / 3.919 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/10.31, allocations: 1.788 MB / 3.921 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/10.31, allocations: 7.562 kB / 3.921 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/10.31, allocations: 3.801 MB / 3.925 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000908/10.32, allocations: 424.5 kB / 3.925 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/10.32, allocations: 20 kB / 3.925 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/10.32, allocations: 92.34 kB / 3.925 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/10.32, allocations: 74.72 kB / 3.925 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/10.32, allocations: 45.84 kB / 3.925 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001146/10.32, allocations: 0.6372 MB / 3.926 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.15e-06/10.32, allocations: 0 / 3.926 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006156/10.32, allocations: 1.538 MB / 3.927 GB, free: 4.121 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.009703/10.33, allocations: 2.166 MB / 3.929 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003081/10.34, allocations: 1.522 MB / 3.931 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.287e-06/10.34, allocations: 0 / 3.931 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/10.34, allocations: 1.16 MB / 3.932 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/10.34, allocations: 0.5024 MB / 3.933 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006279/10.35, allocations: 2.863 MB / 3.935 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/10.35, allocations: 1.419 MB / 3.937 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001925/10.35, allocations: 0.5806 MB / 3.937 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/10.35, allocations: 95.38 kB / 3.937 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of SimCode: time 1.871e-06/10.35, allocations: 4 kB / 3.937 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of Templates: time 0.5231/10.88, allocations: 58.37 MB / 3.994 GB, free: 64.39 MB / 0.5573 GB