Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.665/1.665, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.269e-05, allocations: 7.984 kB / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08083/0.08089, allocations: 38.78 MB / 266.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4156/0.4966, allocations: 123.3 MB / 390.2 MB, free: 7.461 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006593/0.5032, allocations: 3.625 MB / 393.8 MB, free: 3.832 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.5035, allocations: 4 kB / 393.8 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.5038, allocations: 67.66 kB / 393.9 MB, free: 3.762 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.5062, allocations: 0.6813 MB / 394.6 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.5074, allocations: 267.3 kB / 394.8 MB, free: 2.816 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005766/0.508, allocations: 212 kB / 395 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.5081, allocations: 4 kB / 395 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000718/0.5088, allocations: 283.2 kB / 395.3 MB, free: 2.324 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.5091, allocations: 103.7 kB / 395.4 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006423/0.5155, allocations: 1.525 MB / 396.9 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000486/0.5161, allocations: 36 kB / 397 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.5163, allocations: 123.7 kB / 397.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.5165, allocations: 40 kB / 397.1 MB, free: 0.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.5189, allocations: 0.8125 MB / 397.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5189, allocations: 4 kB / 397.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.519, allocations: 4 kB / 397.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.519, allocations: 0 / 397.9 MB, free: 15.68 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003149/0.5221, allocations: 0.7135 MB / 398.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5222, allocations: 12.03 kB / 398.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.5235, allocations: 115.5 kB / 398.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.524, allocations: 262.7 kB / 399 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.5241, allocations: 28.5 kB / 399.1 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5242, allocations: 24 kB / 399.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.5261, allocations: 0.5951 MB / 399.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.5261, allocations: 0 / 399.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.389e-05/0.5262, allocations: 15.98 kB / 399.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/0.5263, allocations: 28.38 kB / 399.7 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.5287, allocations: 0.6346 MB / 400.4 MB, free: 13.17 MB / 330.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.004736/0.5334, allocations: 1.245 MB / 401.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.5352, allocations: 364.8 kB / 402 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002401/0.5377, allocations: 0.9315 MB / 402.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.5378, allocations: 42.56 kB / 402.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 3.005e-06/0.5378, allocations: 0 / 402.9 MB, free: 10.36 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.02731/0.5651, allocations: 3.468 MB / 406.4 MB, free: 6.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.5652, allocations: 89.09 kB / 406.5 MB, free: 6.582 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.5654, allocations: 158.4 kB / 406.6 MB, free: 6.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.606e-05/0.5655, allocations: 29.7 kB / 406.7 MB, free: 6.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.5657, allocations: 246.5 kB / 406.9 MB, free: 6.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.566, allocations: 181.5 kB / 407.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-05/0.566, allocations: 12 kB / 407.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5662, allocations: 330.8 kB / 407.4 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.5677, allocations: 273 kB / 407.7 MB, free: 5.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.5692, allocations: 418 kB / 408.1 MB, free: 4.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.5709, allocations: 303.2 kB / 408.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.5709, allocations: 4 kB / 408.4 MB, free: 4.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003813/0.5747, allocations: 0.7773 MB / 409.2 MB, free: 3.789 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.5748, allocations: 8 kB / 409.2 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.5749, allocations: 4 kB / 409.2 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/0.5752, allocations: 53.69 kB / 409.2 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.5774, allocations: 184 kB / 409.4 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008963/0.5783, allocations: 1.081 MB / 410.5 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.5799, allocations: 44.14 kB / 410.5 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.5801, allocations: 39.98 kB / 410.6 MB, free: 2.324 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003628/0.5804, allocations: 169.6 kB / 410.8 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.5806, allocations: 23.72 kB / 410.8 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/0.5847, allocations: 0.8037 MB / 411.6 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.5848, allocations: 4 kB / 411.6 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.5848, allocations: 4 kB / 411.6 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.5848, allocations: 3.984 kB / 411.6 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005737/0.5905, allocations: 1.568 MB / 413.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.5906, allocations: 3.984 kB / 413.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/0.5927, allocations: 139.8 kB / 413.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.593, allocations: 49.91 kB / 413.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.5931, allocations: 23.97 kB / 413.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.5955, allocations: 2.533 MB / 415.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5955, allocations: 4.062 kB / 415.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004864/0.6004, allocations: 1.167 MB / 417.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.6006, allocations: 104.9 kB / 417.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.6008, allocations: 20 kB / 417.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.6023, allocations: 35.95 kB / 417.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6024, allocations: 35.95 kB / 417.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.6026, allocations: 35.97 kB / 417.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.6027, allocations: 131.2 kB / 417.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6028, allocations: 0 / 417.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001748/0.6045, allocations: 359.8 kB / 417.8 MB, free: 10.63 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003723/0.6083, allocations: 0.6704 MB / 418.5 MB, free: 9.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003466/0.6118, allocations: 0.652 MB / 419.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.6118, allocations: 0 / 419.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.6137, allocations: 0.5332 MB / 419.6 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.6148, allocations: 96.88 kB / 419.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.6189, allocations: 1.243 MB / 421 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.6194, allocations: 0.7928 MB / 421.8 MB, free: 6.531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007907/0.6202, allocations: 75.38 kB / 421.8 MB, free: 6.461 MB / 346.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6202, allocations: 0 / 421.8 MB, free: 6.461 MB / 346.7 MB Notification: Performance of Templates: time 0.03373/0.6539, allocations: 14.7 MB / 436.5 MB, free: 7.742 MB / 362.7 MB