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.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.554/1.554, allocations: 171.2 MB / 185.7 MB, free: 1.387 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.561e-05, allocations: 6.188 kB / 228.1 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0771/0.07714, allocations: 38.76 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.4016/0.4788, allocations: 121.3 MB / 388.2 MB, free: 8.973 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.4804, allocations: 0.7704 MB / 389 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.4805, allocations: 0 / 389 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.4807, allocations: 27.83 kB / 389 MB, free: 8.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.4813, allocations: 175.4 kB / 389.2 MB, free: 8.008 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.4817, allocations: 100.5 kB / 389.3 MB, free: 7.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.4819, allocations: 79.83 kB / 389.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.482, allocations: 4 kB / 389.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.4823, allocations: 79.8 kB / 389.4 MB, free: 7.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.4824, allocations: 43.91 kB / 389.5 MB, free: 7.707 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008112/0.4832, allocations: 287.6 kB / 389.8 MB, free: 7.426 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.4833, allocations: 16 kB / 389.8 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.4834, allocations: 15.97 kB / 389.8 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.4834, allocations: 12 kB / 389.8 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.4839, allocations: 193.8 kB / 390 MB, free: 7.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4839, allocations: 7.938 kB / 390 MB, free: 7.191 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4839, allocations: 0 / 390 MB, free: 7.191 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.484, allocations: 0 / 390 MB, free: 7.191 MB / 314.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.0005416/0.4845, allocations: 379.2 kB / 390.4 MB, free: 6.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4846, allocations: 8.031 kB / 390.4 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/0.488, allocations: 188.1 kB / 390.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.4883, allocations: 211.4 kB / 390.8 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.4884, allocations: 7.938 kB / 390.8 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.4884, allocations: 11.91 kB / 390.8 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.4892, allocations: 220 kB / 391 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4892, allocations: 3.984 kB / 391 MB, free: 6.082 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.4893, allocations: 6.688 kB / 391 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.4893, allocations: 4 kB / 391 MB, free: 6.074 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000731/0.4901, allocations: 167.8 kB / 391.2 MB, free: 5.91 MB / 314.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.001442/0.4915, allocations: 0.5854 MB / 391.8 MB, free: 5.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.4921, allocations: 142.5 kB / 391.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.4921, allocations: 4 kB / 391.9 MB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4922, allocations: 38.48 kB / 392 MB, free: 5.066 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.365e-06/0.4922, allocations: 0 / 392 MB, free: 5.066 MB / 314.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.008686/0.5009, allocations: 1.299 MB / 393.3 MB, free: 3.676 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.5009, allocations: 59.39 kB / 393.3 MB, free: 3.605 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.501, allocations: 97 kB / 393.4 MB, free: 3.504 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.5011, allocations: 29.7 kB / 393.4 MB, free: 3.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.5012, allocations: 95.97 kB / 393.5 MB, free: 3.371 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.6e-05/0.5013, allocations: 70.94 kB / 393.6 MB, free: 3.301 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.5013, allocations: 12 kB / 393.6 MB, free: 3.289 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5014, allocations: 318.8 kB / 393.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.5017, allocations: 71.95 kB / 394 MB, free: 2.898 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.502, allocations: 102.8 kB / 394.1 MB, free: 2.789 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.5023, allocations: 84.11 kB / 394.2 MB, free: 2.711 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5023, allocations: 0 / 394.2 MB, free: 2.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007894/0.5031, allocations: 259.1 kB / 394.4 MB, free: 2.449 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.5032, allocations: 7.984 kB / 394.4 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5032, allocations: 4.625 kB / 394.4 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.5034, allocations: 48.83 kB / 394.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.504, allocations: 51.91 kB / 394.5 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005187/0.5046, allocations: 0.568 MB / 395.1 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.5049, allocations: 11.94 kB / 395.1 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.505, allocations: 24.8 kB / 395.1 MB, free: 1.707 MB / 314.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.0001549/0.5051, allocations: 129.7 kB / 395.3 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.5052, allocations: 12 kB / 395.3 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.5066, allocations: 351.3 kB / 395.6 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.5066, allocations: 4 kB / 395.6 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5066, allocations: 0 / 395.6 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5066, allocations: 3.984 kB / 395.6 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.5081, allocations: 0.6225 MB / 396.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5081, allocations: 0 / 396.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.5087, allocations: 59.95 kB / 396.3 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.5088, allocations: 20.84 kB / 396.3 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.5089, allocations: 19.94 kB / 396.4 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.51, allocations: 1.268 MB / 397.6 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5101, allocations: 4.031 kB / 397.6 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.5112, allocations: 474.2 kB / 398.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.5112, allocations: 89.11 kB / 398.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.5113, allocations: 4 kB / 398.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.5117, allocations: 15.94 kB / 398.2 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.5118, allocations: 31.91 kB / 398.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.5119, allocations: 24 kB / 398.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.732e-05/0.5119, allocations: 91.27 kB / 398.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.512, allocations: 0 / 398.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005462/0.5125, allocations: 72 kB / 398.4 MB, free: 14.16 MB / 330.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.0004881/0.513, allocations: 163.1 kB / 398.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007503/0.5138, allocations: 203.8 kB / 398.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.5138, allocations: 0 / 398.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.5143, allocations: 218.5 kB / 399 MB, free: 13.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/0.5149, allocations: 60.16 kB / 399 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5161, allocations: 0.5472 MB / 399.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.5164, allocations: 0.7127 MB / 400.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000737/0.5171, allocations: 73.39 kB / 400.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.5175, allocations: 51.41 kB / 400.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5175, allocations: 4 kB / 400.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of Templates: time 0.01302/0.5305, allocations: 4.823 MB / 405.2 MB, free: 7.246 MB / 330.7 MB