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.2_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(ModelicaTest): time 2.47/2.47, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.299e-05/4.322e-05, allocations: 0 / 304.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3743, allocations: 54.86 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.532/1.906, allocations: 0.7342 GB / 1.086 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/1.907, allocations: 76.73 kB / 1.086 GB, free: 15.43 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.383/2.29, allocations: 39.57 MB / 1.124 GB, free: 172 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.108e-06/2.29, allocations: 1.375 kB / 1.124 GB, free: 172 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/2.29, allocations: 6.75 kB / 1.124 GB, free: 172 MB / 490.7 MB 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.001065/2.291, allocations: 0.5085 MB / 1.125 GB, free: 171.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/2.291, allocations: 13.56 kB / 1.125 GB, free: 171.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003788/2.295, allocations: 369.4 kB / 1.125 GB, free: 171.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/2.295, allocations: 256.3 kB / 1.125 GB, free: 171.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/2.295, allocations: 20.09 kB / 1.125 GB, free: 171.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.582e-05/2.295, allocations: 15.72 kB / 1.125 GB, free: 171.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009682/2.296, allocations: 462.9 kB / 1.126 GB, free: 171 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/2.296, allocations: 3.938 kB / 1.126 GB, free: 171 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/2.296, allocations: 8 kB / 1.126 GB, free: 171 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.612e-06/2.296, allocations: 7.781 kB / 1.126 GB, free: 171 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/2.298, allocations: 479 kB / 1.126 GB, free: 170.9 MB / 490.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.002678/2.3, allocations: 0.9926 MB / 1.127 GB, free: 170.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/2.301, allocations: 273.2 kB / 1.128 GB, free: 170.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/2.301, allocations: 137.8 kB / 1.128 GB, free: 170 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/2.302, allocations: 0.6574 MB / 1.128 GB, free: 169.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/2.302, allocations: 39.23 kB / 1.128 GB, free: 169.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 4.402e-06/2.303, allocations: 0 / 1.128 GB, free: 169.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008175/2.303, allocations: 271.1 kB / 1.129 GB, free: 169.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/2.303, allocations: 80.14 kB / 1.129 GB, free: 169.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/2.303, allocations: 111.6 kB / 1.129 GB, free: 169.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/2.304, allocations: 43.75 kB / 1.129 GB, free: 169 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/2.304, allocations: 111.9 kB / 1.129 GB, free: 168.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/2.304, allocations: 104.6 kB / 1.129 GB, free: 168.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/2.304, allocations: 4 kB / 1.129 GB, free: 168.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.856e-05/2.304, allocations: 328.1 kB / 1.129 GB, free: 168.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/2.304, allocations: 103.2 kB / 1.129 GB, free: 168.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/2.304, allocations: 188.6 kB / 1.13 GB, free: 168.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/2.305, allocations: 130.9 kB / 1.13 GB, free: 168.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.721e-06/2.305, allocations: 0 / 1.13 GB, free: 168.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008085/2.305, allocations: 353.5 kB / 1.13 GB, free: 168.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/2.305, allocations: 8.531 kB / 1.13 GB, free: 168.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/2.305, allocations: 7.156 kB / 1.13 GB, free: 168.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/2.306, allocations: 5.594 kB / 1.13 GB, free: 168.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/2.306, allocations: 80.19 kB / 1.13 GB, free: 168.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/2.306, allocations: 3.938 kB / 1.13 GB, free: 168.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/2.307, allocations: 30.03 kB / 1.13 GB, free: 168.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-05/2.307, allocations: 18.41 kB / 1.13 GB, free: 168.1 MB / 490.7 MB 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.0001421/2.307, allocations: 127.1 kB / 1.13 GB, free: 168 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/2.307, allocations: 14.67 kB / 1.13 GB, free: 168 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009606/2.308, allocations: 355.3 kB / 1.131 GB, free: 167.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.011e-06/2.308, allocations: 3.844 kB / 1.131 GB, free: 167.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.11e-06/2.308, allocations: 4 kB / 1.131 GB, free: 167.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.793e-06/2.308, allocations: 7.531 kB / 1.131 GB, free: 167.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007928/2.309, allocations: 352.4 kB / 1.131 GB, free: 167.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.775e-06/2.309, allocations: 7.344 kB / 1.131 GB, free: 167.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/2.309, allocations: 59.67 kB / 1.131 GB, free: 167.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/2.309, allocations: 6.359 kB / 1.131 GB, free: 167.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/2.309, allocations: 10.95 kB / 1.131 GB, free: 167.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.845e-06/2.309, allocations: 3 kB / 1.131 GB, free: 167.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.1e-06/2.309, allocations: 0 / 1.131 GB, free: 167.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009544/2.31, allocations: 0.5438 MB / 1.132 GB, free: 167.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/2.311, allocations: 98.19 kB / 1.132 GB, free: 167.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/2.311, allocations: 7.719 kB / 1.132 GB, free: 167 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/2.311, allocations: 18.2 kB / 1.132 GB, free: 167 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/2.311, allocations: 20.52 kB / 1.132 GB, free: 167 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-05/2.311, allocations: 16.45 kB / 1.132 GB, free: 167 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.229e-05/2.311, allocations: 87.56 kB / 1.132 GB, free: 167 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.11e-06/2.311, allocations: 0 / 1.132 GB, free: 167 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001244/2.313, allocations: 269.3 kB / 1.132 GB, free: 166.9 MB / 490.7 MB 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.001636/2.314, allocations: 0.7541 MB / 1.133 GB, free: 166.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000656/2.315, allocations: 272.5 kB / 1.133 GB, free: 166.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.914e-06/2.315, allocations: 0 / 1.133 GB, free: 166.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/2.315, allocations: 138.1 kB / 1.133 GB, free: 166.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/2.316, allocations: 80.97 kB / 1.133 GB, free: 166.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/2.317, allocations: 0.6154 MB / 1.134 GB, free: 166 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/2.317, allocations: 0.7389 MB / 1.135 GB, free: 165.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007511/2.318, allocations: 84.11 kB / 1.135 GB, free: 165.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/2.318, allocations: 38.58 kB / 1.135 GB, free: 165.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.88e-06/2.318, allocations: 0 / 1.135 GB, free: 165.2 MB / 490.7 MB Notification: Performance of Templates: time 0.02745/2.346, allocations: 15.67 MB / 1.15 GB, free: 154.1 MB / 490.7 MB