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 2.045/2.045, allocations: 209.2 MB / 224.4 MB, free: 0.918 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.767e-05, allocations: 0 / 276.2 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 48.7 MB / 324.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.4824/0.5928, allocations: 124.8 MB / 449.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01881/0.6117, allocations: 8.581 MB / 458.3 MB, free: 4.156 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.6131, allocations: 39.69 kB / 458.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.6146, allocations: 338.2 kB / 458.6 MB, free: 3.785 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005253/0.6199, allocations: 1.012 MB / 459.6 MB, free: 2.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009666/0.6296, allocations: 1.773 MB / 461.4 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003866/0.6335, allocations: 1.125 MB / 462.5 MB, free: 15.87 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.635, allocations: 0.5315 MB / 463.1 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.6372, allocations: 0.6781 MB / 463.8 MB, free: 14.65 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.6395, allocations: 0.7171 MB / 464.5 MB, free: 13.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007192/0.6467, allocations: 1.822 MB / 466.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.6478, allocations: 123.9 kB / 466.4 MB, free: 11.99 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007745/0.6486, allocations: 311.2 kB / 466.7 MB, free: 11.68 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006121/0.6492, allocations: 104 kB / 466.8 MB, free: 11.58 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006007/0.6552, allocations: 1.831 MB / 468.7 MB, free: 9.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6553, allocations: 0 / 468.7 MB, free: 9.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6553, allocations: 0 / 468.7 MB, free: 9.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.6554, allocations: 0 / 468.7 MB, free: 9.75 MB / 394.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.006004/0.6614, allocations: 1.275 MB / 469.9 MB, free: 8.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.6615, allocations: 12.03 kB / 469.9 MB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009433/0.6624, allocations: 114.7 kB / 470 MB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.665, allocations: 0.7064 MB / 470.8 MB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.6653, allocations: 120.6 kB / 470.9 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/0.6656, allocations: 67.98 kB / 470.9 MB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004587/0.6702, allocations: 1.192 MB / 472.1 MB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-05/0.6703, allocations: 4 kB / 472.1 MB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.6706, allocations: 31.98 kB / 472.2 MB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/0.6709, allocations: 69.95 kB / 472.2 MB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004797/0.6757, allocations: 1.198 MB / 473.4 MB, free: 4.824 MB / 394.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.02033/0.696, allocations: 5.04 MB / 478.5 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.6991, allocations: 0.6529 MB / 479.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005971/0.7051, allocations: 2.494 MB / 481.6 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/0.7053, allocations: 46.98 kB / 481.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 4.389e-06/0.7053, allocations: 3.938 kB / 481.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=56): time 0.01329/0.7186, allocations: 2.921 MB / 484.6 MB, free: 9.008 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.7187, allocations: 162.8 kB / 484.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.7205, allocations: 0.7815 MB / 485.5 MB, free: 8.023 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.7207, allocations: 37.7 kB / 485.6 MB, free: 7.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/0.7212, allocations: 0.4931 MB / 486.1 MB, free: 7.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.7215, allocations: 193.3 kB / 486.3 MB, free: 7.289 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.7217, allocations: 20 kB / 486.3 MB, free: 7.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7219, allocations: 350.8 kB / 486.6 MB, free: 6.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.7232, allocations: 429.7 kB / 487 MB, free: 6.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.7249, allocations: 0.7426 MB / 487.8 MB, free: 5.609 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.7266, allocations: 0.5145 MB / 488.3 MB, free: 5.094 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.7267, allocations: 7.953 kB / 488.3 MB, free: 5.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004538/0.7312, allocations: 1.465 MB / 489.8 MB, free: 3.586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002643/0.7339, allocations: 3.744 MB / 493.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.012e-05/0.7341, allocations: 15.94 kB / 493.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004799/0.7389, allocations: 0.5254 MB / 494 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/0.7416, allocations: 195.7 kB / 494.2 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004639/0.7463, allocations: 2.923 MB / 497.2 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.7481, allocations: 63.97 kB / 497.2 MB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.7483, allocations: 51.97 kB / 497.3 MB, free: 11.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7483, allocations: 4 kB / 497.3 MB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00417/0.7525, allocations: 1.319 MB / 498.6 MB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/0.7526, allocations: 8 kB / 498.6 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.7541, allocations: 318.6 kB / 498.9 MB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.7557, allocations: 199.7 kB / 499.1 MB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.7589, allocations: 2.701 MB / 0.4901 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.7601, allocations: 55.88 kB / 0.4901 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.7603, allocations: 47.98 kB / 0.4902 GB, free: 6.723 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (107): * Single equations (assignments): 104 * 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.0008353/0.7612, allocations: 305.6 kB / 0.4904 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.7615, allocations: 90.88 kB / 0.4905 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005715/0.7672, allocations: 1.359 MB / 0.4919 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.7673, allocations: 8 kB / 0.4919 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.7673, allocations: 4 kB / 0.4919 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.7673, allocations: 7.922 kB / 0.4919 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006503/0.7738, allocations: 2.302 MB / 0.4941 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.7739, allocations: 0 / 0.4941 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009339/0.7749, allocations: 87.88 kB / 0.4942 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002651/0.7775, allocations: 0.5099 MB / 0.4947 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/0.7778, allocations: 23.92 kB / 0.4947 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.269/1.047, allocations: 2.912 MB / 0.4976 GB, free: 150.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.047, allocations: 0 / 0.4976 GB, free: 150.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00491/1.052, allocations: 1.758 MB / 0.4993 GB, free: 150.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008115/1.053, allocations: 298.9 kB / 0.4996 GB, free: 150.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/1.053, allocations: 14.08 kB / 0.4996 GB, free: 150.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.054, allocations: 46.81 kB / 0.4996 GB, free: 150.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/1.054, allocations: 55.78 kB / 0.4997 GB, free: 150.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/1.054, allocations: 25.95 kB / 0.4997 GB, free: 150.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001275/1.056, allocations: 0.5944 MB / 0.5003 GB, free: 150.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.056, allocations: 0 / 0.5003 GB, free: 150.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003295/1.059, allocations: 0.7811 MB / 0.5011 GB, free: 150.3 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.002291/1.061, allocations: 0.6217 MB / 0.5017 GB, free: 150.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006182/1.068, allocations: 1.847 MB / 0.5035 GB, free: 149.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.068, allocations: 1.344 kB / 0.5035 GB, free: 149.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/1.07, allocations: 0.5713 MB / 0.504 GB, free: 149.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/1.073, allocations: 335.8 kB / 0.5043 GB, free: 149.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/1.079, allocations: 2.316 MB / 0.5066 GB, free: 148 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/1.08, allocations: 1.078 MB / 0.5077 GB, free: 147.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000602/1.081, allocations: 95.69 kB / 0.5077 GB, free: 147.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.203e-06/1.081, allocations: 0 / 0.5077 GB, free: 147.3 MB / 426.7 MB Notification: Performance of Templates: time 0.05829/1.139, allocations: 30.2 MB / 0.5372 GB, free: 128.2 MB / 426.7 MB