Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(ModelicaTest): time 2.036/2.036, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.944e-05, allocations: 0 / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3641, allocations: 48.7 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2344/0.5985, allocations: 137.1 MB / 461.9 MB, free: 6.094 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01735/0.6159, allocations: 8.266 MB / 470.2 MB, free: 13.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.6171, allocations: 27.75 kB / 470.2 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.6181, allocations: 254.6 kB / 470.5 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004515/0.6226, allocations: 1.032 MB / 471.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.6262, allocations: 0.8222 MB / 472.3 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.6284, allocations: 0.8487 MB / 473.2 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007807/0.6292, allocations: 319.4 kB / 473.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.6317, allocations: 0.6781 MB / 474.2 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009881/0.6327, allocations: 415 kB / 474.6 MB, free: 9.422 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.635, allocations: 0.6204 MB / 475.2 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004054/0.6355, allocations: 56 kB / 475.3 MB, free: 8.746 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003786/0.6358, allocations: 211.5 kB / 475.5 MB, free: 8.539 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.6362, allocations: 83.94 kB / 475.5 MB, free: 8.457 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.6383, allocations: 0.9821 MB / 476.5 MB, free: 7.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6383, allocations: 0 / 476.5 MB, free: 7.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6383, allocations: 0 / 476.5 MB, free: 7.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.6383, allocations: 0 / 476.5 MB, free: 7.473 MB / 410.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.002832/0.6412, allocations: 0.9201 MB / 477.5 MB, free: 6.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.6413, allocations: 12.02 kB / 477.5 MB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.6425, allocations: 135 kB / 477.6 MB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.6439, allocations: 0.4889 MB / 478.1 MB, free: 5.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.6441, allocations: 104.4 kB / 478.2 MB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.6443, allocations: 48 kB / 478.2 MB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.6463, allocations: 0.8096 MB / 479 MB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.6464, allocations: 7.938 kB / 479.1 MB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.6465, allocations: 24 kB / 479.1 MB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.6466, allocations: 48.8 kB / 479.1 MB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.6484, allocations: 0.6205 MB / 479.7 MB, free: 4.082 MB / 410.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.2784/0.9268, allocations: 3.924 MB / 483.7 MB, free: 142.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000956/0.9278, allocations: 341.7 kB / 484 MB, free: 142.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.928, allocations: 25.41 kB / 484 MB, free: 142.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.928, allocations: 38.41 kB / 484.1 MB, free: 142.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.938e-06/0.928, allocations: 0 / 484.1 MB, free: 142.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.009241/0.9373, allocations: 1.645 MB / 485.7 MB, free: 142 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.9374, allocations: 137.4 kB / 485.8 MB, free: 141.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.9385, allocations: 0.5257 MB / 486.4 MB, free: 141.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.9386, allocations: 36.55 kB / 486.4 MB, free: 141.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.939, allocations: 378.8 kB / 486.8 MB, free: 141.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.9392, allocations: 141.2 kB / 486.9 MB, free: 141.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.9392, allocations: 16.34 kB / 486.9 MB, free: 141.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.9394, allocations: 374.2 kB / 487.3 MB, free: 140.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/0.94, allocations: 205.9 kB / 487.5 MB, free: 140.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/0.9409, allocations: 0.5302 MB / 488 MB, free: 140.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/0.9417, allocations: 296.1 kB / 488.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.9417, allocations: 4.125 kB / 488.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002575/0.9443, allocations: 0.8883 MB / 489.2 MB, free: 139.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.9443, allocations: 11.94 kB / 489.2 MB, free: 139.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.9444, allocations: 10 kB / 489.2 MB, free: 139.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/0.9466, allocations: 315 kB / 489.5 MB, free: 139.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008148/0.9475, allocations: 127.4 kB / 489.7 MB, free: 139.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.949, allocations: 0.8976 MB / 490.6 MB, free: 139.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009581/0.95, allocations: 55.09 kB / 490.6 MB, free: 139.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.9501, allocations: 67.34 kB / 490.7 MB, free: 139.1 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004754/0.9506, allocations: 254.7 kB / 490.9 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.9508, allocations: 64.38 kB / 491 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.9531, allocations: 0.6637 MB / 491.7 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.9532, allocations: 9.594 kB / 491.7 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9532, allocations: 0 / 491.7 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.9532, allocations: 5.422 kB / 491.7 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.9561, allocations: 1.257 MB / 492.9 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.9562, allocations: 1.25 kB / 492.9 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/0.9582, allocations: 215.9 kB / 493.1 MB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.9583, allocations: 27.36 kB / 493.2 MB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-05/0.9584, allocations: 18.5 kB / 493.2 MB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.9607, allocations: 2.694 MB / 495.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.9607, allocations: 5.156 kB / 495.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.9627, allocations: 0.8593 MB / 496.7 MB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/0.9631, allocations: 183.3 kB / 496.9 MB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.9633, allocations: 9.406 kB / 496.9 MB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.964, allocations: 28.67 kB / 497 MB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.9642, allocations: 38.92 kB / 497 MB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.9643, allocations: 42.94 kB / 497 MB, free: 134.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007549/0.965, allocations: 420.1 kB / 497.4 MB, free: 134.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.9651, allocations: 0 / 497.4 MB, free: 134.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001523/0.9666, allocations: 290.6 kB / 497.7 MB, free: 134.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001383/0.968, allocations: 373.2 kB / 498.1 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.9699, allocations: 0.556 MB / 498.6 MB, free: 133.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.9699, allocations: 1.031 kB / 498.6 MB, free: 133.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.9715, allocations: 407.8 kB / 499 MB, free: 133.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/0.9743, allocations: 309.6 kB / 499.3 MB, free: 133.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.9776, allocations: 1.551 MB / 0.4892 GB, free: 132.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/0.9783, allocations: 0.9456 MB / 0.4901 GB, free: 132.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001903/0.9802, allocations: 268 kB / 0.4903 GB, free: 132 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005016/0.9807, allocations: 96.31 kB / 0.4904 GB, free: 132 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9807, allocations: 4 kB / 0.4904 GB, free: 132 MB / 410.7 MB Notification: Performance of Templates: time 0.0399/1.021, allocations: 15.97 MB / 0.506 GB, free: 121.7 MB / 410.7 MB