Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.132e-05, allocations: 6.031 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3975/0.5295, allocations: 32.12 MB / 443.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03384/0.5634, allocations: 16.25 MB / 459.3 MB, free: 1.277 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.5648, allocations: 24.03 kB / 459.3 MB, free: 1.266 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.5662, allocations: 359.3 kB / 459.7 MB, free: 1.035 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01501/0.5813, allocations: 3.573 MB / 463.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008584/0.5899, allocations: 1.878 MB / 465.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002614/0.5925, allocations: 1.003 MB / 466.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006534/0.5932, allocations: 323.4 kB / 466.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01568/0.6089, allocations: 6.196 MB / 472.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02943/0.6384, allocations: 8.726 MB / 481.4 MB, free: 1.219 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02545/0.6639, allocations: 6.559 MB / 487.9 MB, free: 10.65 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002766/0.6667, allocations: 420 kB / 488.3 MB, free: 10.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005069/0.6673, allocations: 219.4 kB / 488.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.6677, allocations: 92 kB / 488.6 MB, free: 9.938 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008654/0.6764, allocations: 3.187 MB / 491.8 MB, free: 6.746 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6765, allocations: 3.938 kB / 491.8 MB, free: 6.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.6765, allocations: 0 / 491.8 MB, free: 6.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.6765, allocations: 0 / 491.8 MB, free: 6.742 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005006/0.6815, allocations: 1.4 MB / 493.2 MB, free: 5.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.6816, allocations: 8.031 kB / 493.2 MB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.6837, allocations: 226.8 kB / 493.5 MB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.6849, allocations: 0.5161 MB / 494 MB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.6851, allocations: 108.7 kB / 494.1 MB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.6853, allocations: 60 kB / 494.1 MB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.6882, allocations: 1.06 MB / 495.2 MB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.6882, allocations: 3.938 kB / 495.2 MB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.6884, allocations: 31.98 kB / 495.2 MB, free: 3.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.831e-05/0.6885, allocations: 44.98 kB / 495.3 MB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/0.6911, allocations: 0.8193 MB / 496.1 MB, free: 2.258 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.00907/0.7002, allocations: 5.566 MB / 0.4899 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.7022, allocations: 0.531 MB / 0.4904 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1989/0.901, allocations: 47.89 MB / 0.5372 GB, free: 6.266 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.964e-05/0.9012, allocations: 42.5 kB / 0.5372 GB, free: 6.215 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.427e-06/0.9012, allocations: 4 kB / 0.5372 GB, free: 6.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.0102/0.9114, allocations: 2.115 MB / 0.5393 GB, free: 4.031 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.9116, allocations: 195.9 kB / 0.5395 GB, free: 3.797 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.9127, allocations: 0.5579 MB / 0.54 GB, free: 3.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.9129, allocations: 29.7 kB / 0.5401 GB, free: 3.195 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.9133, allocations: 433.5 kB / 0.5405 GB, free: 2.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.9135, allocations: 165.8 kB / 0.5406 GB, free: 2.605 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.9136, allocations: 16 kB / 0.5407 GB, free: 2.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.9138, allocations: 346.8 kB / 0.541 GB, free: 2.242 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.9145, allocations: 225.9 kB / 0.5412 GB, free: 2.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009763/0.9155, allocations: 0.5822 MB / 0.5418 GB, free: 1.266 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/0.9164, allocations: 335.6 kB / 0.5421 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.9165, allocations: 8 kB / 0.5421 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002487/0.919, allocations: 0.8457 MB / 0.5429 GB, free: 76 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.919, allocations: 12 kB / 0.5429 GB, free: 64 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.9191, allocations: 15.94 kB / 0.5429 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005584/0.9247, allocations: 264.5 kB / 0.5432 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/0.9273, allocations: 288 kB / 0.5435 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.93, allocations: 2.034 MB / 0.5455 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.9312, allocations: 60.06 kB / 0.5455 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.9314, allocations: 47.98 kB / 0.5456 GB, free: 13.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006274/0.932, allocations: 265.5 kB / 0.5458 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.9323, allocations: 71.16 kB / 0.5459 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/0.9364, allocations: 2.022 MB / 0.5479 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.467e-05/0.9365, allocations: 27.92 kB / 0.5479 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9365, allocations: 0 / 0.5479 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.9366, allocations: 8.047 kB / 0.5479 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006251/0.9428, allocations: 2.988 MB / 0.5508 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.9429, allocations: 3.953 kB / 0.5508 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/0.9449, allocations: 183.8 kB / 0.551 GB, free: 7.543 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/0.948, allocations: 307.8 kB / 0.5513 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.9481, allocations: 15.98 kB / 0.5513 GB, free: 7.227 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.9509, allocations: 2.093 MB / 0.5533 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.951, allocations: 0 / 0.5533 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004106/0.9551, allocations: 1.955 MB / 0.5553 GB, free: 2.988 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007118/0.9558, allocations: 291.3 kB / 0.5555 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.9561, allocations: 12 kB / 0.5555 GB, free: 2.672 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008922/0.957, allocations: 32 kB / 0.5556 GB, free: 2.641 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.9571, allocations: 36.33 kB / 0.5556 GB, free: 2.605 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/0.9572, allocations: 19.98 kB / 0.5556 GB, free: 2.586 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001239/0.9584, allocations: 0.5615 MB / 0.5562 GB, free: 2.031 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9584, allocations: 0 / 0.5562 GB, free: 2.031 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004219/0.9627, allocations: 1.042 MB / 0.5572 GB, free: 0.9883 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007057/0.9698, allocations: 1.206 MB / 0.5584 GB, free: 15.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003241/0.9731, allocations: 0.8976 MB / 0.5592 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.9731, allocations: 8.125 kB / 0.5593 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.9753, allocations: 0.6201 MB / 0.5599 GB, free: 14.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00361/0.979, allocations: 374.6 kB / 0.5602 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005533/0.9845, allocations: 2.601 MB / 0.5628 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009887/0.9856, allocations: 1.113 MB / 0.5638 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.986, allocations: 75.36 kB / 0.5639 GB, free: 10.04 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/0.986, allocations: 0 / 0.5639 GB, free: 10.04 MB / 490.7 MB Notification: Performance of Templates: time 0.08527/1.071, allocations: 38.12 MB / 0.6011 GB, free: 3.941 MB / 0.5105 GB