Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(Modelica): time 2.17/2.17, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.291e-05/4.295e-05, allocations: 7.906 kB / 258.8 MB, free: 8.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3378, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.6353/0.9731, allocations: 132.6 MB / 435.9 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004752/0.9779, allocations: 1.813 MB / 437.7 MB, free: 1.656 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000576/0.9786, allocations: 9 kB / 437.7 MB, free: 1.656 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007752/0.9794, allocations: 140.1 kB / 437.8 MB, free: 1.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.9807, allocations: 240.5 kB / 438.1 MB, free: 1.648 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.9823, allocations: 265.9 kB / 438.3 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.9836, allocations: 361.2 kB / 438.7 MB, free: 1.629 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.9839, allocations: 41.22 kB / 438.7 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.9857, allocations: 402.5 kB / 439.1 MB, free: 1.621 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.9862, allocations: 165.8 kB / 439.3 MB, free: 1.617 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006029/0.9868, allocations: 104.5 kB / 439.4 MB, free: 1.613 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.987, allocations: 20.44 kB / 439.4 MB, free: 1.609 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.9871, allocations: 71.48 kB / 439.5 MB, free: 1.609 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.9874, allocations: 40.03 kB / 439.5 MB, free: 1.609 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008217/0.9882, allocations: 410.9 kB / 439.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.9882, allocations: 0 / 439.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.9882, allocations: 0 / 439.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.9883, allocations: 0 / 439.9 MB, free: 1.586 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001319/0.9896, allocations: 0.4941 MB / 440.4 MB, free: 17.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.9897, allocations: 8.906 kB / 440.4 MB, free: 17.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/0.9903, allocations: 43.91 kB / 440.4 MB, free: 17.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006366/0.9909, allocations: 272.8 kB / 440.7 MB, free: 16.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.991, allocations: 19.59 kB / 440.7 MB, free: 16.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.921e-05/0.9911, allocations: 23.31 kB / 440.7 MB, free: 16.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009568/0.992, allocations: 321.1 kB / 441.1 MB, free: 16.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.9921, allocations: 0 / 441.1 MB, free: 16.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.908e-05/0.9922, allocations: 11.28 kB / 441.1 MB, free: 16.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.9922, allocations: 12.3 kB / 441.1 MB, free: 16.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.9929, allocations: 202 kB / 441.3 MB, free: 16.83 MB / 378.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.003385/0.9963, allocations: 1.57 MB / 442.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.9969, allocations: 180.1 kB / 443 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.997, allocations: 8.984 kB / 443 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.9971, allocations: 39.69 kB / 443.1 MB, free: 15.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 4.268e-06/0.9971, allocations: 0 / 443.1 MB, free: 15.57 MB / 378.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.01183/1.009, allocations: 1.619 MB / 444.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/1.009, allocations: 60.28 kB / 444.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/1.01, allocations: 226.9 kB / 445 MB, free: 14.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/1.01, allocations: 37.64 kB / 445 MB, free: 14.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/1.01, allocations: 236.9 kB / 445.2 MB, free: 14.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/1.01, allocations: 91.22 kB / 445.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/1.01, allocations: 6.625 kB / 445.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/1.01, allocations: 325.3 kB / 445.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/1.011, allocations: 82.78 kB / 445.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/1.011, allocations: 188.7 kB / 445.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/1.012, allocations: 114.3 kB / 446 MB, free: 13.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.012, allocations: 2.938 kB / 446 MB, free: 13.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001326/1.013, allocations: 378.6 kB / 446.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/1.013, allocations: 12.12 kB / 446.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.013, allocations: 2.938 kB / 446.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004174/1.013, allocations: 76.16 kB / 446.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007773/1.014, allocations: 88.92 kB / 446.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/1.017, allocations: 1.86 MB / 448.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006331/1.017, allocations: 18.38 kB / 448.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.017, allocations: 39.14 kB / 448.5 MB, free: 12.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003491/1.018, allocations: 164.7 kB / 448.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.018, allocations: 25.03 kB / 448.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/1.02, allocations: 438.5 kB / 449.1 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.02, allocations: 3.094 kB / 449.1 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.02, allocations: 4 kB / 449.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/1.021, allocations: 0.5578 MB / 449.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/1.023, allocations: 0.7167 MB / 450.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.023, allocations: 0 / 450.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/1.024, allocations: 75.39 kB / 450.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/1.024, allocations: 26.23 kB / 450.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/1.024, allocations: 12.38 kB / 450.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/1.026, allocations: 1.291 MB / 451.8 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.026, allocations: 0 / 451.8 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/1.027, allocations: 0.5072 MB / 452.3 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/1.027, allocations: 103.5 kB / 452.4 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/1.028, allocations: 6.031 kB / 452.4 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/1.028, allocations: 12.5 kB / 452.4 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/1.028, allocations: 29.98 kB / 452.5 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.322e-05/1.028, allocations: 30.3 kB / 452.5 MB, free: 9.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003947/1.029, allocations: 191.7 kB / 452.7 MB, free: 9.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.029, allocations: 0 / 452.7 MB, free: 9.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001265/1.03, allocations: 129.2 kB / 452.8 MB, free: 9.355 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007452/1.031, allocations: 147.7 kB / 452.9 MB, free: 9.258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/1.032, allocations: 377.2 kB / 453.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.032, allocations: 3.094 kB / 453.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000584/1.033, allocations: 235.7 kB / 453.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.035, allocations: 156.9 kB / 453.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/1.038, allocations: 0.8525 MB / 454.5 MB, free: 8.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/1.038, allocations: 0.7754 MB / 455.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/1.038, allocations: 76.47 kB / 455.4 MB, free: 7.797 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/1.039, allocations: 0 / 455.4 MB, free: 7.797 MB / 378.7 MB Notification: Performance of Templates: time 0.01588/1.054, allocations: 7.474 MB / 462.9 MB, free: 6.266 MB / 378.7 MB