Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.294e-05/3.287e-05, allocations: 8 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 61.91 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01925/0.1508, allocations: 11.3 MB / 422.2 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3605/0.5114, allocations: 21.19 MB / 443.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.5118, allocations: 0 / 443.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.5121, allocations: 68.45 kB / 443.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02552/0.5377, allocations: 5.887 MB / 449.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.539, allocations: 284.4 kB / 449.7 MB, free: 8.832 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007731/0.5467, allocations: 2.967 MB / 452.6 MB, free: 8.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.5468, allocations: 11.83 kB / 452.6 MB, free: 8.152 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.5475, allocations: 249.2 kB / 452.9 MB, free: 7.996 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01429/0.5618, allocations: 5.557 MB / 458.4 MB, free: 6.922 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03209/0.5939, allocations: 10.54 MB / 469 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004139/0.5981, allocations: 0.6094 MB / 469.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.5983, allocations: 43.83 kB / 469.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.5986, allocations: 36 kB / 469.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.612, allocations: 4.146 MB / 473.8 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.612, allocations: 3.938 kB / 473.8 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.612, allocations: 0 / 473.8 MB, free: 8.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.6121, allocations: 0 / 473.8 MB, free: 8.836 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.006048/0.6181, allocations: 1.541 MB / 475.3 MB, free: 7.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.6182, allocations: 8.031 kB / 475.4 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.6203, allocations: 183.5 kB / 475.5 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.6208, allocations: 270.5 kB / 475.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.6209, allocations: 24.66 kB / 475.8 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.621, allocations: 35.92 kB / 475.9 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.6242, allocations: 0.7486 MB / 476.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.6242, allocations: 4 kB / 476.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.6243, allocations: 16 kB / 476.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.6243, allocations: 11.95 kB / 476.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.6276, allocations: 0.8176 MB / 477.5 MB, free: 5.051 MB / 378.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.005061/0.6326, allocations: 2.708 MB / 480.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.6345, allocations: 358.1 kB / 480.5 MB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.966/1.601, allocations: 142.3 MB / 0.6082 GB, free: 180 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001855/1.602, allocations: 438.8 kB / 0.6086 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 5.32e-06/1.602, allocations: 4 kB / 0.6086 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.005724/1.608, allocations: 1.119 MB / 0.6097 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.608, allocations: 376.6 kB / 0.6101 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/1.609, allocations: 160.9 kB / 0.6102 GB, free: 179 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/1.609, allocations: 32.42 kB / 0.6103 GB, free: 179 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.609, allocations: 257.5 kB / 0.6105 GB, free: 178.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/1.609, allocations: 115.9 kB / 0.6106 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/1.609, allocations: 9.969 kB / 0.6106 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.382e-05/1.609, allocations: 332.6 kB / 0.6109 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/1.609, allocations: 76.89 kB / 0.611 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/1.61, allocations: 343.2 kB / 0.6113 GB, free: 178 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/1.61, allocations: 131.5 kB / 0.6115 GB, free: 178 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.61, allocations: 2.281 kB / 0.6115 GB, free: 178 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00128/1.611, allocations: 469.9 kB / 0.6119 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/1.612, allocations: 9.406 kB / 0.6119 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/1.612, allocations: 13.98 kB / 0.6119 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.622e-05/1.612, allocations: 17.44 kB / 0.612 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/1.614, allocations: 214.5 kB / 0.6122 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005275/1.615, allocations: 1.181 MB / 0.6133 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/1.615, allocations: 27.66 kB / 0.6133 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.616, allocations: 45.47 kB / 0.6134 GB, free: 176.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002616/1.616, allocations: 158.1 kB / 0.6135 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/1.616, allocations: 27.38 kB / 0.6136 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004826/1.621, allocations: 2.878 MB / 0.6164 GB, free: 175.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.414e-05/1.621, allocations: 21.22 kB / 0.6164 GB, free: 175.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.621, allocations: 4.594 kB / 0.6164 GB, free: 175.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.621, allocations: 7 kB / 0.6164 GB, free: 175.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/1.623, allocations: 0.9683 MB / 0.6173 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/1.623, allocations: 3.031 kB / 0.6173 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.624, allocations: 98.03 kB / 0.6174 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003681/1.624, allocations: 171.4 kB / 0.6176 GB, free: 174.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/1.624, allocations: 11.14 kB / 0.6176 GB, free: 174.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004244/1.625, allocations: 0.6458 MB / 0.6182 GB, free: 173.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.625, allocations: 3.594 kB / 0.6183 GB, free: 173.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/1.627, allocations: 1.113 MB / 0.6193 GB, free: 173.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/1.627, allocations: 351.8 kB / 0.6197 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/1.627, allocations: 10.17 kB / 0.6197 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/1.628, allocations: 21.8 kB / 0.6197 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/1.628, allocations: 39.56 kB / 0.6197 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/1.628, allocations: 13.28 kB / 0.6198 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008944/1.629, allocations: 467.1 kB / 0.6202 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/1.629, allocations: 0 / 0.6202 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00539/1.634, allocations: 1.526 MB / 0.6217 GB, free: 172.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.0107/1.645, allocations: 1.877 MB / 0.6235 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002414/1.648, allocations: 0.5275 MB / 0.624 GB, free: 172 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.648, allocations: 1.156 kB / 0.624 GB, free: 172 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007018/1.648, allocations: 358.9 kB / 0.6244 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/1.65, allocations: 122 kB / 0.6245 GB, free: 171.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/1.655, allocations: 2.609 MB / 0.627 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/1.655, allocations: 1.003 MB / 0.628 GB, free: 169.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/1.655, allocations: 59.97 kB / 0.6281 GB, free: 169.7 MB / 0.5105 GB Notification: Performance of SimCode: time 8.52e-07/1.656, allocations: 3.938 kB / 0.6281 GB, free: 169.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.08583/1.741, allocations: 39.4 MB / 0.6666 GB, free: 134 MB / 0.5105 GB