Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadModel(ModelicaTest): time 2.464/2.464, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.143e-05/6.14e-05, allocations: 4.047 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4162, allocations: 54.86 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.22/0.6364, allocations: 121.9 MB / 484.8 MB, free: 3.613 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.6465, allocations: 5.283 MB / 490.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.6468, allocations: 4 kB / 490.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.6471, allocations: 31.8 kB / 490.1 MB, free: 14.29 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004328/0.6514, allocations: 1.09 MB / 491.2 MB, free: 13.19 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.652, allocations: 127.8 kB / 491.3 MB, free: 13.07 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006327/0.6527, allocations: 197.4 kB / 491.5 MB, free: 12.88 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.6527, allocations: 0 / 491.5 MB, free: 12.88 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.6532, allocations: 163.6 kB / 491.7 MB, free: 12.71 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.6537, allocations: 147.6 kB / 491.8 MB, free: 12.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00439/0.6581, allocations: 1.178 MB / 493 MB, free: 11.39 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.6585, allocations: 52 kB / 493 MB, free: 11.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.6587, allocations: 51.81 kB / 493.1 MB, free: 11.29 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.6588, allocations: 28 kB / 493.1 MB, free: 11.26 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.6609, allocations: 0.6373 MB / 493.8 MB, free: 10.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.661, allocations: 3.938 kB / 493.8 MB, free: 10.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.661, allocations: 0 / 493.8 MB, free: 10.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.661, allocations: 0 / 493.8 MB, free: 10.62 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00196/0.663, allocations: 0.6631 MB / 494.4 MB, free: 9.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.663, allocations: 8.031 kB / 494.4 MB, free: 9.902 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.6761, allocations: 0.5848 MB / 495 MB, free: 9.316 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.6768, allocations: 258.7 kB / 495.3 MB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.677, allocations: 123.4 kB / 495.4 MB, free: 8.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.6772, allocations: 24 kB / 495.4 MB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.6792, allocations: 0.5633 MB / 496 MB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.6792, allocations: 0 / 496 MB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.6793, allocations: 12 kB / 496 MB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/0.6794, allocations: 8 kB / 496 MB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.6819, allocations: 0.6299 MB / 496.6 MB, free: 7.609 MB / 426.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.002978/0.6849, allocations: 1.618 MB / 498.2 MB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.6854, allocations: 166.5 kB / 498.4 MB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001697/0.6872, allocations: 1.21 MB / 499.6 MB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.6872, allocations: 35.08 kB / 499.6 MB, free: 4.227 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/0.6872, allocations: 0 / 499.6 MB, free: 4.227 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.001516/0.6888, allocations: 345 kB / 500 MB, free: 3.887 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.6888, allocations: 55.41 kB / 0.4883 GB, free: 3.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.6891, allocations: 165.3 kB / 0.4885 GB, free: 3.652 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.6891, allocations: 29.7 kB / 0.4885 GB, free: 3.617 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.6893, allocations: 245.8 kB / 0.4887 GB, free: 3.375 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.6894, allocations: 74.94 kB / 0.4888 GB, free: 3.301 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.6895, allocations: 8 kB / 0.4888 GB, free: 3.293 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6896, allocations: 326.8 kB / 0.4891 GB, free: 2.965 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.6899, allocations: 68.7 kB / 0.4892 GB, free: 2.898 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.6903, allocations: 252 kB / 0.4894 GB, free: 2.559 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.6906, allocations: 110.8 kB / 0.4895 GB, free: 2.453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.6907, allocations: 4 kB / 0.4895 GB, free: 2.449 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009662/0.6916, allocations: 365.2 kB / 0.4899 GB, free: 2.086 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.6917, allocations: 8 kB / 0.4899 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.6917, allocations: 8 kB / 0.4899 GB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.6917, allocations: 12 kB / 0.4899 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000722/0.6925, allocations: 123.8 kB / 0.49 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005224/0.693, allocations: 0.602 MB / 0.4906 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/0.6934, allocations: 43.59 kB / 0.4907 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.6935, allocations: 47.92 kB / 0.4907 GB, free: 1.223 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002099/0.6938, allocations: 141.6 kB / 0.4908 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.6939, allocations: 19.81 kB / 0.4909 GB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.6952, allocations: 327.8 kB / 0.4912 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6952, allocations: 3.938 kB / 0.4912 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6953, allocations: 0 / 0.4912 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6953, allocations: 0 / 0.4912 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.6963, allocations: 0.5296 MB / 0.4917 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6964, allocations: 0 / 0.4917 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.6968, allocations: 63.84 kB / 0.4918 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.6968, allocations: 4 kB / 0.4918 GB, free: 40 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.6968, allocations: 11.98 kB / 0.4918 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3336/1.03, allocations: 0.5887 MB / 0.4923 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.03, allocations: 4.969 kB / 0.4924 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008128/1.031, allocations: 338.6 kB / 0.4927 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/1.032, allocations: 107.6 kB / 0.4928 GB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/1.032, allocations: 4.891 kB / 0.4928 GB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/1.032, allocations: 18.77 kB / 0.4928 GB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/1.032, allocations: 19.83 kB / 0.4928 GB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/1.032, allocations: 17.52 kB / 0.4928 GB, free: 134.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000226/1.033, allocations: 133.9 kB / 0.493 GB, free: 134.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.033, allocations: 0 / 0.493 GB, free: 134.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001703/1.034, allocations: 204.2 kB / 0.4932 GB, free: 134.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001699/1.036, allocations: 349.1 kB / 0.4935 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/1.037, allocations: 214.8 kB / 0.4937 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.037, allocations: 5 kB / 0.4937 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004689/1.038, allocations: 80.7 kB / 0.4938 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008936/1.039, allocations: 49.28 kB / 0.4938 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/1.041, allocations: 0.5632 MB / 0.4944 GB, free: 134.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/1.041, allocations: 0.7295 MB / 0.4951 GB, free: 133.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/1.041, allocations: 57.47 kB / 0.4951 GB, free: 133.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.041, allocations: 0 / 0.4951 GB, free: 133.5 MB / 426.7 MB Notification: Performance of Templates: time 0.01794/1.059, allocations: 5.945 MB / 0.5009 GB, free: 131.1 MB / 426.7 MB