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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.53/2.53, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.759e-05, allocations: 0 / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1376, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.6016/0.7393, allocations: 125 MB / 0.5234 GB, free: 11.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01858/0.758, allocations: 8.652 MB / 0.5318 GB, free: 2.422 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.7593, allocations: 39.69 kB / 0.5319 GB, free: 2.383 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.7607, allocations: 338.2 kB / 0.5322 GB, free: 2.051 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.765, allocations: 1.008 MB / 0.5332 GB, free: 1.039 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006999/0.772, allocations: 1.776 MB / 0.5349 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.775, allocations: 1.14 MB / 0.536 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.7761, allocations: 0.5241 MB / 0.5365 GB, free: 13.59 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.778, allocations: 0.682 MB / 0.5372 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.7798, allocations: 0.7248 MB / 0.5379 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005546/0.7853, allocations: 1.834 MB / 0.5397 GB, free: 10.34 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008313/0.7862, allocations: 116 kB / 0.5398 GB, free: 10.23 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005739/0.7868, allocations: 315.2 kB / 0.5401 GB, free: 9.922 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004671/0.7873, allocations: 100 kB / 0.5402 GB, free: 9.824 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004477/0.7918, allocations: 1.849 MB / 0.542 GB, free: 7.977 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.7918, allocations: 0 / 0.542 GB, free: 7.977 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.7918, allocations: 0 / 0.542 GB, free: 7.977 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.7919, allocations: 4 kB / 0.542 GB, free: 7.973 MB / 458.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.004451/0.7963, allocations: 1.282 MB / 0.5433 GB, free: 6.641 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.7964, allocations: 8.031 kB / 0.5433 GB, free: 6.633 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006424/0.7971, allocations: 118.8 kB / 0.5434 GB, free: 6.516 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.7989, allocations: 0.683 MB / 0.544 GB, free: 5.789 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.799, allocations: 116.7 kB / 0.5442 GB, free: 5.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.7993, allocations: 71.97 kB / 0.5442 GB, free: 5.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/0.8025, allocations: 1.196 MB / 0.5454 GB, free: 4.359 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.8026, allocations: 4 kB / 0.5454 GB, free: 4.355 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.8028, allocations: 31.98 kB / 0.5454 GB, free: 4.324 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/0.803, allocations: 69.95 kB / 0.5455 GB, free: 4.258 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/0.8064, allocations: 1.198 MB / 0.5467 GB, free: 3.055 MB / 458.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.01414/0.8205, allocations: 5.003 MB / 0.5515 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.8228, allocations: 0.6797 MB / 0.5522 GB, free: 13.08 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005581/0.8284, allocations: 2.485 MB / 0.5546 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.8285, allocations: 43 kB / 0.5547 GB, free: 10.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=52): time 3.486e-06/0.8285, allocations: 0 / 0.5547 GB, free: 10.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.01244/0.841, allocations: 3.011 MB / 0.5576 GB, free: 7.207 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.8411, allocations: 166.8 kB / 0.5578 GB, free: 7.008 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.8429, allocations: 0.8443 MB / 0.5586 GB, free: 6.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.8431, allocations: 37.64 kB / 0.5586 GB, free: 6.117 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/0.8435, allocations: 481.6 kB / 0.5591 GB, free: 5.641 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.8438, allocations: 205.2 kB / 0.5593 GB, free: 5.438 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.844, allocations: 20 kB / 0.5593 GB, free: 5.418 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.8441, allocations: 346.8 kB / 0.5596 GB, free: 5.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.8455, allocations: 449.7 kB / 0.5601 GB, free: 4.633 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.847, allocations: 0.6921 MB / 0.5607 GB, free: 3.828 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.8485, allocations: 0.5143 MB / 0.5613 GB, free: 3.316 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.8485, allocations: 4 kB / 0.5613 GB, free: 3.312 MB / 474.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00531/0.8538, allocations: 1.469 MB / 0.5627 GB, free: 1.812 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001365/0.8553, allocations: 2.619 MB / 0.5652 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.8553, allocations: 8 kB / 0.5653 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003409/0.8587, allocations: 0.5138 MB / 0.5658 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.8607, allocations: 183.7 kB / 0.5659 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005238/0.866, allocations: 2.943 MB / 0.5688 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.8685, allocations: 56.09 kB / 0.5689 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/0.8688, allocations: 47.98 kB / 0.5689 GB, free: 11.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.8688, allocations: 7.984 kB / 0.5689 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005717/0.8745, allocations: 1.382 MB / 0.5703 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.8746, allocations: 4 kB / 0.5703 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/0.8768, allocations: 414.7 kB / 0.5707 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.8789, allocations: 187.7 kB / 0.5708 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004679/0.8836, allocations: 2.826 MB / 0.5736 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.8853, allocations: 51.94 kB / 0.5736 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/0.8855, allocations: 43.98 kB / 0.5737 GB, free: 5.922 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (101): * Single equations (assignments): 98 * 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.001022/0.8866, allocations: 293.5 kB / 0.574 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/0.887, allocations: 98.86 kB / 0.5741 GB, free: 5.527 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005594/0.8926, allocations: 1.402 MB / 0.5754 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/0.8927, allocations: 12 kB / 0.5754 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.8927, allocations: 0 / 0.5754 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.8927, allocations: 3.984 kB / 0.5754 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008369/0.9011, allocations: 2.353 MB / 0.5777 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.9012, allocations: 0 / 0.5777 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.9024, allocations: 91.88 kB / 0.5778 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00337/0.9058, allocations: 0.5176 MB / 0.5783 GB, free: 1.004 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/0.906, allocations: 23.98 kB / 0.5784 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/0.911, allocations: 2.908 MB / 0.5812 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.911, allocations: 4.031 kB / 0.5812 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006585/0.9176, allocations: 1.777 MB / 0.5829 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.9189, allocations: 315.7 kB / 0.5832 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003941/0.9193, allocations: 15.95 kB / 0.5833 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/0.9209, allocations: 48.03 kB / 0.5833 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.9212, allocations: 56.47 kB / 0.5834 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/0.9214, allocations: 31.97 kB / 0.5834 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001979/0.9234, allocations: 0.6596 MB / 0.584 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.51e-07/0.9235, allocations: 0 / 0.584 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004431/0.9279, allocations: 0.8121 MB / 0.5848 GB, free: 10.09 MB / 0.4948 GB 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.003196/0.9311, allocations: 0.6493 MB / 0.5855 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006892/0.9381, allocations: 1.898 MB / 0.5873 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.9381, allocations: 4.188 kB / 0.5873 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.9401, allocations: 0.5682 MB / 0.5879 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.9433, allocations: 385.8 kB / 0.5882 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006286/0.9496, allocations: 2.296 MB / 0.5905 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008863/0.9505, allocations: 1.078 MB / 0.5915 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006144/0.9512, allocations: 103.3 kB / 0.5916 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of SimCode: time 1.123e-06/0.9512, allocations: 0 / 0.5916 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of Templates: time 0.3901/1.341, allocations: 31.34 MB / 0.6222 GB, free: 176.6 MB / 0.5105 GB