Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,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.Nitrogen") Notification: Performance of loadModel(ModelicaTest): time 1.956/1.956, allocations: 209.3 MB / 224.4 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.505e-05, allocations: 4 kB / 276.2 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3676, allocations: 48.68 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2314/0.5991, allocations: 137 MB / 461.9 MB, free: 6.238 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.6146, allocations: 7.234 MB / 469.1 MB, free: 14.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.6158, allocations: 31.75 kB / 469.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.6169, allocations: 258.6 kB / 469.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004653/0.6216, allocations: 1.102 MB / 470.5 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.6255, allocations: 0.8922 MB / 471.4 MB, free: 12.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00235/0.6279, allocations: 0.845 MB / 472.2 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008117/0.6287, allocations: 325.2 kB / 472.5 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.6311, allocations: 0.6702 MB / 473.2 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.6328, allocations: 0.518 MB / 473.7 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.6354, allocations: 0.6165 MB / 474.4 MB, free: 9.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000467/0.6359, allocations: 56 kB / 474.4 MB, free: 9.676 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000412/0.6363, allocations: 211.4 kB / 474.6 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.6367, allocations: 80 kB / 474.7 MB, free: 9.391 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.6391, allocations: 0.9771 MB / 475.7 MB, free: 8.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6392, allocations: 0 / 475.7 MB, free: 8.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6392, allocations: 4 kB / 475.7 MB, free: 8.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.6392, allocations: 4 kB / 475.7 MB, free: 8.406 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.002921/0.6422, allocations: 0.9123 MB / 476.6 MB, free: 7.445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.6422, allocations: 8.031 kB / 476.6 MB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.6435, allocations: 142.9 kB / 476.7 MB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.645, allocations: 0.4888 MB / 477.2 MB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.6452, allocations: 104.4 kB / 477.3 MB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.6453, allocations: 44 kB / 477.4 MB, free: 6.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.6474, allocations: 0.8058 MB / 478.2 MB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.6475, allocations: 7.875 kB / 478.2 MB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.6476, allocations: 27.98 kB / 478.2 MB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.6477, allocations: 44.94 kB / 478.3 MB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.6496, allocations: 0.6244 MB / 478.9 MB, free: 5.02 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.007319/0.6569, allocations: 3.934 MB / 482.8 MB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/0.658, allocations: 347.4 kB / 483.2 MB, free: 496 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.6581, allocations: 24.92 kB / 483.2 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.6582, allocations: 38.84 kB / 483.2 MB, free: 424 kB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.186e-06/0.6582, allocations: 0 / 483.2 MB, free: 424 kB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.3386/0.9968, allocations: 1.638 MB / 484.9 MB, free: 142.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.9969, allocations: 136.4 kB / 485 MB, free: 142.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.9986, allocations: 0.5257 MB / 485.5 MB, free: 141.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.9988, allocations: 33.55 kB / 485.5 MB, free: 141.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.9993, allocations: 410.9 kB / 485.9 MB, free: 141.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.9996, allocations: 142.2 kB / 486.1 MB, free: 141.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/0.9998, allocations: 15.97 kB / 486.1 MB, free: 141.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.9999, allocations: 343.7 kB / 486.4 MB, free: 141.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/1.001, allocations: 201.6 kB / 486.6 MB, free: 141 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/1.002, allocations: 0.5285 MB / 487.2 MB, free: 140.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/1.004, allocations: 305.3 kB / 487.5 MB, free: 140.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-05/1.004, allocations: 2.812 kB / 487.5 MB, free: 140.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.007118/1.011, allocations: 0.8563 MB / 488.3 MB, free: 140.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/1.011, allocations: 9.234 kB / 488.3 MB, free: 140.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/1.011, allocations: 11.44 kB / 488.3 MB, free: 140.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/1.015, allocations: 310.8 kB / 488.6 MB, free: 140 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/1.016, allocations: 130.7 kB / 488.8 MB, free: 140 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/1.019, allocations: 0.8988 MB / 489.7 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.02, allocations: 51.52 kB / 489.7 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/1.021, allocations: 67.17 kB / 489.8 MB, free: 139.4 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.0008026/1.022, allocations: 245.8 kB / 490 MB, free: 139.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/1.022, allocations: 70.23 kB / 490.1 MB, free: 139.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/1.026, allocations: 0.677 MB / 490.8 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/1.026, allocations: 3.75 kB / 490.8 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.026, allocations: 1.094 kB / 490.8 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/1.026, allocations: 2.25 kB / 490.8 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004595/1.03, allocations: 1.261 MB / 492 MB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.03, allocations: 4.531 kB / 492 MB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/1.034, allocations: 212.5 kB / 492.2 MB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/1.034, allocations: 24.48 kB / 492.3 MB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/1.034, allocations: 19.25 kB / 492.3 MB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/1.037, allocations: 2.693 MB / 495 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.037, allocations: 4.125 kB / 495 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/1.041, allocations: 0.854 MB / 495.8 MB, free: 134.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007972/1.042, allocations: 186.8 kB / 496 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003578/1.042, allocations: 12.66 kB / 496 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.043, allocations: 29.7 kB / 496.1 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/1.043, allocations: 37.05 kB / 496.1 MB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.044, allocations: 42.27 kB / 496.1 MB, free: 134.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00138/1.045, allocations: 417.1 kB / 496.6 MB, free: 134.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.045, allocations: 0 / 496.6 MB, free: 134.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00408/1.049, allocations: 293.5 kB / 496.8 MB, free: 134.5 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.002051/1.051, allocations: 377.9 kB / 497.2 MB, free: 134.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002907/1.054, allocations: 0.5462 MB / 497.8 MB, free: 134.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.054, allocations: 1.25 kB / 497.8 MB, free: 134.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002195/1.056, allocations: 398.5 kB / 498.1 MB, free: 134 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/1.06, allocations: 323.2 kB / 498.5 MB, free: 133.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/1.065, allocations: 1.585 MB / 0.4883 GB, free: 133 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000904/1.066, allocations: 0.939 MB / 0.4892 GB, free: 132.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.067, allocations: 108.5 kB / 0.4893 GB, free: 132.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/1.067, allocations: 4 kB / 0.4893 GB, free: 132.3 MB / 410.7 MB Notification: Performance of Templates: time 0.04841/1.116, allocations: 16.61 MB / 0.5056 GB, free: 122.3 MB / 410.7 MB