Running command: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(ModelicaTest): time 2.627/2.627, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.234e-05, allocations: 1.828 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 61.88 MB / 410.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.976/2.088, allocations: 0.7079 GB / 1.109 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/2.088, allocations: 75.95 kB / 1.109 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1283/2.217, allocations: 40.6 MB / 1.148 GB, free: 91.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.563e-06/2.217, allocations: 8 kB / 1.148 GB, free: 91.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.247e-05/2.217, allocations: 0 / 1.148 GB, free: 91.46 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008428/2.218, allocations: 0.5025 MB / 1.149 GB, free: 90.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/2.218, allocations: 8.031 kB / 1.149 GB, free: 90.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003711/2.221, allocations: 371.3 kB / 1.149 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/2.222, allocations: 262.7 kB / 1.149 GB, free: 90.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/2.222, allocations: 16.38 kB / 1.149 GB, free: 90.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/2.222, allocations: 16 kB / 1.149 GB, free: 90.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009452/2.223, allocations: 457.2 kB / 1.15 GB, free: 89.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/2.223, allocations: 7.953 kB / 1.15 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.582e-05/2.223, allocations: 4 kB / 1.15 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.753e-06/2.223, allocations: 4 kB / 1.15 GB, free: 89.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009978/2.224, allocations: 471.8 kB / 1.15 GB, free: 89.28 MB / 0.5261 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.002392/2.227, allocations: 0.9786 MB / 1.151 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/2.227, allocations: 265.1 kB / 1.152 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/2.227, allocations: 138 kB / 1.152 GB, free: 87.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/2.229, allocations: 0.7542 MB / 1.152 GB, free: 86.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/2.229, allocations: 38.56 kB / 1.152 GB, free: 86.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 3.936e-06/2.229, allocations: 0 / 1.152 GB, free: 86.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29): time 0.0007759/2.23, allocations: 283 kB / 1.153 GB, free: 86.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/2.23, allocations: 85.11 kB / 1.153 GB, free: 86.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/2.23, allocations: 109 kB / 1.153 GB, free: 86.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/2.23, allocations: 29.7 kB / 1.153 GB, free: 86.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/2.23, allocations: 112.5 kB / 1.153 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.316e-05/2.23, allocations: 110.4 kB / 1.153 GB, free: 86.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/2.23, allocations: 8 kB / 1.153 GB, free: 86.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.752e-05/2.23, allocations: 326.8 kB / 1.153 GB, free: 85.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/2.23, allocations: 104.6 kB / 1.154 GB, free: 85.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/2.231, allocations: 195.1 kB / 1.154 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/2.231, allocations: 123.9 kB / 1.154 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.743e-06/2.231, allocations: 4 kB / 1.154 GB, free: 85.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007482/2.232, allocations: 361.2 kB / 1.154 GB, free: 84.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/2.232, allocations: 4 kB / 1.154 GB, free: 84.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/2.232, allocations: 4 kB / 1.154 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/2.232, allocations: 4 kB / 1.154 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/2.232, allocations: 71.89 kB / 1.154 GB, free: 84.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/2.232, allocations: 4 kB / 1.154 GB, free: 84.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/2.233, allocations: 39.98 kB / 1.154 GB, free: 84.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/2.233, allocations: 20 kB / 1.154 GB, free: 84.85 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001266/2.233, allocations: 128.9 kB / 1.154 GB, free: 84.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/2.233, allocations: 11.91 kB / 1.154 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008658/2.234, allocations: 350.1 kB / 1.155 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.324e-06/2.234, allocations: 4 kB / 1.155 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.419e-06/2.234, allocations: 4 kB / 1.155 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.604e-06/2.234, allocations: 0 / 1.155 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007141/2.235, allocations: 364.4 kB / 1.155 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.139e-06/2.235, allocations: 4 kB / 1.155 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/2.235, allocations: 55.91 kB / 1.155 GB, free: 83.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.088e-06/2.235, allocations: 4 kB / 1.155 GB, free: 83.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/2.235, allocations: 11.98 kB / 1.155 GB, free: 83.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.898e-06/2.235, allocations: 0 / 1.155 GB, free: 83.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/2.235, allocations: 4 kB / 1.155 GB, free: 83.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008403/2.236, allocations: 0.5352 MB / 1.156 GB, free: 83.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/2.236, allocations: 92.95 kB / 1.156 GB, free: 83.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/2.236, allocations: 8.047 kB / 1.156 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/2.237, allocations: 15.94 kB / 1.156 GB, free: 83.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/2.237, allocations: 19.97 kB / 1.156 GB, free: 83.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/2.237, allocations: 23.98 kB / 1.156 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.728e-05/2.237, allocations: 87.27 kB / 1.156 GB, free: 83.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.38e-07/2.237, allocations: 7.938 kB / 1.156 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001129/2.238, allocations: 263.7 kB / 1.156 GB, free: 82.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/2.24, allocations: 0.7557 MB / 1.157 GB, free: 82.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006146/2.24, allocations: 272.2 kB / 1.157 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.853e-06/2.24, allocations: 8.125 kB / 1.157 GB, free: 81.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/2.241, allocations: 131.9 kB / 1.157 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/2.241, allocations: 80.7 kB / 1.157 GB, free: 81.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/2.242, allocations: 0.6054 MB / 1.158 GB, free: 80.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/2.243, allocations: 0.744 MB / 1.159 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007267/2.243, allocations: 77.97 kB / 1.159 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/2.244, allocations: 31.42 kB / 1.159 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of SimCode: time 1.799e-06/2.244, allocations: 0 / 1.159 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of Templates: time 0.02897/2.273, allocations: 15.67 MB / 1.174 GB, free: 64.39 MB / 0.5261 GB