Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.565/2.565, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.094e-05, allocations: 3.984 kB / 308 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4008, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2476/0.6485, allocations: 121.1 MB / 483.9 MB, free: 4.453 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.6626, allocations: 4.643 MB / 488.6 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.664, allocations: 23.81 kB / 488.6 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.6659, allocations: 266.5 kB / 488.9 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004165/0.6701, allocations: 0.6386 MB / 489.5 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.674, allocations: 0.7521 MB / 490.3 MB, free: 14.12 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002832/0.6769, allocations: 0.8403 MB / 491.1 MB, free: 13.28 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.6782, allocations: 315.6 kB / 491.4 MB, free: 12.97 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.6807, allocations: 0.5066 MB / 491.9 MB, free: 12.46 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.6827, allocations: 450.9 kB / 492.4 MB, free: 12.02 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.6851, allocations: 431.4 kB / 492.8 MB, free: 11.6 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003483/0.6855, allocations: 36 kB / 492.8 MB, free: 11.56 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005223/0.6861, allocations: 211.4 kB / 493 MB, free: 11.36 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004564/0.6866, allocations: 76 kB / 493.1 MB, free: 11.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.6887, allocations: 0.7967 MB / 493.9 MB, free: 10.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6887, allocations: 3.938 kB / 493.9 MB, free: 10.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6887, allocations: 0 / 493.9 MB, free: 10.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.6888, allocations: 0 / 493.9 MB, free: 10.48 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002443/0.6912, allocations: 0.846 MB / 494.7 MB, free: 9.586 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6913, allocations: 8.031 kB / 494.8 MB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005036/0.6918, allocations: 99.05 kB / 494.8 MB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.693, allocations: 0.4928 MB / 495.3 MB, free: 8.945 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.6932, allocations: 104.4 kB / 495.4 MB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.6934, allocations: 55.94 kB / 495.5 MB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.6954, allocations: 0.7993 MB / 496.3 MB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.6954, allocations: 7.844 kB / 496.3 MB, free: 7.906 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.6956, allocations: 27.98 kB / 496.3 MB, free: 7.879 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.018e-05/0.6957, allocations: 40.98 kB / 496.4 MB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.6975, allocations: 0.6478 MB / 497 MB, free: 7.191 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.007119/0.7046, allocations: 3.963 MB / 0.4892 GB, free: 2.945 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.706, allocations: 408.3 kB / 0.4896 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003138/0.7092, allocations: 1.672 MB / 0.4913 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.7092, allocations: 38.56 kB / 0.4913 GB, free: 0.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.747e-06/0.7093, allocations: 0 / 0.4913 GB, free: 0.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.2968/1.006, allocations: 1.432 MB / 0.4927 GB, free: 135.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/1.006, allocations: 140.9 kB / 0.4928 GB, free: 135.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/1.007, allocations: 0.4969 MB / 0.4933 GB, free: 135.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/1.007, allocations: 32.55 kB / 0.4933 GB, free: 135.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/1.008, allocations: 409.4 kB / 0.4937 GB, free: 135.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/1.008, allocations: 156.2 kB / 0.4939 GB, free: 135 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/1.008, allocations: 18.34 kB / 0.4939 GB, free: 135 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.552e-05/1.008, allocations: 340.6 kB / 0.4942 GB, free: 134.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/1.009, allocations: 209.7 kB / 0.4944 GB, free: 134.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008989/1.01, allocations: 0.539 MB / 0.495 GB, free: 134.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/1.011, allocations: 306.4 kB / 0.4952 GB, free: 134 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/1.011, allocations: 6.688 kB / 0.4953 GB, free: 134 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002348/1.013, allocations: 0.8756 MB / 0.4961 GB, free: 133.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/1.013, allocations: 11.42 kB / 0.4961 GB, free: 133.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.013, allocations: 10.19 kB / 0.4961 GB, free: 133.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/1.015, allocations: 260.4 kB / 0.4964 GB, free: 133.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008149/1.016, allocations: 136.2 kB / 0.4965 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/1.017, allocations: 0.8488 MB / 0.4973 GB, free: 132.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009714/1.018, allocations: 44.88 kB / 0.4974 GB, free: 132.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/1.018, allocations: 38.55 kB / 0.4974 GB, free: 132.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004636/1.019, allocations: 251 kB / 0.4977 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/1.019, allocations: 67.66 kB / 0.4977 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/1.021, allocations: 0.7335 MB / 0.4984 GB, free: 132.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.021, allocations: 4.062 kB / 0.4984 GB, free: 132.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/1.021, allocations: 4.406 kB / 0.4984 GB, free: 132.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.021, allocations: 0 / 0.4984 GB, free: 132.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/1.024, allocations: 1.361 MB / 0.4998 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.024, allocations: 1.625 kB / 0.4998 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/1.026, allocations: 195.7 kB / 0.5 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/1.026, allocations: 24.5 kB / 0.5 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/1.026, allocations: 11.94 kB / 0.5 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/1.028, allocations: 2.688 MB / 0.5026 GB, free: 128.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.028, allocations: 3.969 kB / 0.5026 GB, free: 128.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/1.03, allocations: 1.01 MB / 0.5036 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/1.031, allocations: 207.8 kB / 0.5038 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/1.031, allocations: 23.05 kB / 0.5038 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/1.032, allocations: 22.02 kB / 0.5039 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/1.032, allocations: 37.27 kB / 0.5039 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/1.032, allocations: 27.61 kB / 0.5039 GB, free: 127.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006281/1.032, allocations: 400.2 kB / 0.5043 GB, free: 127.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.032, allocations: 5.844 kB / 0.5043 GB, free: 127.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001167/1.034, allocations: 215.2 kB / 0.5045 GB, free: 127.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006376/1.034, allocations: 239.6 kB / 0.5047 GB, free: 127 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/1.036, allocations: 0.5859 MB / 0.5053 GB, free: 126.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.036, allocations: 0 / 0.5053 GB, free: 126.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.038, allocations: 415 kB / 0.5057 GB, free: 126.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/1.04, allocations: 300.3 kB / 0.506 GB, free: 126 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/1.043, allocations: 1.637 MB / 0.5076 GB, free: 124.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/1.044, allocations: 0.9463 MB / 0.5085 GB, free: 123.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/1.044, allocations: 67.41 kB / 0.5086 GB, free: 123.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/1.044, allocations: 4 kB / 0.5086 GB, free: 123.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02648/1.07, allocations: 14.82 MB / 0.5231 GB, free: 108.5 MB / 426.7 MB