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_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(ModelicaTest): time 2.398/2.398, allocations: 269 MB / 284.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.497e-05/3.503e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1366, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5493/0.686, allocations: 121.7 MB / 0.5202 GB, free: 14.89 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006627/0.6927, allocations: 2.471 MB / 0.5226 GB, free: 12.42 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.6929, allocations: 0 / 0.5226 GB, free: 12.42 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.6932, allocations: 39.78 kB / 0.5226 GB, free: 12.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003161/0.6964, allocations: 0.6229 MB / 0.5232 GB, free: 11.75 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009772/0.6974, allocations: 160.3 kB / 0.5234 GB, free: 11.6 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.698, allocations: 159.6 kB / 0.5235 GB, free: 11.44 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.6981, allocations: 7.938 kB / 0.5235 GB, free: 11.43 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.6987, allocations: 147.6 kB / 0.5237 GB, free: 11.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.699, allocations: 83.8 kB / 0.5238 GB, free: 11.21 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00554/0.7046, allocations: 1.057 MB / 0.5248 GB, free: 10.15 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004086/0.705, allocations: 32 kB / 0.5248 GB, free: 10.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.7053, allocations: 71.86 kB / 0.5249 GB, free: 10.05 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.7055, allocations: 24 kB / 0.5249 GB, free: 10.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.708, allocations: 0.5935 MB / 0.5255 GB, free: 9.434 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7081, allocations: 0 / 0.5255 GB, free: 9.434 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.057e-06/0.7081, allocations: 0 / 0.5255 GB, free: 9.434 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.7081, allocations: 0 / 0.5255 GB, free: 9.434 MB / 442.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.001416/0.7096, allocations: 0.4954 MB / 0.526 GB, free: 8.891 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.7096, allocations: 8.031 kB / 0.526 GB, free: 8.883 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003565/0.7132, allocations: 211.5 kB / 0.5262 GB, free: 8.676 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.7139, allocations: 230.7 kB / 0.5264 GB, free: 8.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.7139, allocations: 16.38 kB / 0.5264 GB, free: 8.395 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.7141, allocations: 23.89 kB / 0.5264 GB, free: 8.371 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.7156, allocations: 369.7 kB / 0.5268 GB, free: 8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.7157, allocations: 0 / 0.5268 GB, free: 8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.7158, allocations: 12 kB / 0.5268 GB, free: 7.988 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.7158, allocations: 7.938 kB / 0.5268 GB, free: 7.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.7175, allocations: 399.7 kB / 0.5272 GB, free: 7.59 MB / 442.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.004397/0.7219, allocations: 0.8009 MB / 0.528 GB, free: 6.734 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009863/0.7229, allocations: 213.1 kB / 0.5282 GB, free: 6.508 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003883/0.7268, allocations: 0.7892 MB / 0.529 GB, free: 5.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/0.7269, allocations: 42.48 kB / 0.529 GB, free: 5.539 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.995e-06/0.727, allocations: 3.938 kB / 0.529 GB, free: 5.535 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.002003/0.729, allocations: 370.1 kB / 0.5294 GB, free: 5.168 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.7291, allocations: 81.11 kB / 0.5294 GB, free: 5.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.7292, allocations: 105 kB / 0.5295 GB, free: 4.961 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.7293, allocations: 33.7 kB / 0.5296 GB, free: 4.922 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.7294, allocations: 178.9 kB / 0.5297 GB, free: 4.746 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.7296, allocations: 110.4 kB / 0.5298 GB, free: 4.637 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.7296, allocations: 4 kB / 0.5298 GB, free: 4.633 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7298, allocations: 326.8 kB / 0.5302 GB, free: 4.305 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.7301, allocations: 96.59 kB / 0.5302 GB, free: 4.211 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.7305, allocations: 183.6 kB / 0.5304 GB, free: 3.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.7309, allocations: 120.6 kB / 0.5305 GB, free: 3.879 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7309, allocations: 0 / 0.5305 GB, free: 3.879 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001039/0.732, allocations: 334 kB / 0.5309 GB, free: 3.547 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.732, allocations: 6.812 kB / 0.5309 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.732, allocations: 4 kB / 0.5309 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.7321, allocations: 7.984 kB / 0.5309 GB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.7328, allocations: 71.91 kB / 0.5309 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.7328, allocations: 7.938 kB / 0.531 GB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.7332, allocations: 35.67 kB / 0.531 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.7333, allocations: 16 kB / 0.531 GB, free: 3.402 MB / 442.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.0002163/0.7336, allocations: 145.8 kB / 0.5311 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.7337, allocations: 15.81 kB / 0.5312 GB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.7348, allocations: 330.7 kB / 0.5315 GB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.7349, allocations: 4.875 kB / 0.5315 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.7349, allocations: 0 / 0.5315 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.7349, allocations: 7.984 kB / 0.5315 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009533/0.7359, allocations: 334.8 kB / 0.5318 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7359, allocations: 0 / 0.5318 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/0.7366, allocations: 59.91 kB / 0.5319 GB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.7366, allocations: 0.75 kB / 0.5319 GB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.7367, allocations: 15.92 kB / 0.5319 GB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/0.7367, allocations: 7.984 kB / 0.5319 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7367, allocations: 3.938 kB / 0.5319 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.738, allocations: 0.5195 MB / 0.5324 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.7381, allocations: 92.98 kB / 0.5325 GB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.7382, allocations: 12.06 kB / 0.5325 GB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/0.7388, allocations: 15.98 kB / 0.5325 GB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.7389, allocations: 19.97 kB / 0.5325 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.7389, allocations: 19.98 kB / 0.5325 GB, free: 1.715 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.547e-05/0.739, allocations: 83.27 kB / 0.5326 GB, free: 1.633 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.739, allocations: 0 / 0.5326 GB, free: 1.633 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001082/0.7401, allocations: 227.8 kB / 0.5328 GB, free: 1.41 MB / 442.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.001516/0.7417, allocations: 358.8 kB / 0.5332 GB, free: 1.051 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.7427, allocations: 255.7 kB / 0.5334 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.7428, allocations: 3.938 kB / 0.5334 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.7432, allocations: 128.4 kB / 0.5336 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009243/0.7441, allocations: 75.92 kB / 0.5336 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.7461, allocations: 0.9003 MB / 0.5345 GB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.7467, allocations: 0.7326 MB / 0.5352 GB, free: 14.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.747, allocations: 43.36 kB / 0.5353 GB, free: 14.86 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/0.747, allocations: 0 / 0.5353 GB, free: 14.86 MB / 458.7 MB Notification: Performance of Templates: time 0.01627/0.7633, allocations: 6.388 MB / 0.5415 GB, free: 8.469 MB / 458.7 MB