Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.82/1.82, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.899e-05, allocations: 3.906 kB / 258.8 MB, free: 7.871 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2889, allocations: 44.5 MB / 303.3 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2082/0.4972, allocations: 121.3 MB / 424.6 MB, free: 3.812 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.4988, allocations: 0.7793 MB / 425.4 MB, free: 3.035 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.4988, allocations: 0 / 425.4 MB, free: 3.035 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.4991, allocations: 23.88 kB / 425.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.4997, allocations: 183.4 kB / 425.6 MB, free: 2.832 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.5002, allocations: 95.7 kB / 425.7 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.5004, allocations: 79.83 kB / 425.8 MB, free: 2.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.5004, allocations: 4 kB / 425.8 MB, free: 2.656 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.5007, allocations: 83.75 kB / 425.9 MB, free: 2.574 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.5008, allocations: 39.89 kB / 425.9 MB, free: 2.535 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008567/0.5017, allocations: 283.7 kB / 426.2 MB, free: 2.258 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.281e-05/0.5018, allocations: 16 kB / 426.2 MB, free: 2.242 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.5019, allocations: 15.92 kB / 426.2 MB, free: 2.227 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.5019, allocations: 12 kB / 426.2 MB, free: 2.215 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.5024, allocations: 201.9 kB / 426.4 MB, free: 2.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5024, allocations: 4 kB / 426.4 MB, free: 2.016 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5024, allocations: 0 / 426.4 MB, free: 2.016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.5025, allocations: 0 / 426.4 MB, free: 2.016 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005478/0.503, allocations: 387.2 kB / 426.8 MB, free: 1.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5031, allocations: 8.031 kB / 426.8 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/0.5065, allocations: 183.6 kB / 427 MB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.5069, allocations: 210.9 kB / 427.2 MB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.5069, allocations: 8 kB / 427.2 MB, free: 1.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.507, allocations: 8 kB / 427.2 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007783/0.5078, allocations: 220 kB / 427.4 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5078, allocations: 4 kB / 427.4 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.052e-05/0.5078, allocations: 0 / 427.4 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5079, allocations: 8 kB / 427.5 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.5086, allocations: 167.8 kB / 427.6 MB, free: 0.7344 MB / 362.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.00145/0.5101, allocations: 0.5717 MB / 428.2 MB, free: 108 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2344/0.7445, allocations: 141.8 kB / 428.3 MB, free: 123.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.624e-05/0.7446, allocations: 2.766 kB / 428.3 MB, free: 123.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.7446, allocations: 35.73 kB / 428.4 MB, free: 123.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.7446, allocations: 0 / 428.4 MB, free: 123.5 MB / 362.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009225/0.7539, allocations: 1.294 MB / 429.7 MB, free: 123.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.7539, allocations: 59.09 kB / 429.7 MB, free: 123 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.7541, allocations: 104.8 kB / 429.8 MB, free: 122.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.7541, allocations: 26.83 kB / 429.8 MB, free: 122.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.7542, allocations: 105.1 kB / 430 MB, free: 122.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.7542, allocations: 64.44 kB / 430 MB, free: 122.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.7543, allocations: 6.094 kB / 430 MB, free: 122.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.7544, allocations: 320.3 kB / 430.3 MB, free: 122.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.7546, allocations: 69.44 kB / 430.4 MB, free: 122.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.7549, allocations: 107.2 kB / 430.5 MB, free: 122.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.7552, allocations: 77.08 kB / 430.6 MB, free: 122.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7553, allocations: 0.6562 kB / 430.6 MB, free: 122.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008461/0.7561, allocations: 266.6 kB / 430.8 MB, free: 122.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.7562, allocations: 5.281 kB / 430.8 MB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.7562, allocations: 1 kB / 430.8 MB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/0.7564, allocations: 55.06 kB / 430.9 MB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.757, allocations: 52.03 kB / 431 MB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004257/0.7575, allocations: 0.5711 MB / 431.5 MB, free: 121.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.7578, allocations: 10 kB / 431.5 MB, free: 121.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.7579, allocations: 23.69 kB / 431.6 MB, free: 121.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.758, allocations: 119.7 kB / 431.7 MB, free: 121.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.7581, allocations: 17.16 kB / 431.7 MB, free: 121.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.7594, allocations: 350 kB / 432 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.7594, allocations: 1.688 kB / 432 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7594, allocations: 1.312 kB / 432 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7594, allocations: 3.797 kB / 432 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.7608, allocations: 0.6204 MB / 432.7 MB, free: 120.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.7608, allocations: 1.031 kB / 432.7 MB, free: 120.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/0.7614, allocations: 65.14 kB / 432.7 MB, free: 120.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.7616, allocations: 17.59 kB / 432.7 MB, free: 120.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.7616, allocations: 16.55 kB / 432.8 MB, free: 120.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008614/0.7625, allocations: 1.276 MB / 434 MB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7625, allocations: 5.984 kB / 434 MB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009901/0.7635, allocations: 468.3 kB / 434.5 MB, free: 119.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.7636, allocations: 92.3 kB / 434.6 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.7636, allocations: 4 kB / 434.6 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.764, allocations: 11.8 kB / 434.6 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.7641, allocations: 26.19 kB / 434.6 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.904e-05/0.7642, allocations: 25.58 kB / 434.7 MB, free: 119 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.803e-05/0.7642, allocations: 89.69 kB / 434.7 MB, free: 118.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7642, allocations: 3.469 kB / 434.7 MB, free: 118.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005552/0.7648, allocations: 75.41 kB / 434.8 MB, free: 118.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004579/0.7653, allocations: 151 kB / 435 MB, free: 118.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.766, allocations: 200.7 kB / 435.2 MB, free: 118.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.766, allocations: 0 / 435.2 MB, free: 118.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.7665, allocations: 226.4 kB / 435.4 MB, free: 118.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.767, allocations: 54.3 kB / 435.4 MB, free: 118.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.768, allocations: 0.5522 MB / 436 MB, free: 117.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.7682, allocations: 0.7168 MB / 436.7 MB, free: 117.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007349/0.769, allocations: 77.94 kB / 436.8 MB, free: 117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.7693, allocations: 51.41 kB / 436.8 MB, free: 116.9 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.7693, allocations: 0 / 436.8 MB, free: 116.9 MB / 362.7 MB Notification: Performance of Templates: time 0.01164/0.781, allocations: 4.836 MB / 441.7 MB, free: 112.1 MB / 362.7 MB