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.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.124e-05/4.125e-05, allocations: 0 / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4792, allocations: 48.7 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.09761/0.5768, allocations: 46.01 MB / 370.9 MB, free: 1.266 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.05215/0.629, allocations: 24.44 MB / 395.3 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.631, allocations: 39.69 kB / 395.3 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.6334, allocations: 0.5325 MB / 395.9 MB, free: 8.438 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01737/0.6508, allocations: 4.007 MB / 399.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01133/0.6622, allocations: 2.753 MB / 402.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003837/0.666, allocations: 1.472 MB / 404.1 MB, free: 192 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.6674, allocations: 0.5584 MB / 404.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02416/0.6915, allocations: 9.267 MB / 413.9 MB, free: 6.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02965/0.7212, allocations: 11.74 MB / 425.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02289/0.7442, allocations: 7.492 MB / 433.2 MB, free: 3.109 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003501/0.7478, allocations: 468 kB / 433.6 MB, free: 2.652 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008833/0.7487, allocations: 319 kB / 433.9 MB, free: 2.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006356/0.7494, allocations: 136 kB / 434.1 MB, free: 2.207 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.761, allocations: 4.054 MB / 438.1 MB, free: 14.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.761, allocations: 0 / 438.1 MB, free: 14.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.761, allocations: 0 / 438.1 MB, free: 14.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.657e-05/0.7611, allocations: 4 kB / 438.1 MB, free: 14.14 MB / 378.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.007583/0.7687, allocations: 1.883 MB / 440 MB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.7688, allocations: 12.02 kB / 440 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007258/0.776, allocations: 0.5957 MB / 440.6 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.7785, allocations: 0.7634 MB / 441.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.7789, allocations: 208.8 kB / 441.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/0.7792, allocations: 96 kB / 441.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007118/0.7864, allocations: 1.83 MB / 443.5 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.7865, allocations: 4 kB / 443.5 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.7867, allocations: 51.94 kB / 443.6 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.7868, allocations: 49.94 kB / 443.6 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007546/0.7944, allocations: 1.678 MB / 445.3 MB, free: 6.719 MB / 378.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.01558/0.81, allocations: 8.45 MB / 453.7 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004685/0.8147, allocations: 0.9444 MB / 454.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4679/1.283, allocations: 57.98 MB / 0.5006 GB, free: 113.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/1.283, allocations: 42.81 kB / 0.5007 GB, free: 113.5 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007998/1.284, allocations: 95.64 kB / 0.5008 GB, free: 113.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 4.498e-06/1.284, allocations: 0 / 0.5008 GB, free: 113.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=77): time 0.01526/1.299, allocations: 3.339 MB / 0.504 GB, free: 111.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/1.299, allocations: 110.9 kB / 0.5041 GB, free: 111.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/1.3, allocations: 0.6992 MB / 0.5048 GB, free: 111.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001673/1.3, allocations: 41.2 kB / 0.5049 GB, free: 111.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/1.301, allocations: 0.6303 MB / 0.5055 GB, free: 110.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/1.301, allocations: 272.4 kB / 0.5057 GB, free: 110.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/1.301, allocations: 29.03 kB / 0.5058 GB, free: 110.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/1.301, allocations: 366.6 kB / 0.5061 GB, free: 109.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/1.303, allocations: 421.8 kB / 0.5065 GB, free: 109.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/1.305, allocations: 1.034 MB / 0.5075 GB, free: 108.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/1.307, allocations: 0.5726 MB / 0.5081 GB, free: 108.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.307, allocations: 6.516 kB / 0.5081 GB, free: 108.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005391/1.312, allocations: 1.705 MB / 0.5098 GB, free: 106.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/1.312, allocations: 16 kB / 0.5098 GB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/1.312, allocations: 20 kB / 0.5098 GB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004244/1.316, allocations: 0.6069 MB / 0.5104 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.318, allocations: 259.6 kB / 0.5106 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/1.321, allocations: 1.813 MB / 0.5124 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/1.323, allocations: 111.9 kB / 0.5125 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/1.324, allocations: 90.14 kB / 0.5126 GB, free: 103.6 MB / 410.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.0007688/1.324, allocations: 335.4 kB / 0.5129 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/1.325, allocations: 99.66 kB / 0.513 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007926/1.333, allocations: 4.412 MB / 0.5173 GB, free: 98.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.037e-05/1.333, allocations: 59.89 kB / 0.5174 GB, free: 98.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.333, allocations: 1.25 kB / 0.5174 GB, free: 98.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/1.333, allocations: 3.984 kB / 0.5174 GB, free: 98.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/1.343, allocations: 6.173 MB / 0.5234 GB, free: 92.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.343, allocations: 1.594 kB / 0.5234 GB, free: 92.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.344, allocations: 151.8 kB / 0.5236 GB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002569/1.347, allocations: 0.6404 MB / 0.5242 GB, free: 91.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/1.347, allocations: 23.98 kB / 0.5242 GB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/1.349, allocations: 1.799 MB / 0.526 GB, free: 89.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.349, allocations: 3.688 kB / 0.526 GB, free: 89.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006938/1.356, allocations: 3.877 MB / 0.5298 GB, free: 85.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008546/1.357, allocations: 405.9 kB / 0.5301 GB, free: 85.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/1.357, allocations: 19.98 kB / 0.5302 GB, free: 85.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.359, allocations: 82.14 kB / 0.5302 GB, free: 85.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/1.359, allocations: 68.89 kB / 0.5303 GB, free: 85.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.704e-05/1.359, allocations: 39.97 kB / 0.5303 GB, free: 85.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009838/1.36, allocations: 0.5556 MB / 0.5309 GB, free: 84.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.36, allocations: 0 / 0.5309 GB, free: 84.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004931/1.365, allocations: 1.375 MB / 0.5322 GB, free: 83.33 MB / 410.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.008183/1.373, allocations: 1.591 MB / 0.5338 GB, free: 82.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004297/1.377, allocations: 1.64 MB / 0.5354 GB, free: 80.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.378, allocations: 0 / 0.5354 GB, free: 80.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002492/1.38, allocations: 1.195 MB / 0.5365 GB, free: 79.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/1.384, allocations: 423.1 kB / 0.537 GB, free: 78.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008529/1.392, allocations: 4.568 MB / 0.5414 GB, free: 74.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.394, allocations: 1.422 MB / 0.5428 GB, free: 72.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/1.394, allocations: 107.4 kB / 0.5429 GB, free: 72.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/1.394, allocations: 0 / 0.5429 GB, free: 72.66 MB / 410.7 MB Notification: Performance of Templates: time 0.09218/1.486, allocations: 51.38 MB / 0.5931 GB, free: 21.23 MB / 410.7 MB