Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.145/2.145, allocations: 209.2 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.54e-05, allocations: 7.984 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3692, allocations: 48.7 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2117/0.581, allocations: 121.1 MB / 445.9 MB, free: 6.203 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.5914, allocations: 4.623 MB / 450.5 MB, free: 1.574 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.5926, allocations: 23.81 kB / 450.6 MB, free: 1.551 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.5939, allocations: 270.5 kB / 450.8 MB, free: 1.285 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.5968, allocations: 0.6424 MB / 451.5 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.6002, allocations: 0.7605 MB / 452.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.6024, allocations: 0.8328 MB / 453.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007823/0.6033, allocations: 315.6 kB / 453.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.6049, allocations: 0.5144 MB / 453.9 MB, free: 14.22 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.6061, allocations: 450.8 kB / 454.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.6079, allocations: 423.6 kB / 454.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003098/0.6083, allocations: 36 kB / 454.8 MB, free: 13.33 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004067/0.6087, allocations: 211.4 kB / 455 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.6091, allocations: 80 kB / 455.1 MB, free: 13.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.6107, allocations: 0.7956 MB / 455.9 MB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6108, allocations: 0 / 455.9 MB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6108, allocations: 0 / 455.9 MB, free: 12.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.6108, allocations: 0 / 455.9 MB, free: 12.25 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002497/0.6133, allocations: 0.846 MB / 456.7 MB, free: 11.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6134, allocations: 12.03 kB / 456.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.614, allocations: 95 kB / 456.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.6153, allocations: 0.5043 MB / 457.3 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.6154, allocations: 100.4 kB / 457.4 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.6156, allocations: 51.98 kB / 457.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.6177, allocations: 0.7954 MB / 458.3 MB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.6178, allocations: 8 kB / 458.3 MB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.6179, allocations: 31.94 kB / 458.3 MB, free: 9.637 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.534e-05/0.618, allocations: 40.97 kB / 458.3 MB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.6199, allocations: 0.6439 MB / 459 MB, free: 8.953 MB / 394.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.007511/0.6275, allocations: 3.955 MB / 462.9 MB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.6289, allocations: 420.3 kB / 463.4 MB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003309/0.6322, allocations: 1.672 MB / 465 MB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.6323, allocations: 46.5 kB / 465.1 MB, free: 2.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.396e-06/0.6323, allocations: 0 / 465.1 MB, free: 2.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.00527/0.6376, allocations: 1.447 MB / 466.5 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.6378, allocations: 140.3 kB / 466.7 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.6388, allocations: 0.4942 MB / 467.1 MB, free: 192 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.639, allocations: 41.69 kB / 467.2 MB, free: 144 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.6394, allocations: 413.6 kB / 467.6 MB, free: 15.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.6397, allocations: 157.8 kB / 467.7 MB, free: 15.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.6398, allocations: 16 kB / 467.8 MB, free: 15.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.64, allocations: 338.8 kB / 468.1 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006677/0.6407, allocations: 209.9 kB / 468.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009201/0.6416, allocations: 0.5354 MB / 468.8 MB, free: 14.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.6425, allocations: 307.7 kB / 469.1 MB, free: 14.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.6425, allocations: 11.94 kB / 469.1 MB, free: 14.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002666/0.6452, allocations: 0.8611 MB / 470 MB, free: 13.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.6453, allocations: 8 kB / 470 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.6453, allocations: 12 kB / 470 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/0.6475, allocations: 261.7 kB / 470.3 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.6484, allocations: 135.8 kB / 470.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.6499, allocations: 0.8488 MB / 471.3 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009613/0.6509, allocations: 51.89 kB / 471.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.6511, allocations: 47.92 kB / 471.4 MB, free: 11.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.000558/0.6516, allocations: 241.2 kB / 471.6 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.6519, allocations: 63.25 kB / 471.7 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.6539, allocations: 0.7325 MB / 472.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.6539, allocations: 7.984 kB / 472.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.654, allocations: 0 / 472.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.654, allocations: 0 / 472.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/0.6572, allocations: 1.349 MB / 473.7 MB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.6572, allocations: 8.188 kB / 473.8 MB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/0.6592, allocations: 199.8 kB / 473.9 MB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.6594, allocations: 24.84 kB / 474 MB, free: 9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.6594, allocations: 8 kB / 474 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.6622, allocations: 2.704 MB / 476.7 MB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6623, allocations: 0 / 476.7 MB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.6647, allocations: 1.023 MB / 477.7 MB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/0.6652, allocations: 212.1 kB / 477.9 MB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.6654, allocations: 11.98 kB / 477.9 MB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007093/0.6661, allocations: 32.05 kB / 478 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.6663, allocations: 39.83 kB / 478 MB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.6664, allocations: 19.98 kB / 478 MB, free: 4.586 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007483/0.6671, allocations: 395.1 kB / 478.4 MB, free: 4.199 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6671, allocations: 0 / 478.4 MB, free: 4.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00118/0.6683, allocations: 219.9 kB / 478.6 MB, free: 3.984 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006972/0.669, allocations: 246.2 kB / 478.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.6711, allocations: 0.5733 MB / 479.4 MB, free: 3.168 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.6711, allocations: 4 kB / 479.4 MB, free: 3.164 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.6727, allocations: 415.2 kB / 479.8 MB, free: 2.746 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.6752, allocations: 290.8 kB / 480.1 MB, free: 2.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.6787, allocations: 1.65 MB / 481.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3119/0.9907, allocations: 0.9402 MB / 482.7 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.9911, allocations: 69.81 kB / 482.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.9911, allocations: 0.8125 kB / 482.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of Templates: time 0.03734/1.028, allocations: 14.8 MB / 497.6 MB, free: 37.12 MB / 410.7 MB