Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.053/1.053, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.032e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1767, allocations: 25.15 MB / 176.6 MB, free: 24 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.905/2.082, allocations: 0.6536 GB / 0.8261 GB, free: 44.96 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/2.082, allocations: 67.84 kB / 0.8262 GB, free: 44.93 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1295/2.212, allocations: 37.44 MB / 0.8627 GB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.673e-06/2.212, allocations: 4 kB / 0.8627 GB, free: 10.9 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.098e-06/2.212, allocations: 0 / 0.8627 GB, free: 10.9 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005759/2.212, allocations: 410.7 kB / 0.8631 GB, free: 10.45 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/2.213, allocations: 8.031 kB / 0.8631 GB, free: 10.45 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/2.213, allocations: 42.55 kB / 0.8632 GB, free: 10.39 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/2.213, allocations: 15.91 kB / 0.8632 GB, free: 10.38 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/2.213, allocations: 190.9 kB / 0.8634 GB, free: 10.15 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/2.213, allocations: 8.188 kB / 0.8634 GB, free: 10.14 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/2.213, allocations: 8 kB / 0.8634 GB, free: 10.14 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/2.213, allocations: 131 kB / 0.8635 GB, free: 10 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/2.213, allocations: 0 / 0.8635 GB, free: 10 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/2.213, allocations: 8 kB / 0.8635 GB, free: 9.996 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/2.213, allocations: 0 / 0.8635 GB, free: 9.996 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/2.214, allocations: 160.3 kB / 0.8637 GB, free: 9.84 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.001156/2.215, allocations: 0.5955 MB / 0.8642 GB, free: 9.164 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/2.215, allocations: 150.6 kB / 0.8644 GB, free: 9.008 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/2.215, allocations: 52.84 kB / 0.8644 GB, free: 8.953 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/2.217, allocations: 1.05 MB / 0.8655 GB, free: 7.73 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/2.217, allocations: 38.5 kB / 0.8655 GB, free: 7.684 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.375e-06/2.217, allocations: 4 kB / 0.8655 GB, free: 7.68 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.007169/2.224, allocations: 1.049 MB / 0.8665 GB, free: 6.535 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/2.224, allocations: 59.34 kB / 0.8666 GB, free: 6.465 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/2.224, allocations: 105.2 kB / 0.8667 GB, free: 6.355 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/2.224, allocations: 25.7 kB / 0.8667 GB, free: 6.324 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/2.224, allocations: 178.6 kB / 0.8669 GB, free: 6.145 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/2.224, allocations: 63.02 kB / 0.8669 GB, free: 6.082 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/2.224, allocations: 4 kB / 0.8669 GB, free: 6.078 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.96e-05/2.224, allocations: 326.8 kB / 0.8673 GB, free: 5.75 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/2.224, allocations: 40.19 kB / 0.8673 GB, free: 5.711 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/2.224, allocations: 71.61 kB / 0.8674 GB, free: 5.629 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/2.225, allocations: 64.98 kB / 0.8674 GB, free: 5.566 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/2.225, allocations: 4 kB / 0.8674 GB, free: 5.562 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000479/2.225, allocations: 192 kB / 0.8676 GB, free: 5.367 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/2.225, allocations: 7.938 kB / 0.8676 GB, free: 5.359 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/2.225, allocations: 0 / 0.8676 GB, free: 5.359 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/2.225, allocations: 24.84 kB / 0.8676 GB, free: 5.332 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/2.226, allocations: 47.97 kB / 0.8677 GB, free: 5.285 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003258/2.226, allocations: 0.5446 MB / 0.8682 GB, free: 4.715 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/2.226, allocations: 7.938 kB / 0.8682 GB, free: 4.707 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/2.226, allocations: 8 kB / 0.8682 GB, free: 4.699 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.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.0001887/2.226, allocations: 133.9 kB / 0.8684 GB, free: 4.562 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/2.227, allocations: 11.91 kB / 0.8684 GB, free: 4.551 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006346/2.227, allocations: 227.2 kB / 0.8686 GB, free: 4.316 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/2.227, allocations: 4 kB / 0.8686 GB, free: 4.312 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/2.227, allocations: 0 / 0.8686 GB, free: 4.312 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/2.227, allocations: 7.953 kB / 0.8686 GB, free: 4.305 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008863/2.228, allocations: 0.527 MB / 0.8691 GB, free: 3.711 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/2.228, allocations: 7.938 kB / 0.8691 GB, free: 3.703 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/2.229, allocations: 44.06 kB / 0.8692 GB, free: 3.66 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/2.229, allocations: 28.78 kB / 0.8692 GB, free: 3.629 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/2.229, allocations: 8 kB / 0.8692 GB, free: 3.621 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008502/2.23, allocations: 1.265 MB / 0.8704 GB, free: 2.227 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/2.23, allocations: 0 / 0.8704 GB, free: 2.227 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/2.23, allocations: 389.1 kB / 0.8708 GB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/2.23, allocations: 105 kB / 0.8709 GB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/2.23, allocations: 8 kB / 0.8709 GB, free: 1.676 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/2.231, allocations: 4 kB / 0.8709 GB, free: 1.672 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/2.231, allocations: 23.92 kB / 0.8709 GB, free: 1.648 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/2.231, allocations: 12.06 kB / 0.871 GB, free: 1.637 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.748e-05/2.231, allocations: 91.2 kB / 0.871 GB, free: 1.547 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.231, allocations: 0 / 0.871 GB, free: 1.547 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009534/2.232, allocations: 195.8 kB / 0.8712 GB, free: 1.355 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 (19): * Single equations (assignments): 18 * 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.1783/2.41, allocations: 1.705 MB / 0.8729 GB, free: 57.07 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006661/2.411, allocations: 145.2 kB / 0.873 GB, free: 57.07 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/2.411, allocations: 0.5312 kB / 0.873 GB, free: 57.07 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/2.411, allocations: 184.1 kB / 0.8732 GB, free: 56.97 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/2.412, allocations: 51.98 kB / 0.8733 GB, free: 56.97 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/2.413, allocations: 433 kB / 0.8737 GB, free: 56.78 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/2.413, allocations: 0.7067 MB / 0.8744 GB, free: 56.08 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/2.414, allocations: 47.3 kB / 0.8744 GB, free: 56.07 MB / 234.7 MB Notification: Performance of SimCode: time 1.122e-06/2.414, allocations: 0 / 0.8744 GB, free: 56.07 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.083/5.496, allocations: 8.189 MB / 0.8824 GB, free: 55.41 MB / 234.7 MB