Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 7.516e-05/7.513e-05, allocations: 4 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2896, allocations: 38.77 MB / 263.9 MB, free: 9.727 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.415/1.705, allocations: 432.3 MB / 0.6798 GB, free: 89.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/1.705, allocations: 65.09 kB / 0.6799 GB, free: 89.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08734/1.792, allocations: 24.81 MB / 0.7041 GB, free: 68.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/1.792, allocations: 0 / 0.7041 GB, free: 68.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/1.792, allocations: 4 kB / 0.7041 GB, free: 68.95 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001018/1.793, allocations: 433.4 kB / 0.7045 GB, free: 68.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.793, allocations: 8.031 kB / 0.7045 GB, free: 68.48 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/1.794, allocations: 46.05 kB / 0.7046 GB, free: 68.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009977/1.803, allocations: 454.2 kB / 0.705 GB, free: 68.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.159e-05/1.804, allocations: 179 kB / 0.7052 GB, free: 67.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/1.804, allocations: 7.609 kB / 0.7052 GB, free: 67.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/1.804, allocations: 8 kB / 0.7052 GB, free: 67.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007572/1.805, allocations: 260.3 kB / 0.7054 GB, free: 67.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.805, allocations: 0 / 0.7054 GB, free: 67.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/1.805, allocations: 3.5 kB / 0.7054 GB, free: 67.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/1.805, allocations: 4 kB / 0.7054 GB, free: 67.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/1.805, allocations: 233.4 kB / 0.7057 GB, free: 67.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/1.807, allocations: 433.5 kB / 0.7061 GB, free: 67.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/1.808, allocations: 184.3 kB / 0.7063 GB, free: 66.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/1.808, allocations: 57.92 kB / 0.7063 GB, free: 66.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/1.808, allocations: 4 kB / 0.7063 GB, free: 66.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/1.808, allocations: 34.55 kB / 0.7063 GB, free: 66.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/1.808, allocations: 0 / 0.7063 GB, free: 66.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.00178/1.81, allocations: 313.1 kB / 0.7066 GB, free: 66.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/1.81, allocations: 55.41 kB / 0.7067 GB, free: 66.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/1.81, allocations: 92.94 kB / 0.7068 GB, free: 66.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/1.81, allocations: 25.7 kB / 0.7068 GB, free: 66.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/1.81, allocations: 95.97 kB / 0.7069 GB, free: 66.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/1.81, allocations: 61.78 kB / 0.707 GB, free: 66.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/1.811, allocations: 4 kB / 0.707 GB, free: 66.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.264e-05/1.811, allocations: 322.2 kB / 0.7073 GB, free: 65.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/1.811, allocations: 69.06 kB / 0.7073 GB, free: 65.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/1.811, allocations: 100 kB / 0.7074 GB, free: 65.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/1.811, allocations: 63.84 kB / 0.7075 GB, free: 65.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.811, allocations: 0 / 0.7075 GB, free: 65.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005497/1.812, allocations: 212 kB / 0.7077 GB, free: 65.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.812, allocations: 4 kB / 0.7077 GB, free: 65.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.812, allocations: 0 / 0.7077 GB, free: 65.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.812, allocations: 4 kB / 0.7077 GB, free: 65.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/1.813, allocations: 55.52 kB / 0.7078 GB, free: 65.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.813, allocations: 0 / 0.7078 GB, free: 65.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/1.813, allocations: 15.61 kB / 0.7078 GB, free: 65.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/1.813, allocations: 16.11 kB / 0.7078 GB, free: 65.46 MB / 362.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 9.776e-05/1.813, allocations: 116.3 kB / 0.7079 GB, free: 65.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/1.813, allocations: 11.59 kB / 0.7079 GB, free: 65.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007898/1.814, allocations: 236.8 kB / 0.7081 GB, free: 65.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.814, allocations: 4 kB / 0.7081 GB, free: 65.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.814, allocations: 0 / 0.7081 GB, free: 65.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.814, allocations: 0 / 0.7081 GB, free: 65.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.815, allocations: 0.5403 MB / 0.7087 GB, free: 64.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.815, allocations: 8.062 kB / 0.7087 GB, free: 64.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/1.816, allocations: 43.59 kB / 0.7087 GB, free: 64.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.816, allocations: 0 / 0.7087 GB, free: 64.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/1.816, allocations: 11.98 kB / 0.7087 GB, free: 64.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.816, allocations: 0 / 0.7087 GB, free: 64.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.816, allocations: 3.953 kB / 0.7087 GB, free: 64.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/1.817, allocations: 319.6 kB / 0.709 GB, free: 64.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/1.817, allocations: 88.97 kB / 0.7091 GB, free: 64.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/1.817, allocations: 4 kB / 0.7091 GB, free: 64.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/1.817, allocations: 11.23 kB / 0.7091 GB, free: 64.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/1.817, allocations: 11.98 kB / 0.7092 GB, free: 64.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/1.817, allocations: 19.8 kB / 0.7092 GB, free: 64.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.269e-05/1.817, allocations: 79.28 kB / 0.7092 GB, free: 64.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.817, allocations: 0 / 0.7092 GB, free: 64.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006045/1.818, allocations: 69.86 kB / 0.7093 GB, free: 64 MB / 362.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.001463/1.819, allocations: 1.406 MB / 0.7107 GB, free: 62.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005101/1.82, allocations: 151.2 kB / 0.7108 GB, free: 62.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.82, allocations: 4.25 kB / 0.7108 GB, free: 62.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/1.82, allocations: 86.11 kB / 0.7109 GB, free: 62.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/1.821, allocations: 31.91 kB / 0.7109 GB, free: 62.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/1.822, allocations: 218.5 kB / 0.7112 GB, free: 62.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/1.822, allocations: 0.6935 MB / 0.7118 GB, free: 61.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006804/1.823, allocations: 60.7 kB / 0.7119 GB, free: 61.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/1.823, allocations: 42.03 kB / 0.7119 GB, free: 61.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/1.823, allocations: 0 / 0.7119 GB, free: 61.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0408/1.864, allocations: 13.33 MB / 0.7249 GB, free: 48.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003145/1.864, allocations: 146.7 kB / 0.7251 GB, free: 47.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/4.89, allocations: 0 / 0.7251 GB, free: 47.86 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat