Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.877/1.877, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.805e-05/4.825e-05, allocations: 7.984 kB / 225.1 MB, free: 2.742 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2731, allocations: 38.76 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.165/2.438, allocations: 0.738 GB / 0.9957 GB, free: 49.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/2.438, allocations: 80.44 kB / 0.9957 GB, free: 48.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.509/2.947, allocations: 61.44 MB / 1.056 GB, free: 115.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/2.948, allocations: 2.312 kB / 1.056 GB, free: 115.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/2.948, allocations: 2.875 kB / 1.056 GB, free: 115.3 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001222/2.949, allocations: 471.5 kB / 1.056 GB, free: 114.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/2.949, allocations: 9.469 kB / 1.056 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.371e-05/2.949, allocations: 53.77 kB / 1.056 GB, free: 114.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01537/2.964, allocations: 0.7046 MB / 1.057 GB, free: 114.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009675/2.965, allocations: 275.1 kB / 1.057 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/2.965, allocations: 9.984 kB / 1.057 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/2.966, allocations: 26.62 kB / 1.057 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/2.968, allocations: 0.6599 MB / 1.058 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/2.968, allocations: 3.438 kB / 1.058 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/2.969, allocations: 10.67 kB / 1.058 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-05/2.969, allocations: 7.312 kB / 1.058 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003045/2.972, allocations: 0.7119 MB / 1.059 GB, free: 114.6 MB / 362.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.006596/2.978, allocations: 1.229 MB / 1.06 GB, free: 114 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/2.98, allocations: 293.7 kB / 1.06 GB, free: 113.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000695/2.98, allocations: 182.4 kB / 1.06 GB, free: 113.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/2.981, allocations: 252.2 kB / 1.06 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/2.982, allocations: 41.19 kB / 1.061 GB, free: 113.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 6.031e-06/2.982, allocations: 0 / 1.061 GB, free: 113.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001797/2.983, allocations: 373.4 kB / 1.061 GB, free: 113.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/2.983, allocations: 83.89 kB / 1.061 GB, free: 113.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/2.984, allocations: 120.8 kB / 1.061 GB, free: 113.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-05/2.984, allocations: 27.95 kB / 1.061 GB, free: 113.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/2.984, allocations: 185.2 kB / 1.061 GB, free: 113.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/2.984, allocations: 100.9 kB / 1.061 GB, free: 113.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/2.984, allocations: 7.656 kB / 1.061 GB, free: 113.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/2.984, allocations: 320.2 kB / 1.062 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006806/2.985, allocations: 169.5 kB / 1.062 GB, free: 112.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007619/2.986, allocations: 275.9 kB / 1.062 GB, free: 112.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/2.987, allocations: 201.3 kB / 1.062 GB, free: 112.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/2.987, allocations: 3.531 kB / 1.062 GB, free: 112.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002042/2.989, allocations: 487 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/2.989, allocations: 6.594 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/2.989, allocations: 3.281 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/2.989, allocations: 6.094 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/2.99, allocations: 76.11 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/2.99, allocations: 5.656 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/2.992, allocations: 54.08 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/2.992, allocations: 13.78 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.000285/2.992, allocations: 128.4 kB / 1.063 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/2.992, allocations: 16.92 kB / 1.063 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/2.995, allocations: 458.8 kB / 1.064 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/2.995, allocations: 3.719 kB / 1.064 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/2.995, allocations: 0 / 1.064 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/2.995, allocations: 3.938 kB / 1.064 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/2.997, allocations: 0.4949 MB / 1.064 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/2.997, allocations: 3.062 kB / 1.064 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/2.998, allocations: 59.86 kB / 1.064 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/2.998, allocations: 2.875 kB / 1.064 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-05/2.998, allocations: 12.73 kB / 1.064 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/2.998, allocations: 3.938 kB / 1.064 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.998, allocations: 0 / 1.064 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/3.001, allocations: 0.6418 MB / 1.065 GB, free: 112 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/3.001, allocations: 96.55 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/3.001, allocations: 9.5 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/3.002, allocations: 21.52 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/3.002, allocations: 16.8 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/3.002, allocations: 19.55 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001157/3.003, allocations: 103.6 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.001e-06/3.003, allocations: 0 / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001737/3.004, allocations: 209.8 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.005059/3.009, allocations: 1.899 MB / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001648/3.011, allocations: 401.1 kB / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/3.011, allocations: 0 / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007322/3.012, allocations: 197.7 kB / 1.068 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/3.014, allocations: 84.78 kB / 1.068 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/3.017, allocations: 0.9219 MB / 1.069 GB, free: 110.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/3.018, allocations: 0.7376 MB / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006841/3.018, allocations: 70.02 kB / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/3.018, allocations: 0 / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.892/5.91, allocations: 10.34 MB / 1.079 GB, free: 108.9 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat