Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(ModelicaTest): time 1.983/1.983, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.896e-05/3.908e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3601, allocations: 48.7 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2649/0.6251, allocations: 137.1 MB / 461.9 MB, free: 6.176 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01704/0.6422, allocations: 8.258 MB / 470.2 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009758/0.6432, allocations: 31.75 kB / 470.2 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009716/0.6442, allocations: 254.6 kB / 470.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004119/0.6483, allocations: 1.036 MB / 471.5 MB, free: 12.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.6517, allocations: 0.8222 MB / 472.3 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.6536, allocations: 0.8448 MB / 473.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006424/0.6543, allocations: 319.4 kB / 473.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.6563, allocations: 0.6742 MB / 474.2 MB, free: 9.918 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009642/0.6573, allocations: 426.9 kB / 474.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.6596, allocations: 0.6165 MB / 475.2 MB, free: 8.883 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.6598, allocations: 60 kB / 475.2 MB, free: 8.824 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.6602, allocations: 203.5 kB / 475.4 MB, free: 8.625 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.6605, allocations: 80 kB / 475.5 MB, free: 8.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.6624, allocations: 0.9905 MB / 476.5 MB, free: 7.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6624, allocations: 4 kB / 476.5 MB, free: 7.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6625, allocations: 0 / 476.5 MB, free: 7.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.6625, allocations: 0 / 476.5 MB, free: 7.555 MB / 410.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.002689/0.6652, allocations: 0.9123 MB / 477.4 MB, free: 6.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.6652, allocations: 12.03 kB / 477.4 MB, free: 6.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.6664, allocations: 143 kB / 477.6 MB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.6676, allocations: 496.6 kB / 478.1 MB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.6677, allocations: 96.41 kB / 478.2 MB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.6679, allocations: 59.98 kB / 478.2 MB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.6699, allocations: 0.8018 MB / 479 MB, free: 4.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.67, allocations: 7.938 kB / 479 MB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.6701, allocations: 24 kB / 479 MB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.393e-05/0.6702, allocations: 44.94 kB / 479.1 MB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.6721, allocations: 0.6204 MB / 479.7 MB, free: 4.176 MB / 410.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.2682/0.9402, allocations: 3.921 MB / 483.6 MB, free: 142.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.9414, allocations: 346 kB / 484 MB, free: 142.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.9416, allocations: 27.97 kB / 484 MB, free: 142.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.9416, allocations: 40.52 kB / 484 MB, free: 142.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.666e-06/0.9416, allocations: 0 / 484 MB, free: 142.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.008811/0.9505, allocations: 1.641 MB / 485.7 MB, free: 141.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.9506, allocations: 132.9 kB / 485.8 MB, free: 141.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009761/0.9516, allocations: 0.5253 MB / 486.3 MB, free: 141.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.9516, allocations: 32.11 kB / 486.4 MB, free: 141.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.9519, allocations: 413.3 kB / 486.8 MB, free: 140.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.9521, allocations: 148.7 kB / 486.9 MB, free: 140.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.9522, allocations: 10.41 kB / 486.9 MB, free: 140.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.9523, allocations: 345.3 kB / 487.3 MB, free: 140.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/0.9528, allocations: 201.4 kB / 487.5 MB, free: 140.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.9536, allocations: 0.5307 MB / 488 MB, free: 139.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007754/0.9544, allocations: 301.1 kB / 488.3 MB, free: 139.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.9545, allocations: 3.406 kB / 488.3 MB, free: 139.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002256/0.9567, allocations: 0.8538 MB / 489.1 MB, free: 139.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.9568, allocations: 9.281 kB / 489.2 MB, free: 139.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.9568, allocations: 12.36 kB / 489.2 MB, free: 139.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/0.959, allocations: 306.6 kB / 489.5 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/0.9597, allocations: 130.6 kB / 489.6 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.9612, allocations: 0.9079 MB / 490.5 MB, free: 138.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009777/0.9622, allocations: 51.17 kB / 490.5 MB, free: 138.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.9624, allocations: 70.05 kB / 490.6 MB, free: 138.8 MB / 410.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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005848/0.963, allocations: 243.8 kB / 490.9 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.9632, allocations: 66.22 kB / 490.9 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.9656, allocations: 0.6769 MB / 491.6 MB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.9656, allocations: 3.656 kB / 491.6 MB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.9656, allocations: 6.031 kB / 491.6 MB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.9657, allocations: 2.172 kB / 491.6 MB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.9686, allocations: 1.262 MB / 492.9 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.9686, allocations: 1.344 kB / 492.9 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/0.9706, allocations: 206.4 kB / 493.1 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/0.9708, allocations: 34.8 kB / 493.1 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/0.9709, allocations: 26.09 kB / 493.1 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.973, allocations: 2.68 MB / 495.8 MB, free: 134.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.9731, allocations: 6.906 kB / 495.8 MB, free: 134.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.9751, allocations: 0.8518 MB / 496.7 MB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.9756, allocations: 187.5 kB / 496.9 MB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.9757, allocations: 11.92 kB / 496.9 MB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.9765, allocations: 26.77 kB / 496.9 MB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.9766, allocations: 44.47 kB / 496.9 MB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.9767, allocations: 41.98 kB / 497 MB, free: 134.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007654/0.9775, allocations: 416.3 kB / 497.4 MB, free: 133.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.9775, allocations: 0 / 497.4 MB, free: 133.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001515/0.979, allocations: 293.1 kB / 497.7 MB, free: 133.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * 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: 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.001286/0.9803, allocations: 369.4 kB / 498 MB, free: 133.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.9822, allocations: 0.5485 MB / 498.6 MB, free: 133.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.9822, allocations: 1.375 kB / 498.6 MB, free: 133.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.9838, allocations: 405.3 kB / 499 MB, free: 133.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.9864, allocations: 311.5 kB / 499.3 MB, free: 133.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.9897, allocations: 1.586 MB / 0.4891 GB, free: 132.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.9904, allocations: 0.9401 MB / 0.49 GB, free: 131.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007005/0.9911, allocations: 111.3 kB / 0.4902 GB, free: 131.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.9911, allocations: 1.156 kB / 0.4902 GB, free: 131.6 MB / 410.7 MB Notification: Performance of Templates: time 0.03603/1.027, allocations: 16.61 MB / 0.5064 GB, free: 121.4 MB / 410.7 MB