Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_IdealGasH2O",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 3.073/3.073, allocations: 195 MB / 202.9 MB, free: 6.734 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.396e-05, allocations: 2.156 kB / 249.7 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.318/2.445, allocations: 437.3 MB / 0.7144 GB, free: 107 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/2.445, allocations: 64.03 kB / 0.7145 GB, free: 107 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1461/2.591, allocations: 24.38 MB / 0.7383 GB, free: 87.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/2.591, allocations: 0 / 0.7383 GB, free: 87.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/2.592, allocations: 0 / 0.7383 GB, free: 87.07 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0016/2.593, allocations: 449.2 kB / 0.7387 GB, free: 86.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/2.593, allocations: 15.97 kB / 0.7388 GB, free: 86.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/2.593, allocations: 30.56 kB / 0.7388 GB, free: 86.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.018/2.611, allocations: 459.9 kB / 0.7392 GB, free: 86.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/2.612, allocations: 163.1 kB / 0.7394 GB, free: 85.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/2.612, allocations: 4 kB / 0.7394 GB, free: 85.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/2.612, allocations: 7.938 kB / 0.7394 GB, free: 85.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001191/2.613, allocations: 228.1 kB / 0.7396 GB, free: 85.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/2.613, allocations: 121.1 kB / 0.7397 GB, free: 85.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/2.614, allocations: 0 / 0.7397 GB, free: 85.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/2.614, allocations: 0 / 0.7397 GB, free: 85.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/2.614, allocations: 0 / 0.7397 GB, free: 85.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/2.616, allocations: 395.2 kB / 0.7401 GB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/2.618, allocations: 185.1 kB / 0.7403 GB, free: 85.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/2.618, allocations: 58.16 kB / 0.7403 GB, free: 85.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/2.618, allocations: 3.625 kB / 0.7403 GB, free: 85.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/2.618, allocations: 34.56 kB / 0.7404 GB, free: 85.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 5.16e-06/2.618, allocations: 0 / 0.7404 GB, free: 85.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002915/2.621, allocations: 292.6 kB / 0.7407 GB, free: 84.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/2.621, allocations: 51.41 kB / 0.7407 GB, free: 84.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/2.622, allocations: 100.4 kB / 0.7408 GB, free: 84.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/2.622, allocations: 25.7 kB / 0.7408 GB, free: 84.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/2.622, allocations: 95.39 kB / 0.7409 GB, free: 84.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.359e-05/2.622, allocations: 51.02 kB / 0.741 GB, free: 84.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/2.622, allocations: 0 / 0.741 GB, free: 84.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.216e-05/2.622, allocations: 322.2 kB / 0.7413 GB, free: 84.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/2.622, allocations: 64.67 kB / 0.7413 GB, free: 84.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/2.623, allocations: 94.53 kB / 0.7414 GB, free: 84.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/2.623, allocations: 65.25 kB / 0.7415 GB, free: 84.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/2.623, allocations: 0 / 0.7415 GB, free: 84.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008392/2.624, allocations: 195.3 kB / 0.7417 GB, free: 83.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/2.624, allocations: 4 kB / 0.7417 GB, free: 83.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/2.624, allocations: 0 / 0.7417 GB, free: 83.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/2.624, allocations: 4 kB / 0.7417 GB, free: 83.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/2.625, allocations: 51.89 kB / 0.7417 GB, free: 83.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/2.625, allocations: 3.984 kB / 0.7417 GB, free: 83.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/2.626, allocations: 11.98 kB / 0.7417 GB, free: 83.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-05/2.626, allocations: 20.11 kB / 0.7418 GB, free: 83.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/2.626, allocations: 116 kB / 0.7419 GB, free: 83.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/2.626, allocations: 7.906 kB / 0.7419 GB, free: 83.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/2.627, allocations: 224.6 kB / 0.7421 GB, free: 83.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/2.628, allocations: 4 kB / 0.7421 GB, free: 83.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/2.628, allocations: 0 / 0.7421 GB, free: 83.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/2.628, allocations: 3.938 kB / 0.7421 GB, free: 83.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/2.63, allocations: 0.4923 MB / 0.7426 GB, free: 82.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/2.63, allocations: 4.031 kB / 0.7426 GB, free: 82.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/2.631, allocations: 51.83 kB / 0.7426 GB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/2.631, allocations: 4 kB / 0.7426 GB, free: 82.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/2.631, allocations: 7.938 kB / 0.7426 GB, free: 82.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/2.631, allocations: 4 kB / 0.7427 GB, free: 82.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/2.631, allocations: 0 / 0.7427 GB, free: 82.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007755/2.632, allocations: 299.6 kB / 0.7429 GB, free: 82.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/2.632, allocations: 89 kB / 0.743 GB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/2.632, allocations: 4 kB / 0.743 GB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007699/2.633, allocations: 7.984 kB / 0.743 GB, free: 82.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/2.633, allocations: 19.23 kB / 0.7431 GB, free: 82.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.272e-05/2.633, allocations: 15.98 kB / 0.7431 GB, free: 82.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.075e-05/2.633, allocations: 75.28 kB / 0.7431 GB, free: 82.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.21e-07/2.633, allocations: 4 kB / 0.7431 GB, free: 82.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008788/2.634, allocations: 65.55 kB / 0.7432 GB, free: 82.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002264/2.636, allocations: 1.47 MB / 0.7446 GB, free: 80.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006806/2.637, allocations: 150.2 kB / 0.7448 GB, free: 80.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/2.637, allocations: 0 / 0.7448 GB, free: 80.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/2.637, allocations: 86.16 kB / 0.7449 GB, free: 80.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000783/2.638, allocations: 28.66 kB / 0.7449 GB, free: 80.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/2.639, allocations: 210.4 kB / 0.7451 GB, free: 80.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/2.64, allocations: 0.6971 MB / 0.7458 GB, free: 79.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001189/2.641, allocations: 52.73 kB / 0.7458 GB, free: 79.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/2.641, allocations: 46.47 kB / 0.7459 GB, free: 79.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/2.641, allocations: 0 / 0.7459 GB, free: 79.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07722/2.719, allocations: 7.277 MB / 0.753 GB, free: 72.41 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002443/2.719, allocations: 123.9 kB / 0.7531 GB, free: 72.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.873/6.592, allocations: 0 / 0.7531 GB, free: 72.22 MB / 410.7 MB "" Variables in the reference:time,smoothState.p,der_p,der_T Variables in the result:_D_cse1,a,beta,cp,cv,der(m_flow_ext),der(smoothState.T),der(smoothState.p),der(state.T),der_T,der_p,gamma,h_is,k,m_flow_ext,s,smoothState.T,smoothState.p,state.T,state.p,state2.T,state2.p,time