Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.661e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1411, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.4216/0.5628, allocations: 32.11 MB / 443.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03126/0.5941, allocations: 16.25 MB / 459.3 MB, free: 1.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.5955, allocations: 29.12 kB / 459.3 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.5969, allocations: 357.8 kB / 459.7 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.6114, allocations: 3.564 MB / 463.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007885/0.6193, allocations: 1.882 MB / 465.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002669/0.622, allocations: 0.9771 MB / 466.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.6228, allocations: 329.4 kB / 466.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01598/0.6388, allocations: 6.208 MB / 472.6 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02107/0.6599, allocations: 8.745 MB / 481.4 MB, free: 1.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01977/0.6798, allocations: 6.712 MB / 488.1 MB, free: 10.44 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002951/0.6828, allocations: 424 kB / 488.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000572/0.6834, allocations: 227.3 kB / 488.7 MB, free: 9.801 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.6839, allocations: 92 kB / 488.8 MB, free: 9.711 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008947/0.6928, allocations: 3.269 MB / 492.1 MB, free: 6.438 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6929, allocations: 0 / 492.1 MB, free: 6.438 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6929, allocations: 0 / 492.1 MB, free: 6.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.6929, allocations: 0 / 492.1 MB, free: 6.438 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.005519/0.6984, allocations: 1.474 MB / 493.6 MB, free: 4.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.6985, allocations: 15.97 kB / 493.6 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.7019, allocations: 310.7 kB / 493.9 MB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.7033, allocations: 0.5433 MB / 494.4 MB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.7034, allocations: 112.7 kB / 494.5 MB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.7036, allocations: 67.97 kB / 494.6 MB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004272/0.7079, allocations: 1.204 MB / 495.8 MB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.708, allocations: 3.938 kB / 495.8 MB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.7081, allocations: 32 kB / 495.8 MB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.7083, allocations: 41.3 kB / 495.9 MB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004558/0.7128, allocations: 1.059 MB / 496.9 MB, free: 1.379 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.009901/0.7228, allocations: 5.631 MB / 0.4908 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.7268, allocations: 0.8017 MB / 0.4916 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05666/0.7834, allocations: 15.98 MB / 0.5072 GB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/0.7835, allocations: 42.5 kB / 0.5072 GB, free: 8.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 3.156e-06/0.7836, allocations: 0 / 0.5072 GB, free: 8.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.01122/0.7948, allocations: 2.357 MB / 0.5095 GB, free: 6.234 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7949, allocations: 166.6 kB / 0.5097 GB, free: 6.035 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.796, allocations: 0.5382 MB / 0.5102 GB, free: 5.488 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.787e-05/0.7961, allocations: 33.7 kB / 0.5102 GB, free: 5.449 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/0.7965, allocations: 421.7 kB / 0.5106 GB, free: 5.035 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.7967, allocations: 173.6 kB / 0.5108 GB, free: 4.863 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.7968, allocations: 16 kB / 0.5108 GB, free: 4.848 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.7969, allocations: 342.8 kB / 0.5111 GB, free: 4.504 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.7981, allocations: 289.8 kB / 0.5114 GB, free: 4.219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.7996, allocations: 0.6122 MB / 0.512 GB, free: 3.449 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.8009, allocations: 384.5 kB / 0.5124 GB, free: 3.074 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.8009, allocations: 4 kB / 0.5124 GB, free: 3.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003357/0.8043, allocations: 0.942 MB / 0.5133 GB, free: 2.121 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.8044, allocations: 8 kB / 0.5133 GB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.8044, allocations: 16.09 kB / 0.5133 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004105/0.8049, allocations: 60.83 kB / 0.5134 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.8075, allocations: 307.6 kB / 0.5137 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.8099, allocations: 1.984 MB / 0.5156 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.8112, allocations: 87.91 kB / 0.5157 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.8114, allocations: 43.94 kB / 0.5157 GB, free: 15.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006426/0.8121, allocations: 269.5 kB / 0.516 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.8123, allocations: 75.16 kB / 0.5161 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005724/0.8181, allocations: 2.594 MB / 0.5186 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.914e-05/0.8182, allocations: 43.83 kB / 0.5187 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8182, allocations: 0 / 0.5187 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.8182, allocations: 7.984 kB / 0.5187 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008055/0.8263, allocations: 3.793 MB / 0.5224 GB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.8264, allocations: 4 kB / 0.5224 GB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002299/0.8287, allocations: 243.7 kB / 0.5226 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006161/0.8293, allocations: 84.69 kB / 0.5227 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/0.8294, allocations: 19.98 kB / 0.5227 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.8318, allocations: 1.995 MB / 0.5246 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8318, allocations: 0 / 0.5246 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005614/0.8375, allocations: 2.394 MB / 0.527 GB, free: 3.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007862/0.8383, allocations: 330.9 kB / 0.5273 GB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/0.8385, allocations: 12 kB / 0.5273 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.8396, allocations: 59.92 kB / 0.5274 GB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.8398, allocations: 52.38 kB / 0.5274 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.8398, allocations: 27.98 kB / 0.5274 GB, free: 3.188 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001254/0.8411, allocations: 0.5498 MB / 0.528 GB, free: 2.641 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8411, allocations: 0 / 0.528 GB, free: 2.641 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004349/0.8455, allocations: 1.05 MB / 0.529 GB, free: 1.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006977/0.8525, allocations: 1.215 MB / 0.5302 GB, free: 376 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004239/0.8568, allocations: 1.093 MB / 0.5313 GB, free: 15.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.8569, allocations: 0 / 0.5313 GB, free: 15.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002915/0.8598, allocations: 0.809 MB / 0.5321 GB, free: 14.47 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/0.8634, allocations: 378.8 kB / 0.5324 GB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006629/0.8701, allocations: 3.065 MB / 0.5354 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.8712, allocations: 1.181 MB / 0.5366 GB, free: 9.789 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/0.8716, allocations: 71.42 kB / 0.5366 GB, free: 9.719 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.8716, allocations: 4 kB / 0.5366 GB, free: 9.715 MB / 458.7 MB Notification: Performance of Templates: time 0.09206/0.9636, allocations: 40.33 MB / 0.576 GB, free: 1.402 MB / 490.7 MB