Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.203/2.203, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.743e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3768, allocations: 54.86 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.55/14.92, allocations: 6.537 GB / 6.888 GB, free: 63.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/14.92, allocations: 81.3 kB / 6.888 GB, free: 63.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12/16.04, allocations: 246.7 MB / 7.129 GB, free: 16.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.883e-06/16.04, allocations: 0 / 7.129 GB, free: 16.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/16.04, allocations: 4 kB / 7.129 GB, free: 16.06 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.007483/16.05, allocations: 1.901 MB / 7.131 GB, free: 14.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/16.05, allocations: 8.031 kB / 7.131 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/16.05, allocations: 35.67 kB / 7.131 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/16.05, allocations: 246.7 kB / 7.131 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/16.05, allocations: 20.55 kB / 7.131 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/16.05, allocations: 28 kB / 7.131 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/16.05, allocations: 492.8 kB / 7.132 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/16.05, allocations: 0 / 7.132 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/16.05, allocations: 15.98 kB / 7.132 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/16.05, allocations: 28.48 kB / 7.132 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/16.05, allocations: 0.8753 MB / 7.133 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/16.06, allocations: 1.796 MB / 7.134 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/16.06, allocations: 331.8 kB / 7.135 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/16.06, allocations: 105.4 kB / 7.135 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3001/16.36, allocations: 12.94 MB / 7.147 GB, free: 61.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005835/16.36, allocations: 233 kB / 7.148 GB, free: 61.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 4.092e-06/16.36, allocations: 0 / 7.148 GB, free: 61.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.002821/16.36, allocations: 0.7115 MB / 7.148 GB, free: 61.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/16.36, allocations: 269.2 kB / 7.149 GB, free: 61.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/16.36, allocations: 184.3 kB / 7.149 GB, free: 61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/16.36, allocations: 31.7 kB / 7.149 GB, free: 60.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/16.36, allocations: 270.3 kB / 7.149 GB, free: 60.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/16.36, allocations: 122.3 kB / 7.149 GB, free: 60.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/16.36, allocations: 11.47 kB / 7.149 GB, free: 60.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.966e-05/16.36, allocations: 335.4 kB / 7.149 GB, free: 60.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/16.36, allocations: 86.41 kB / 7.15 GB, free: 60.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/16.36, allocations: 348 kB / 7.15 GB, free: 60.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/16.36, allocations: 152.3 kB / 7.15 GB, free: 60.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.859e-06/16.36, allocations: 2.953 kB / 7.15 GB, free: 60.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001629/16.36, allocations: 462.6 kB / 7.15 GB, free: 60 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/16.36, allocations: 8.094 kB / 7.15 GB, free: 60 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/16.36, allocations: 13.66 kB / 7.15 GB, free: 60 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/16.36, allocations: 15.56 kB / 7.151 GB, free: 60 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009661/16.36, allocations: 181 kB / 7.151 GB, free: 60 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005203/16.36, allocations: 1.187 MB / 7.152 GB, free: 58.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/16.37, allocations: 28.55 kB / 7.152 GB, free: 58.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/16.37, allocations: 44.95 kB / 7.152 GB, free: 58.83 MB / 490.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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.0001463/16.37, allocations: 147.8 kB / 7.152 GB, free: 58.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/16.37, allocations: 36.42 kB / 7.152 GB, free: 58.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/16.37, allocations: 0.5039 MB / 7.153 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/16.37, allocations: 6.875 kB / 7.153 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/16.37, allocations: 0 / 7.153 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/16.37, allocations: 2.234 kB / 7.153 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/16.37, allocations: 0.5635 MB / 7.153 GB, free: 58.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.859e-06/16.37, allocations: 1.969 kB / 7.153 GB, free: 58.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/16.37, allocations: 83.88 kB / 7.153 GB, free: 58.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.694e-06/16.37, allocations: 2.266 kB / 7.153 GB, free: 58.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/16.37, allocations: 12.67 kB / 7.153 GB, free: 58.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004164/16.37, allocations: 1.163 MB / 7.154 GB, free: 57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.8e-06/16.37, allocations: 1.094 kB / 7.154 GB, free: 57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/16.37, allocations: 321.8 kB / 7.155 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/16.37, allocations: 143.8 kB / 7.155 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/16.37, allocations: 12 kB / 7.155 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/16.37, allocations: 15.53 kB / 7.155 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/16.37, allocations: 11.34 kB / 7.155 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/16.37, allocations: 13.81 kB / 7.155 GB, free: 56.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002169/16.37, allocations: 173.1 kB / 7.155 GB, free: 56.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.76e-07/16.37, allocations: 0 / 7.155 GB, free: 56.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00802/16.38, allocations: 1.935 MB / 7.157 GB, free: 56.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.01448/16.39, allocations: 2.745 MB / 7.16 GB, free: 56.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/16.4, allocations: 291.9 kB / 7.16 GB, free: 56.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.206e-06/16.4, allocations: 0.9688 kB / 7.16 GB, free: 56.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005723/16.4, allocations: 104.2 kB / 7.16 GB, free: 56.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/16.4, allocations: 43.91 kB / 7.16 GB, free: 56.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9106/17.31, allocations: 270.6 MB / 7.424 GB, free: 61.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/17.31, allocations: 0.757 MB / 7.425 GB, free: 61.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/17.31, allocations: 59.62 kB / 7.425 GB, free: 61.13 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/17.31, allocations: 0 / 7.425 GB, free: 61.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.07781/17.39, allocations: 46.98 MB / 7.471 GB, free: 50.83 MB / 0.4948 GB