Running command: translateModel(Modelica.Media.Examples.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="Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(Modelica): time 2.177/2.177, allocations: 194.9 MB / 211.2 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.034e-05, allocations: 4 kB / 258.8 MB, free: 8.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3692, allocations: 44.5 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1988/0.5681, allocations: 121.7 MB / 425 MB, free: 3.621 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004809/0.573, allocations: 2.39 MB / 427.4 MB, free: 1.227 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.5731, allocations: 0 / 427.4 MB, free: 1.227 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.5734, allocations: 43.78 kB / 427.4 MB, free: 1.184 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.5758, allocations: 0.6073 MB / 428 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.5765, allocations: 151.7 kB / 428.2 MB, free: 436 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000391/0.5769, allocations: 159.6 kB / 428.3 MB, free: 276 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.5769, allocations: 4 kB / 428.3 MB, free: 272 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.5774, allocations: 155.6 kB / 428.5 MB, free: 116 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.5776, allocations: 75.83 kB / 428.6 MB, free: 40 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3073/0.8849, allocations: 1.045 MB / 429.6 MB, free: 1.941 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004186/0.8854, allocations: 34.89 kB / 429.7 MB, free: 1.941 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.8856, allocations: 69.45 kB / 429.7 MB, free: 1.941 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.8857, allocations: 24.72 kB / 429.7 MB, free: 1.941 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.8878, allocations: 0.588 MB / 430.3 MB, free: 1.914 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8878, allocations: 0 / 430.3 MB, free: 1.914 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.8879, allocations: 1.156 kB / 430.3 MB, free: 1.914 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.8879, allocations: 0.8438 kB / 430.3 MB, free: 1.914 MB / 362.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.001403/0.8893, allocations: 0.4965 MB / 430.8 MB, free: 17.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.8894, allocations: 9.25 kB / 430.8 MB, free: 17.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.8916, allocations: 208.4 kB / 431 MB, free: 17.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.8921, allocations: 241.4 kB / 431.3 MB, free: 17.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.8922, allocations: 14.94 kB / 431.3 MB, free: 17.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/0.8923, allocations: 15.44 kB / 431.3 MB, free: 17.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009372/0.8932, allocations: 374.3 kB / 431.7 MB, free: 17.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.8933, allocations: 1.641 kB / 431.7 MB, free: 17.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/0.8933, allocations: 6.688 kB / 431.7 MB, free: 17.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.8934, allocations: 11.34 kB / 431.7 MB, free: 17.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/0.8942, allocations: 412.6 kB / 432.1 MB, free: 17.2 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002747/0.897, allocations: 0.804 MB / 432.9 MB, free: 16.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.8976, allocations: 222.9 kB / 433.1 MB, free: 16.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002135/0.8998, allocations: 0.6801 MB / 433.8 MB, free: 16.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/0.8999, allocations: 39.08 kB / 433.8 MB, free: 16.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.296e-06/0.8999, allocations: 0 / 433.8 MB, free: 16.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001923/0.9018, allocations: 370.5 kB / 434.2 MB, free: 16.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.9019, allocations: 87.27 kB / 434.3 MB, free: 16.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.902, allocations: 103.8 kB / 434.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.9021, allocations: 29.58 kB / 434.4 MB, free: 15.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.9022, allocations: 180.9 kB / 434.6 MB, free: 15.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.9024, allocations: 109.5 kB / 434.7 MB, free: 15.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.9024, allocations: 3.875 kB / 434.7 MB, free: 15.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.9026, allocations: 327.5 kB / 435 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.9029, allocations: 96.47 kB / 435.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.9032, allocations: 179.7 kB / 435.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.9036, allocations: 122.1 kB / 435.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.9036, allocations: 0 / 435.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009349/0.9046, allocations: 342.5 kB / 435.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.9046, allocations: 6 kB / 435.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.9046, allocations: 3.344 kB / 435.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.9047, allocations: 10.55 kB / 435.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.9053, allocations: 73.53 kB / 435.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.9053, allocations: 8.828 kB / 435.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.9058, allocations: 27.44 kB / 435.9 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.9059, allocations: 19.52 kB / 435.9 MB, free: 15.19 MB / 378.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.0002436/0.9061, allocations: 142.9 kB / 436 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.9063, allocations: 23.45 kB / 436.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.9074, allocations: 319.7 kB / 436.4 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.9074, allocations: 3.312 kB / 436.4 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.9074, allocations: 3.953 kB / 436.4 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.9074, allocations: 6.156 kB / 436.4 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009166/0.9084, allocations: 329.1 kB / 436.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.9084, allocations: 0 / 436.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.909, allocations: 59.44 kB / 436.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.9091, allocations: 2.844 kB / 436.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.9091, allocations: 10.88 kB / 436.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.9091, allocations: 7.047 kB / 436.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9092, allocations: 3.953 kB / 436.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.9103, allocations: 0.5127 MB / 437.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.9104, allocations: 94.64 kB / 437.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.9105, allocations: 6.938 kB / 437.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.9111, allocations: 21.64 kB / 437.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.9112, allocations: 21.11 kB / 437.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.9113, allocations: 14 kB / 437.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.892e-05/0.9114, allocations: 95.88 kB / 437.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.9114, allocations: 0 / 437.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001292/0.9127, allocations: 226.1 kB / 437.8 MB, free: 14.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (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.001584/0.9143, allocations: 358.8 kB / 438.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008076/0.9152, allocations: 260.5 kB / 438.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.9152, allocations: 3.125 kB / 438.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.9156, allocations: 129 kB / 438.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.9165, allocations: 79.62 kB / 438.6 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.9182, allocations: 0.9002 MB / 439.5 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.9186, allocations: 0.7352 MB / 440.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.9189, allocations: 37.94 kB / 440.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.9189, allocations: 0 / 440.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of Templates: time 0.01512/0.934, allocations: 6.57 MB / 446.8 MB, free: 12.14 MB / 378.7 MB