Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.58/2.58, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.161e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.4043/0.5392, allocations: 32.11 MB / 443 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03475/0.574, allocations: 16.25 MB / 459.3 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.5754, allocations: 24.22 kB / 459.3 MB, free: 1.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.5771, allocations: 359.9 kB / 459.7 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01529/0.5924, allocations: 3.569 MB / 463.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008265/0.6007, allocations: 1.886 MB / 465.1 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002712/0.6034, allocations: 0.9598 MB / 466.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009082/0.6044, allocations: 343.8 kB / 466.4 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.016/0.6204, allocations: 6.208 MB / 472.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02159/0.6421, allocations: 8.734 MB / 481.4 MB, free: 1.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02006/0.6622, allocations: 6.715 MB / 488.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002938/0.6652, allocations: 420 kB / 488.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006214/0.6659, allocations: 231.4 kB / 488.7 MB, free: 9.789 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.6663, allocations: 92 kB / 488.8 MB, free: 9.699 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009124/0.6755, allocations: 3.285 MB / 492.1 MB, free: 6.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6755, allocations: 0 / 492.1 MB, free: 6.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.6755, allocations: 0 / 492.1 MB, free: 6.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.6756, allocations: 0 / 492.1 MB, free: 6.41 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.005283/0.6809, allocations: 1.427 MB / 493.5 MB, free: 4.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6809, allocations: 8.031 kB / 493.5 MB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/0.6843, allocations: 314.7 kB / 493.8 MB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.6859, allocations: 0.5472 MB / 494.4 MB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.6861, allocations: 108.7 kB / 494.5 MB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.6863, allocations: 60 kB / 494.5 MB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005003/0.6913, allocations: 1.158 MB / 495.7 MB, free: 2.594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.898e-05/0.6914, allocations: 7.938 kB / 495.7 MB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.6916, allocations: 31.98 kB / 495.7 MB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.6918, allocations: 45.3 kB / 495.8 MB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004111/0.6959, allocations: 0.8401 MB / 496.6 MB, free: 1.668 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.01399/0.7099, allocations: 5.51 MB / 0.4904 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.7129, allocations: 0.5721 MB / 0.4909 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1837/0.8966, allocations: 46.62 MB / 0.5365 GB, free: 7.262 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.505e-05/0.8967, allocations: 46.5 kB / 0.5365 GB, free: 7.207 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 3.055e-06/0.8967, allocations: 3.938 kB / 0.5365 GB, free: 7.203 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.00813/0.9049, allocations: 1.936 MB / 0.5384 GB, free: 5.207 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.905, allocations: 170.2 kB / 0.5386 GB, free: 5.004 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.9061, allocations: 0.5461 MB / 0.5391 GB, free: 4.449 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.9062, allocations: 29.7 kB / 0.5391 GB, free: 4.414 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.9066, allocations: 421.7 kB / 0.5395 GB, free: 4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.9068, allocations: 173.6 kB / 0.5397 GB, free: 3.828 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.9069, allocations: 16 kB / 0.5397 GB, free: 3.812 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.907, allocations: 338.8 kB / 0.54 GB, free: 3.473 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006703/0.9077, allocations: 217.9 kB / 0.5402 GB, free: 3.258 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009602/0.9087, allocations: 0.5679 MB / 0.5408 GB, free: 2.527 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008885/0.9096, allocations: 332.5 kB / 0.5411 GB, free: 2.199 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.9096, allocations: 0 / 0.5411 GB, free: 2.199 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002307/0.912, allocations: 0.8326 MB / 0.5419 GB, free: 1.355 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.912, allocations: 15.94 kB / 0.5419 GB, free: 1.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.9121, allocations: 8 kB / 0.5419 GB, free: 1.332 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.9125, allocations: 60.83 kB / 0.542 GB, free: 1.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.9149, allocations: 284 kB / 0.5423 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.9172, allocations: 1.98 MB / 0.5442 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.9183, allocations: 63.97 kB / 0.5443 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.9184, allocations: 39.95 kB / 0.5443 GB, free: 14.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.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.0005861/0.919, allocations: 269.5 kB / 0.5446 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.9193, allocations: 71.16 kB / 0.5446 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004015/0.9233, allocations: 2.224 MB / 0.5468 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/0.9234, allocations: 27.95 kB / 0.5468 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.9234, allocations: 0 / 0.5468 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.9234, allocations: 8.016 kB / 0.5468 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006063/0.9295, allocations: 3.284 MB / 0.55 GB, free: 8.781 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.9296, allocations: 4 kB / 0.55 GB, free: 8.777 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/0.9314, allocations: 183.8 kB / 0.5502 GB, free: 8.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005478/0.932, allocations: 96.75 kB / 0.5503 GB, free: 8.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.042e-05/0.9321, allocations: 16 kB / 0.5503 GB, free: 8.484 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.9342, allocations: 1.995 MB / 0.5523 GB, free: 6.336 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.9343, allocations: 8.016 kB / 0.5523 GB, free: 6.328 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.938, allocations: 1.995 MB / 0.5542 GB, free: 4.305 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000661/0.9388, allocations: 279.2 kB / 0.5545 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.939, allocations: 15.98 kB / 0.5545 GB, free: 3.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.94, allocations: 59.91 kB / 0.5546 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.9401, allocations: 32.39 kB / 0.5546 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.9402, allocations: 23.98 kB / 0.5546 GB, free: 3.879 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001079/0.9413, allocations: 0.5068 MB / 0.5551 GB, free: 3.375 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.9413, allocations: 0 / 0.5551 GB, free: 3.375 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004001/0.9454, allocations: 1.039 MB / 0.5561 GB, free: 2.336 MB / 474.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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.00698/0.9524, allocations: 1.226 MB / 0.5573 GB, free: 1.109 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003262/0.9557, allocations: 0.9279 MB / 0.5582 GB, free: 192 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.9557, allocations: 0 / 0.5582 GB, free: 192 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.9578, allocations: 0.6522 MB / 0.5589 GB, free: 15.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/0.961, allocations: 368.9 kB / 0.5592 GB, free: 15.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.9664, allocations: 2.742 MB / 0.5619 GB, free: 12.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009865/0.9674, allocations: 1.125 MB / 0.563 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.9677, allocations: 71.42 kB / 0.5631 GB, free: 11.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/0.9677, allocations: 0 / 0.5631 GB, free: 11.17 MB / 490.7 MB Notification: Performance of Templates: time 0.08365/1.051, allocations: 38.81 MB / 0.601 GB, free: 4.383 MB / 0.5105 GB