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_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.928e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3787, allocations: 54.86 MB / 362.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02061/0.3994, allocations: 11.28 MB / 374.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03988/0.4394, allocations: 21.17 MB / 395.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.4397, allocations: 0 / 395.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.4401, allocations: 71.62 kB / 395.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02317/0.4632, allocations: 5.872 MB / 401.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.4645, allocations: 287.2 kB / 401.5 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007894/0.4724, allocations: 2.971 MB / 404.5 MB, free: 4.113 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.4725, allocations: 4 kB / 404.5 MB, free: 4.109 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007074/0.4732, allocations: 251.2 kB / 404.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01403/0.4873, allocations: 5.552 MB / 410.3 MB, free: 14.31 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03062/0.518, allocations: 10.53 MB / 420.8 MB, free: 3.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004185/0.5222, allocations: 0.6094 MB / 421.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.5224, allocations: 43.83 kB / 421.5 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.5226, allocations: 36 kB / 421.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.5352, allocations: 4.132 MB / 425.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5353, allocations: 0 / 425.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5353, allocations: 0 / 425.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.5353, allocations: 3.938 kB / 425.7 MB, free: 14.93 MB / 362.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.006131/0.5415, allocations: 1.544 MB / 427.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.5416, allocations: 12.03 kB / 427.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.5438, allocations: 183.5 kB / 427.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.5443, allocations: 270.6 kB / 427.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.5444, allocations: 20.66 kB / 427.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/0.5445, allocations: 28 kB / 427.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/0.5478, allocations: 0.7486 MB / 428.4 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.5479, allocations: 7.938 kB / 428.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/0.548, allocations: 19.98 kB / 428.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.548, allocations: 8 kB / 428.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.5513, allocations: 0.8098 MB / 429.3 MB, free: 11.15 MB / 362.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.005407/0.5568, allocations: 2.719 MB / 432 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.5588, allocations: 347.8 kB / 432.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031/1.589, allocations: 142.5 MB / 0.5613 GB, free: 55.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/1.591, allocations: 443.8 kB / 0.5618 GB, free: 54.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.647e-06/1.591, allocations: 0 / 0.5618 GB, free: 54.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.005199/1.597, allocations: 1.116 MB / 0.5628 GB, free: 53.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.597, allocations: 377.5 kB / 0.5632 GB, free: 53.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/1.597, allocations: 173 kB / 0.5634 GB, free: 52.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/1.597, allocations: 29.7 kB / 0.5634 GB, free: 52.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.777e-05/1.597, allocations: 247.9 kB / 0.5636 GB, free: 52.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/1.597, allocations: 117.8 kB / 0.5638 GB, free: 52.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/1.597, allocations: 16.03 kB / 0.5638 GB, free: 52.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.876e-05/1.597, allocations: 326.8 kB / 0.5641 GB, free: 52.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/1.598, allocations: 73.06 kB / 0.5641 GB, free: 52.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/1.598, allocations: 341.6 kB / 0.5645 GB, free: 51.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/1.598, allocations: 137.7 kB / 0.5646 GB, free: 51.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.598, allocations: 7.938 kB / 0.5646 GB, free: 51.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001605/1.6, allocations: 465.5 kB / 0.5651 GB, free: 51.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/1.6, allocations: 8 kB / 0.5651 GB, free: 51.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.6, allocations: 12 kB / 0.5651 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.796e-05/1.6, allocations: 12 kB / 0.5651 GB, free: 51.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003671/1.604, allocations: 211.6 kB / 0.5653 GB, free: 50.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006049/1.604, allocations: 1.188 MB / 0.5664 GB, free: 49.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/1.605, allocations: 30.47 kB / 0.5665 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.605, allocations: 39.98 kB / 0.5665 GB, free: 49.54 MB / 426.7 MB 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.0002812/1.606, allocations: 161.6 kB / 0.5667 GB, free: 49.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/1.606, allocations: 23.81 kB / 0.5667 GB, free: 49.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005315/1.612, allocations: 2.881 MB / 0.5695 GB, free: 46.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/1.612, allocations: 23.97 kB / 0.5695 GB, free: 46.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.612, allocations: 0 / 0.5695 GB, free: 46.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/1.612, allocations: 4 kB / 0.5695 GB, free: 46.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/1.614, allocations: 0.9744 MB / 0.5705 GB, free: 45.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.614, allocations: 8 kB / 0.5705 GB, free: 45.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/1.615, allocations: 96.27 kB / 0.5706 GB, free: 45.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/1.615, allocations: 166.7 kB / 0.5707 GB, free: 45.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/1.616, allocations: 12 kB / 0.5708 GB, free: 45.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005386/1.616, allocations: 0.6474 MB / 0.5714 GB, free: 44.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.616, allocations: 4 kB / 0.5714 GB, free: 44.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/1.629, allocations: 1.1 MB / 0.5725 GB, free: 43.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005264/1.629, allocations: 354.9 kB / 0.5728 GB, free: 42.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/1.629, allocations: 12 kB / 0.5728 GB, free: 42.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000898/1.63, allocations: 19.98 kB / 0.5728 GB, free: 42.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/1.631, allocations: 31.86 kB / 0.5729 GB, free: 42.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/1.631, allocations: 16 kB / 0.5729 GB, free: 42.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001071/1.632, allocations: 471 kB / 0.5733 GB, free: 42.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.632, allocations: 4 kB / 0.5733 GB, free: 42.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01718/1.649, allocations: 1.523 MB / 0.5748 GB, free: 40.93 MB / 426.7 MB 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.01234/1.661, allocations: 1.864 MB / 0.5766 GB, free: 39.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005845/1.667, allocations: 0.5264 MB / 0.5772 GB, free: 38.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/1.667, allocations: 4 kB / 0.5772 GB, free: 38.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007624/1.668, allocations: 367.6 kB / 0.5775 GB, free: 38.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.669, allocations: 123.5 kB / 0.5776 GB, free: 38.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.683, allocations: 2.619 MB / 0.5802 GB, free: 35.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000817/1.684, allocations: 1.002 MB / 0.5812 GB, free: 34.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/1.685, allocations: 59.41 kB / 0.5812 GB, free: 34.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/1.685, allocations: 4 kB / 0.5812 GB, free: 34.73 MB / 426.7 MB Notification: Performance of Templates: time 0.08358/1.768, allocations: 39.36 MB / 0.6197 GB, free: 11.34 MB / 442.7 MB