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 1.761/1.761, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.705e-05/2.714e-05, allocations: 6.031 kB / 255.4 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07653/0.07658, allocations: 44.49 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.185, allocations: 433.8 MB / 0.7165 GB, free: 106.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.186, allocations: 89.16 kB / 0.7165 GB, free: 106.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6982/1.884, allocations: 143 MB / 0.8562 GB, free: 99.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.951e-06/1.884, allocations: 6.25 kB / 0.8562 GB, free: 99.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.215e-05/1.884, allocations: 7.578 kB / 0.8562 GB, free: 99.9 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008942/1.885, allocations: 0.586 MB / 0.8568 GB, free: 99.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/1.885, allocations: 11.31 kB / 0.8568 GB, free: 99.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/1.885, allocations: 46.66 kB / 0.8569 GB, free: 99.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/1.886, allocations: 280.3 kB / 0.8571 GB, free: 99.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/1.886, allocations: 17.69 kB / 0.8572 GB, free: 99.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/1.886, allocations: 24.28 kB / 0.8572 GB, free: 99.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/1.886, allocations: 313.9 kB / 0.8575 GB, free: 99.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/1.886, allocations: 3.844 kB / 0.8575 GB, free: 99.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/1.887, allocations: 17.19 kB / 0.8575 GB, free: 99.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.98e-06/1.887, allocations: 7.312 kB / 0.8575 GB, free: 99.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/1.887, allocations: 192.4 kB / 0.8577 GB, free: 99.24 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001717/1.889, allocations: 1.583 MB / 0.8592 GB, free: 98.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/1.889, allocations: 163.5 kB / 0.8594 GB, free: 98.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/1.889, allocations: 98.53 kB / 0.8595 GB, free: 98.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/1.889, allocations: 6.047 kB / 0.8595 GB, free: 98.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/1.889, allocations: 38.69 kB / 0.8595 GB, free: 97.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.204e-06/1.889, allocations: 0 / 0.8595 GB, free: 97.99 MB / 410.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.006087/1.895, allocations: 1.247 MB / 0.8607 GB, free: 97.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/1.895, allocations: 61.23 kB / 0.8608 GB, free: 97.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/1.896, allocations: 222.4 kB / 0.861 GB, free: 97.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/1.896, allocations: 29.58 kB / 0.861 GB, free: 97.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.67e-05/1.896, allocations: 238.2 kB / 0.8613 GB, free: 97.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/1.896, allocations: 93.44 kB / 0.8614 GB, free: 97.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/1.896, allocations: 9.781 kB / 0.8614 GB, free: 97.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/1.896, allocations: 327.5 kB / 0.8617 GB, free: 96.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/1.896, allocations: 80.22 kB / 0.8618 GB, free: 96.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/1.897, allocations: 181.4 kB / 0.8619 GB, free: 96.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/1.897, allocations: 115.4 kB / 0.862 GB, free: 96.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.573e-06/1.897, allocations: 3.438 kB / 0.862 GB, free: 96.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008567/1.898, allocations: 391.3 kB / 0.8624 GB, free: 96.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/1.898, allocations: 3.906 kB / 0.8624 GB, free: 96.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.501e-06/1.898, allocations: 3.594 kB / 0.8624 GB, free: 96.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000279/1.898, allocations: 70.81 kB / 0.8625 GB, free: 96.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/1.899, allocations: 88.64 kB / 0.8626 GB, free: 96.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/1.9, allocations: 1.852 MB / 0.8644 GB, free: 94.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/1.9, allocations: 20.14 kB / 0.8644 GB, free: 94.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/1.9, allocations: 43.3 kB / 0.8644 GB, free: 94.88 MB / 410.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.0001259/1.9, allocations: 121.3 kB / 0.8646 GB, free: 94.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/1.9, allocations: 33.5 kB / 0.8646 GB, free: 94.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/1.902, allocations: 439.1 kB / 0.865 GB, free: 94.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.035e-06/1.902, allocations: 2.938 kB / 0.865 GB, free: 94.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.585e-06/1.902, allocations: 3.25 kB / 0.865 GB, free: 94.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005631/1.902, allocations: 0.5494 MB / 0.8656 GB, free: 94.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/1.904, allocations: 0.7247 MB / 0.8663 GB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.006e-06/1.904, allocations: 3.812 kB / 0.8663 GB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/1.904, allocations: 71.59 kB / 0.8663 GB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/1.904, allocations: 18.2 kB / 0.8663 GB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/1.904, allocations: 18.81 kB / 0.8664 GB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007829/1.905, allocations: 1.279 MB / 0.8676 GB, free: 92.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.376e-06/1.905, allocations: 10.3 kB / 0.8676 GB, free: 92.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008082/1.906, allocations: 500 kB / 0.8681 GB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.871e-05/1.906, allocations: 98.58 kB / 0.8682 GB, free: 92.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/1.906, allocations: 6.812 kB / 0.8682 GB, free: 92.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/1.907, allocations: 24.39 kB / 0.8682 GB, free: 92.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/1.907, allocations: 24.36 kB / 0.8682 GB, free: 92.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/1.907, allocations: 29.08 kB / 0.8683 GB, free: 92.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002288/1.907, allocations: 184.8 kB / 0.8685 GB, free: 92.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.05e-07/1.907, allocations: 2.156 kB / 0.8685 GB, free: 92.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009311/1.908, allocations: 187 kB / 0.8686 GB, free: 92.23 MB / 410.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.001162/1.909, allocations: 0.7781 MB / 0.8694 GB, free: 92.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00073/1.91, allocations: 368.5 kB / 0.8697 GB, free: 91.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.68e-06/1.91, allocations: 2.75 kB / 0.8697 GB, free: 91.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/1.91, allocations: 229.9 kB / 0.87 GB, free: 91.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/1.911, allocations: 160.8 kB / 0.8701 GB, free: 91.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.912, allocations: 0.5207 MB / 0.8706 GB, free: 91.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/1.912, allocations: 0.7652 MB / 0.8714 GB, free: 90.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/1.913, allocations: 77.72 kB / 0.8715 GB, free: 90.94 MB / 410.7 MB Notification: Performance of SimCode: time 2.097e-06/1.913, allocations: 0 / 0.8715 GB, free: 90.94 MB / 410.7 MB Notification: Performance of Templates: time 0.01716/1.93, allocations: 11.56 MB / 0.8827 GB, free: 90.55 MB / 410.7 MB