Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/3.013e-05, allocations: 4 kB / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3241, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.416, allocations: 461.2 MB / 0.8236 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/1.416, allocations: 70.09 kB / 0.8237 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.08978/1.506, allocations: 29.78 MB / 0.8528 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.295e-06/1.506, allocations: 0 / 0.8528 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.221e-05/1.506, allocations: 0 / 0.8528 GB, free: 75.41 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003984/1.506, allocations: 384.7 kB / 0.8532 GB, free: 75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/1.506, allocations: 11.97 kB / 0.8532 GB, free: 74.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/1.508, allocations: 182.8 kB / 0.8533 GB, free: 74.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/1.509, allocations: 210.2 kB / 0.8535 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/1.509, allocations: 11.75 kB / 0.8535 GB, free: 74.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/1.509, allocations: 11.95 kB / 0.8536 GB, free: 74.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/1.509, allocations: 202.1 kB / 0.8538 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.509, allocations: 3.984 kB / 0.8538 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/1.509, allocations: 3.812 kB / 0.8538 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.509, allocations: 4 kB / 0.8538 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/1.51, allocations: 151.3 kB / 0.8539 GB, free: 74.32 MB / 0.5105 GB 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.001056/1.511, allocations: 0.5703 MB / 0.8545 GB, free: 73.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/1.511, allocations: 128.9 kB / 0.8546 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/1.511, allocations: 63.22 kB / 0.8546 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/1.511, allocations: 7.688 kB / 0.8547 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/1.511, allocations: 34.56 kB / 0.8547 GB, free: 73.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 3.674e-06/1.511, allocations: 0 / 0.8547 GB, free: 73.56 MB / 0.5105 GB 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005104/1.516, allocations: 1.098 MB / 0.8558 GB, free: 72.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/1.517, allocations: 55.34 kB / 0.8558 GB, free: 72.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/1.517, allocations: 104.8 kB / 0.8559 GB, free: 72.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/1.517, allocations: 25.7 kB / 0.8559 GB, free: 72.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/1.517, allocations: 99.5 kB / 0.856 GB, free: 72.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/1.517, allocations: 73.16 kB / 0.8561 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/1.517, allocations: 3.438 kB / 0.8561 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.387e-05/1.517, allocations: 314.4 kB / 0.8564 GB, free: 71.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/1.517, allocations: 68.3 kB / 0.8565 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/1.517, allocations: 95.69 kB / 0.8566 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/1.517, allocations: 81.03 kB / 0.8566 GB, free: 71.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-06/1.517, allocations: 0 / 0.8566 GB, free: 71.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005378/1.518, allocations: 245.1 kB / 0.8569 GB, free: 71.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.518, allocations: 7.953 kB / 0.8569 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.132e-06/1.518, allocations: 0 / 0.8569 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/1.518, allocations: 56.7 kB / 0.8569 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/1.519, allocations: 52 kB / 0.857 GB, free: 71.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003826/1.519, allocations: 0.5674 MB / 0.8575 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/1.519, allocations: 7.844 kB / 0.8575 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/1.519, allocations: 23.98 kB / 0.8576 GB, free: 70.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.519, allocations: 123.7 kB / 0.8577 GB, free: 70.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/1.52, allocations: 16 kB / 0.8577 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009686/1.521, allocations: 328.1 kB / 0.858 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/1.521, allocations: 4 kB / 0.858 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.004e-06/1.521, allocations: 0 / 0.858 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.521, allocations: 3.984 kB / 0.858 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/1.522, allocations: 0.6237 MB / 0.8586 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.194e-06/1.522, allocations: 96 / 0.8586 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/1.522, allocations: 59.95 kB / 0.8587 GB, free: 69.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/1.522, allocations: 24.09 kB / 0.8587 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/1.522, allocations: 11.61 kB / 0.8587 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000798/1.523, allocations: 1.273 MB / 0.86 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.523, allocations: 0 / 0.86 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/1.524, allocations: 452.1 kB / 0.8604 GB, free: 67.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/1.524, allocations: 92.97 kB / 0.8605 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/1.524, allocations: 7.938 kB / 0.8605 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/1.524, allocations: 4 kB / 0.8605 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/1.524, allocations: 27.42 kB / 0.8605 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/1.524, allocations: 31.8 kB / 0.8606 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.701e-05/1.524, allocations: 86.53 kB / 0.8606 GB, free: 67.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.01e-07/1.524, allocations: 0 / 0.8606 GB, free: 67.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006485/1.525, allocations: 116.6 kB / 0.8607 GB, free: 67.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.0008668/1.526, allocations: 0.5432 MB / 0.8613 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005451/1.527, allocations: 188.6 kB / 0.8615 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.991e-06/1.527, allocations: 0 / 0.8615 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003259/1.527, allocations: 203.5 kB / 0.8617 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/1.527, allocations: 51.47 kB / 0.8617 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/1.528, allocations: 326.7 kB / 0.862 GB, free: 66.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/1.528, allocations: 0.7127 MB / 0.8627 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006613/1.529, allocations: 69.17 kB / 0.8628 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/1.529, allocations: 55.41 kB / 0.8628 GB, free: 65.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.102e-06/1.529, allocations: 3.938 kB / 0.8628 GB, free: 65.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.02347/1.553, allocations: 12.54 MB / 0.8751 GB, free: 52.98 MB / 0.5105 GB