Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.056/1.056, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.047e-05, allocations: 0 / 151.5 MB, free: 15.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1751, allocations: 25.16 MB / 176.6 MB, free: 44 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8506/1.026, allocations: 296.4 MB / 473 MB, free: 51.95 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/1.026, allocations: 60.16 kB / 473.1 MB, free: 51.91 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1039/1.13, allocations: 31.05 MB / 0.4923 GB, free: 24.54 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.966e-06/1.13, allocations: 4.219 kB / 0.4923 GB, free: 24.54 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/1.13, allocations: 0 / 0.4923 GB, free: 24.54 MB / 234.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.0004894/1.131, allocations: 398.5 kB / 0.4927 GB, free: 24.11 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.131, allocations: 8.031 kB / 0.4927 GB, free: 24.1 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/1.131, allocations: 38.56 kB / 0.4927 GB, free: 24.05 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/1.131, allocations: 11.84 kB / 0.4928 GB, free: 24.04 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/1.131, allocations: 194.9 kB / 0.4929 GB, free: 23.81 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/1.131, allocations: 8 kB / 0.493 GB, free: 23.8 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/1.131, allocations: 12 kB / 0.493 GB, free: 23.79 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/1.131, allocations: 128.2 kB / 0.4931 GB, free: 23.65 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.131, allocations: 0 / 0.4931 GB, free: 23.65 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/1.131, allocations: 4 kB / 0.4931 GB, free: 23.64 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/1.131, allocations: 7.953 kB / 0.4931 GB, free: 23.64 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/1.132, allocations: 95.94 kB / 0.4932 GB, free: 23.54 MB / 234.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0009342/1.132, allocations: 0.6442 MB / 0.4938 GB, free: 22.82 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/1.133, allocations: 134.6 kB / 0.4939 GB, free: 22.68 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/1.133, allocations: 40.86 kB / 0.494 GB, free: 22.63 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005638/1.134, allocations: 0.5864 MB / 0.4946 GB, free: 21.92 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/1.134, allocations: 30.81 kB / 0.4946 GB, free: 21.88 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.996e-06/1.134, allocations: 0 / 0.4946 GB, free: 21.88 MB / 234.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.007607/1.141, allocations: 1.034 MB / 0.4956 GB, free: 20.77 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/1.141, allocations: 55.41 kB / 0.4956 GB, free: 20.7 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/1.141, allocations: 105 kB / 0.4957 GB, free: 20.59 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/1.141, allocations: 29.7 kB / 0.4958 GB, free: 20.55 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/1.142, allocations: 158.8 kB / 0.4959 GB, free: 20.4 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/1.142, allocations: 70.94 kB / 0.496 GB, free: 20.33 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/1.142, allocations: 8 kB / 0.496 GB, free: 20.32 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/1.142, allocations: 314.8 kB / 0.4963 GB, free: 20 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/1.142, allocations: 52.17 kB / 0.4964 GB, free: 19.95 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/1.142, allocations: 87.5 kB / 0.4964 GB, free: 19.86 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/1.142, allocations: 62.22 kB / 0.4965 GB, free: 19.8 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.142, allocations: 0 / 0.4965 GB, free: 19.8 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005657/1.143, allocations: 232.2 kB / 0.4967 GB, free: 19.57 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.143, allocations: 4 kB / 0.4967 GB, free: 19.56 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.143, allocations: 0 / 0.4967 GB, free: 19.56 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002519/1.143, allocations: 56.86 kB / 0.4968 GB, free: 19.5 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/1.143, allocations: 55.91 kB / 0.4968 GB, free: 19.45 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004177/1.144, allocations: 0.5602 MB / 0.4974 GB, free: 18.86 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/1.144, allocations: 8.031 kB / 0.4974 GB, free: 18.86 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/1.144, allocations: 27.98 kB / 0.4974 GB, free: 18.83 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(200.0, 200.0) max = min(6000.0, 6000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real 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.0002084/1.144, allocations: 138.3 kB / 0.4975 GB, free: 18.69 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/1.144, allocations: 15.81 kB / 0.4976 GB, free: 18.68 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/1.146, allocations: 306.9 kB / 0.4979 GB, free: 18.36 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.146, allocations: 0 / 0.4979 GB, free: 18.36 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.146, allocations: 0 / 0.4979 GB, free: 18.36 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.146, allocations: 3.984 kB / 0.4979 GB, free: 18.36 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/1.147, allocations: 0.566 MB / 0.4984 GB, free: 17.73 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.147, allocations: 0 / 0.4984 GB, free: 17.73 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/1.147, allocations: 59.89 kB / 0.4985 GB, free: 17.67 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/1.147, allocations: 24.84 kB / 0.4985 GB, free: 17.64 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/1.147, allocations: 12 kB / 0.4985 GB, free: 17.63 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008439/1.148, allocations: 1.269 MB / 0.4997 GB, free: 16.23 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.148, allocations: 0 / 0.4997 GB, free: 16.23 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/1.149, allocations: 427.8 kB / 0.5001 GB, free: 15.77 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/1.149, allocations: 85.05 kB / 0.5002 GB, free: 15.66 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/1.149, allocations: 8 kB / 0.5002 GB, free: 15.66 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/1.149, allocations: 12 kB / 0.5002 GB, free: 15.64 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/1.149, allocations: 23.97 kB / 0.5003 GB, free: 15.62 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/1.149, allocations: 27.98 kB / 0.5003 GB, free: 15.59 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.094e-05/1.149, allocations: 91.58 kB / 0.5004 GB, free: 15.5 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.149, allocations: 0 / 0.5004 GB, free: 15.5 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0008469/1.15, allocations: 143.9 kB / 0.5005 GB, free: 15.36 MB / 234.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 (20): * Single equations (assignments): 19 * 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.002199/1.152, allocations: 1.665 MB / 0.5021 GB, free: 13.66 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005947/1.153, allocations: 166.7 kB / 0.5023 GB, free: 13.5 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.153, allocations: 0 / 0.5023 GB, free: 13.5 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/1.153, allocations: 197.6 kB / 0.5025 GB, free: 13.29 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/1.154, allocations: 45.73 kB / 0.5025 GB, free: 13.25 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/1.155, allocations: 425.2 kB / 0.5029 GB, free: 12.79 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/1.155, allocations: 0.7088 MB / 0.5036 GB, free: 12.05 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/1.156, allocations: 71.39 kB / 0.5037 GB, free: 11.98 MB / 234.7 MB Notification: Performance of SimCode: time 1.012e-06/1.156, allocations: 0 / 0.5037 GB, free: 11.98 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.829/3.985, allocations: 7.724 MB / 0.5112 GB, free: 4.273 MB / 234.7 MB