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.759/1.759, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.818e-05, allocations: 2.719 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07547/0.07552, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.205, allocations: 433.8 MB / 0.7165 GB, free: 134.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.205, allocations: 85.69 kB / 0.7166 GB, free: 134.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6198/1.825, allocations: 143 MB / 0.8563 GB, free: 93.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.774e-06/1.825, allocations: 1.094 kB / 0.8563 GB, free: 93.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.246e-05/1.825, allocations: 5.688 kB / 0.8563 GB, free: 93.3 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.001036/1.826, allocations: 0.5916 MB / 0.8569 GB, free: 92.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.826, allocations: 13.12 kB / 0.8569 GB, free: 92.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/1.827, allocations: 43.67 kB / 0.8569 GB, free: 92.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/1.827, allocations: 275.5 kB / 0.8572 GB, free: 92.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/1.827, allocations: 21.06 kB / 0.8572 GB, free: 92.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/1.827, allocations: 23.56 kB / 0.8572 GB, free: 92.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/1.828, allocations: 305.2 kB / 0.8575 GB, free: 92.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/1.828, allocations: 1.562 kB / 0.8575 GB, free: 92.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/1.828, allocations: 17.52 kB / 0.8575 GB, free: 92.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/1.828, allocations: 7.156 kB / 0.8575 GB, free: 92.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/1.828, allocations: 198.9 kB / 0.8577 GB, free: 92.64 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.001908/1.83, allocations: 1.583 MB / 0.8593 GB, free: 91.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/1.831, allocations: 160.6 kB / 0.8594 GB, free: 91.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/1.831, allocations: 88.3 kB / 0.8595 GB, free: 91.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/1.831, allocations: 7.672 kB / 0.8595 GB, free: 91.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/1.831, allocations: 34.94 kB / 0.8595 GB, free: 91.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.06e-06/1.831, allocations: 2.734 kB / 0.8595 GB, free: 91.39 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.005619/1.837, allocations: 1.242 MB / 0.8608 GB, free: 90.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/1.837, allocations: 63.91 kB / 0.8608 GB, free: 90.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/1.837, allocations: 223.9 kB / 0.861 GB, free: 90.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/1.837, allocations: 30.2 kB / 0.8611 GB, free: 90.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/1.837, allocations: 240.2 kB / 0.8613 GB, free: 90.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.722e-05/1.837, allocations: 93.8 kB / 0.8614 GB, free: 90.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/1.837, allocations: 3.781 kB / 0.8614 GB, free: 90.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/1.837, allocations: 324 kB / 0.8617 GB, free: 90.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/1.838, allocations: 90.44 kB / 0.8618 GB, free: 90.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/1.838, allocations: 178.8 kB / 0.8619 GB, free: 90.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/1.838, allocations: 114.2 kB / 0.8621 GB, free: 90.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.404e-06/1.838, allocations: 0 / 0.8621 GB, free: 90.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008379/1.839, allocations: 362.7 kB / 0.8624 GB, free: 90.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.839, allocations: 7.062 kB / 0.8624 GB, free: 90.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.942e-06/1.839, allocations: 5.375 kB / 0.8624 GB, free: 90.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/1.839, allocations: 70.5 kB / 0.8625 GB, free: 90.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/1.84, allocations: 84.59 kB / 0.8626 GB, free: 90.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/1.841, allocations: 1.857 MB / 0.8644 GB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/1.841, allocations: 22.56 kB / 0.8644 GB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-05/1.842, allocations: 36.47 kB / 0.8644 GB, free: 88.28 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.0001336/1.842, allocations: 121.5 kB / 0.8645 GB, free: 88.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/1.842, allocations: 33.97 kB / 0.8646 GB, free: 88.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/1.843, allocations: 433.6 kB / 0.865 GB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.056e-06/1.843, allocations: 4.125 kB / 0.865 GB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.773e-06/1.843, allocations: 3.797 kB / 0.865 GB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005585/1.844, allocations: 0.5584 MB / 0.8655 GB, free: 87.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/1.845, allocations: 0.7173 MB / 0.8662 GB, free: 87.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.136e-06/1.845, allocations: 0 / 0.8662 GB, free: 87.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/1.845, allocations: 74.17 kB / 0.8663 GB, free: 87.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/1.846, allocations: 26.3 kB / 0.8663 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/1.846, allocations: 9.844 kB / 0.8664 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008032/1.846, allocations: 1.284 MB / 0.8676 GB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.189e-06/1.846, allocations: 0 / 0.8676 GB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/1.847, allocations: 500 kB / 0.8681 GB, free: 85.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/1.847, allocations: 107.4 kB / 0.8682 GB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/1.848, allocations: 6.688 kB / 0.8682 GB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/1.848, allocations: 15.5 kB / 0.8682 GB, free: 85.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/1.848, allocations: 27.81 kB / 0.8682 GB, free: 85.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/1.848, allocations: 31.48 kB / 0.8683 GB, free: 85.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002217/1.848, allocations: 191.3 kB / 0.8684 GB, free: 85.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.67e-06/1.848, allocations: 0 / 0.8684 GB, free: 85.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009235/1.849, allocations: 184.4 kB / 0.8686 GB, free: 85.64 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.001219/1.85, allocations: 0.7892 MB / 0.8694 GB, free: 85.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008006/1.851, allocations: 351.8 kB / 0.8697 GB, free: 85.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.851, allocations: 0 / 0.8697 GB, free: 85.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/1.852, allocations: 227.3 kB / 0.8699 GB, free: 85.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/1.853, allocations: 147 kB / 0.8701 GB, free: 85.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/1.854, allocations: 0.5201 MB / 0.8706 GB, free: 85.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/1.854, allocations: 0.7717 MB / 0.8713 GB, free: 84.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/1.855, allocations: 81.42 kB / 0.8714 GB, free: 84.37 MB / 410.7 MB Notification: Performance of SimCode: time 2.609e-06/1.855, allocations: 0 / 0.8714 GB, free: 84.37 MB / 410.7 MB Notification: Performance of Templates: time 0.01749/1.872, allocations: 11.6 MB / 0.8828 GB, free: 84.03 MB / 410.7 MB