Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadModel(ModelicaTest): time 1.865/1.865, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.88e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08747/0.08752, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.209, allocations: 395.3 MB / 0.7002 GB, free: 145.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/1.209, allocations: 84.28 kB / 0.7003 GB, free: 145.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8429/2.052, allocations: 190.8 MB / 0.8867 GB, free: 77.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.837e-06/2.052, allocations: 2.969 kB / 0.8867 GB, free: 77.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001041/2.052, allocations: 32.05 kB / 0.8867 GB, free: 77.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004191/2.056, allocations: 1.335 MB / 0.888 GB, free: 77.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/2.057, allocations: 11.12 kB / 0.888 GB, free: 77.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008341/2.057, allocations: 116.1 kB / 0.8882 GB, free: 77.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/2.06, allocations: 0.7984 MB / 0.8889 GB, free: 76.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/2.06, allocations: 119.5 kB / 0.8891 GB, free: 76.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/2.06, allocations: 64.19 kB / 0.8891 GB, free: 76.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/2.063, allocations: 1.184 MB / 0.8903 GB, free: 76.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/2.063, allocations: 2.062 kB / 0.8903 GB, free: 76.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/2.063, allocations: 31.39 kB / 0.8903 GB, free: 76.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/2.063, allocations: 70.11 kB / 0.8904 GB, free: 76.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/2.065, allocations: 1.154 MB / 0.8915 GB, free: 76.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/2.077, allocations: 4.777 MB / 0.8962 GB, free: 74.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/2.078, allocations: 0.636 MB / 0.8968 GB, free: 74.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007449/2.079, allocations: 408.5 kB / 0.8972 GB, free: 74.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004069/2.083, allocations: 2.512 MB / 0.8996 GB, free: 73.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/2.083, allocations: 38.75 kB / 0.8997 GB, free: 73.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 4.317e-06/2.083, allocations: 2.875 kB / 0.8997 GB, free: 73.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=56): time 0.006163/2.09, allocations: 2.268 MB / 0.9019 GB, free: 72.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/2.09, allocations: 168.2 kB / 0.902 GB, free: 72.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/2.091, allocations: 0.7672 MB / 0.9028 GB, free: 72.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001704/2.091, allocations: 36.05 kB / 0.9028 GB, free: 72.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/2.091, allocations: 0.4915 MB / 0.9033 GB, free: 72.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/2.092, allocations: 196.4 kB / 0.9035 GB, free: 72.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-05/2.092, allocations: 19.19 kB / 0.9035 GB, free: 72.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/2.092, allocations: 347.1 kB / 0.9038 GB, free: 71.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/2.093, allocations: 421.4 kB / 0.9042 GB, free: 71.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009905/2.094, allocations: 0.7117 MB / 0.9049 GB, free: 71.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/2.095, allocations: 0.4999 MB / 0.9054 GB, free: 71.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.906e-06/2.095, allocations: 3.875 kB / 0.9054 GB, free: 71.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003025/2.098, allocations: 1.423 MB / 0.9068 GB, free: 71.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007051/2.099, allocations: 3.572 MB / 0.9103 GB, free: 67.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/2.099, allocations: 11.19 kB / 0.9103 GB, free: 67.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/2.101, allocations: 0.4934 MB / 0.9108 GB, free: 67.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/2.102, allocations: 194.8 kB / 0.911 GB, free: 67.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/2.105, allocations: 2.914 MB / 0.9138 GB, free: 65.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/2.106, allocations: 48.78 kB / 0.9139 GB, free: 65.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/2.106, allocations: 57.39 kB / 0.9139 GB, free: 65.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/2.107, allocations: 4.438 kB / 0.9139 GB, free: 65.2 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003029/2.11, allocations: 1.258 MB / 0.9152 GB, free: 65.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/2.11, allocations: 10.75 kB / 0.9152 GB, free: 65.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/2.111, allocations: 306.3 kB / 0.9155 GB, free: 65.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/2.112, allocations: 196.3 kB / 0.9157 GB, free: 65.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/2.114, allocations: 2.687 MB / 0.9183 GB, free: 62.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/2.115, allocations: 61.83 kB / 0.9183 GB, free: 62.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/2.115, allocations: 44.7 kB / 0.9184 GB, free: 62.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003556/2.115, allocations: 158.8 kB / 0.9185 GB, free: 62.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/2.116, allocations: 96.83 kB / 0.9186 GB, free: 62.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/2.119, allocations: 1.337 MB / 0.9199 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/2.119, allocations: 7.375 kB / 0.9199 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.399e-06/2.119, allocations: 7.312 kB / 0.9199 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/2.119, allocations: 3.703 kB / 0.9199 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004586/2.123, allocations: 2.281 MB / 0.9222 GB, free: 60.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/2.123, allocations: 2.656 kB / 0.9222 GB, free: 60.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/2.124, allocations: 92.58 kB / 0.9223 GB, free: 60.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/2.126, allocations: 0.4969 MB / 0.9227 GB, free: 60.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/2.126, allocations: 15.94 kB / 0.9228 GB, free: 60.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/2.129, allocations: 2.905 MB / 0.9256 GB, free: 58.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.615e-06/2.129, allocations: 3.469 kB / 0.9256 GB, free: 58.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/2.132, allocations: 1.742 MB / 0.9273 GB, free: 57.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007384/2.133, allocations: 295.2 kB / 0.9276 GB, free: 57.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/2.133, allocations: 11.59 kB / 0.9276 GB, free: 57.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008446/2.134, allocations: 43.39 kB / 0.9276 GB, free: 57.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/2.134, allocations: 62.64 kB / 0.9277 GB, free: 57.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/2.134, allocations: 23.39 kB / 0.9277 GB, free: 57.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009787/2.135, allocations: 0.5833 MB / 0.9283 GB, free: 56.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.958e-06/2.135, allocations: 0 / 0.9283 GB, free: 56.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003221/2.139, allocations: 0.8677 MB / 0.9291 GB, free: 56.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00248/2.141, allocations: 0.8462 MB / 0.93 GB, free: 56.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004036/2.145, allocations: 1.751 MB / 0.9317 GB, free: 55.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.331e-06/2.145, allocations: 3.812 kB / 0.9317 GB, free: 55.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/2.147, allocations: 0.5498 MB / 0.9322 GB, free: 55.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/2.149, allocations: 333.1 kB / 0.9325 GB, free: 55.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/2.153, allocations: 1.616 MB / 0.9341 GB, free: 54.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/2.154, allocations: 1.08 MB / 0.9352 GB, free: 53.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/2.154, allocations: 98.62 kB / 0.9353 GB, free: 53.89 MB / 426.7 MB Notification: Performance of SimCode: time 2.258e-06/2.154, allocations: 0 / 0.9353 GB, free: 53.89 MB / 426.7 MB Notification: Performance of Templates: time 0.04288/2.197, allocations: 30.62 MB / 0.9652 GB, free: 36.5 MB / 426.7 MB