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_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(ModelicaTest): time 2.457/2.457, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.077e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3204, allocations: 58.83 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.682/2.002, allocations: 0.7388 GB / 1.112 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/2.002, allocations: 67.97 kB / 1.112 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4006/2.403, allocations: 39.62 MB / 1.151 GB, free: 188.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.126e-06/2.403, allocations: 0 / 1.151 GB, free: 188.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.375e-05/2.403, allocations: 6.156 kB / 1.151 GB, free: 188.3 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009386/2.404, allocations: 0.5039 MB / 1.151 GB, free: 187.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/2.404, allocations: 7.656 kB / 1.151 GB, free: 187.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004021/2.408, allocations: 363.5 kB / 1.152 GB, free: 187.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/2.409, allocations: 252.8 kB / 1.152 GB, free: 187.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/2.409, allocations: 16.12 kB / 1.152 GB, free: 187.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/2.409, allocations: 25.34 kB / 1.152 GB, free: 187.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009534/2.41, allocations: 462.4 kB / 1.152 GB, free: 187.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/2.41, allocations: 0 / 1.152 GB, free: 187.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/2.41, allocations: 11.78 kB / 1.152 GB, free: 187.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.836e-06/2.41, allocations: 3.969 kB / 1.152 GB, free: 187.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/2.411, allocations: 485.6 kB / 1.153 GB, free: 187.6 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.002633/2.414, allocations: 0.9901 MB / 1.154 GB, free: 187.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/2.414, allocations: 268.5 kB / 1.154 GB, free: 187.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/2.414, allocations: 145.2 kB / 1.154 GB, free: 187.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/2.416, allocations: 0.6555 MB / 1.155 GB, free: 186.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/2.416, allocations: 37.16 kB / 1.155 GB, free: 186.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 3.699e-06/2.416, allocations: 0 / 1.155 GB, free: 186.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.0007912/2.417, allocations: 277.2 kB / 1.155 GB, free: 186.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/2.417, allocations: 82.92 kB / 1.155 GB, free: 186.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/2.417, allocations: 104.6 kB / 1.155 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/2.417, allocations: 35.52 kB / 1.155 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/2.417, allocations: 112.8 kB / 1.156 GB, free: 186.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.217e-05/2.417, allocations: 107.9 kB / 1.156 GB, free: 186.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/2.417, allocations: 6.5 kB / 1.156 GB, free: 186.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/2.417, allocations: 329.6 kB / 1.156 GB, free: 185.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/2.417, allocations: 101.6 kB / 1.156 GB, free: 185.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/2.418, allocations: 200 kB / 1.156 GB, free: 185.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/2.418, allocations: 123.4 kB / 1.156 GB, free: 185.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.775e-06/2.418, allocations: 5.5 kB / 1.156 GB, free: 185.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007827/2.419, allocations: 347.5 kB / 1.157 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/2.419, allocations: 10.8 kB / 1.157 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.382e-06/2.419, allocations: 6 kB / 1.157 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/2.419, allocations: 7.812 kB / 1.157 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/2.419, allocations: 69.86 kB / 1.157 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/2.419, allocations: 13.17 kB / 1.157 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/2.42, allocations: 29.62 kB / 1.157 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/2.42, allocations: 19.27 kB / 1.157 GB, free: 185.6 MB / 0.5105 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.0001399/2.42, allocations: 128.5 kB / 1.157 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/2.42, allocations: 13.62 kB / 1.157 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009722/2.421, allocations: 364.4 kB / 1.157 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.124e-06/2.421, allocations: 3.938 kB / 1.157 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/2.421, allocations: 5.375 kB / 1.157 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/2.421, allocations: 0 / 1.157 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008036/2.422, allocations: 360.1 kB / 1.158 GB, free: 185.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.015e-06/2.422, allocations: 2.75 kB / 1.158 GB, free: 185.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/2.422, allocations: 58.75 kB / 1.158 GB, free: 185.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.943e-06/2.422, allocations: 3.375 kB / 1.158 GB, free: 185.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/2.423, allocations: 14.39 kB / 1.158 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.123e-06/2.423, allocations: 5.469 kB / 1.158 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.751e-06/2.423, allocations: 3.938 kB / 1.158 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008752/2.423, allocations: 0.5354 MB / 1.158 GB, free: 185 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/2.424, allocations: 101.5 kB / 1.158 GB, free: 184.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/2.424, allocations: 5.406 kB / 1.158 GB, free: 184.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/2.424, allocations: 16.17 kB / 1.158 GB, free: 184.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/2.424, allocations: 19.53 kB / 1.158 GB, free: 184.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/2.424, allocations: 20.33 kB / 1.158 GB, free: 184.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.34e-05/2.424, allocations: 89.81 kB / 1.159 GB, free: 184.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.28e-07/2.424, allocations: 3.938 kB / 1.159 GB, free: 184.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001279/2.426, allocations: 264.1 kB / 1.159 GB, free: 184.8 MB / 0.5105 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.001744/2.427, allocations: 0.7509 MB / 1.159 GB, free: 184.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006629/2.428, allocations: 277.2 kB / 1.16 GB, free: 184.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.445e-06/2.428, allocations: 2.25 kB / 1.16 GB, free: 184.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002778/2.428, allocations: 141.3 kB / 1.16 GB, free: 184.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00078/2.429, allocations: 71.53 kB / 1.16 GB, free: 184.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/2.43, allocations: 0.6125 MB / 1.161 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/2.43, allocations: 0.7351 MB / 1.161 GB, free: 183.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008255/2.431, allocations: 87.38 kB / 1.161 GB, free: 183.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/2.432, allocations: 31.77 kB / 1.161 GB, free: 183.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/2.432, allocations: 0 / 1.161 GB, free: 183.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.03018/2.462, allocations: 15.67 MB / 1.177 GB, free: 177.4 MB / 0.5105 GB