Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.089/2.089, allocations: 225.8 MB / 239.3 MB, free: 1.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.425e-05, allocations: 3.984 kB / 292.7 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 50.41 MB / 343.1 MB, free: 9.012 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.599/1.72, allocations: 443.2 MB / 0.7679 GB, free: 133.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.72, allocations: 69.77 kB / 0.768 GB, free: 133.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08918/1.809, allocations: 25.4 MB / 0.7928 GB, free: 112.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.809, allocations: 0 / 0.7928 GB, free: 112.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/1.809, allocations: 0 / 0.7928 GB, free: 112.9 MB / 458.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.001039/1.81, allocations: 441.9 kB / 0.7932 GB, free: 112.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.81, allocations: 12.03 kB / 0.7932 GB, free: 112.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/1.81, allocations: 34.44 kB / 0.7932 GB, free: 112.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/1.821, allocations: 458.3 kB / 0.7937 GB, free: 111.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/1.821, allocations: 167 kB / 0.7938 GB, free: 111.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/1.821, allocations: 7.812 kB / 0.7938 GB, free: 111.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/1.821, allocations: 7.906 kB / 0.7938 GB, free: 111.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007452/1.822, allocations: 268.3 kB / 0.7941 GB, free: 111.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/1.822, allocations: 3.938 kB / 0.7941 GB, free: 111.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/1.822, allocations: 7.75 kB / 0.7941 GB, free: 111.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/1.822, allocations: 0 / 0.7941 GB, free: 111.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007267/1.823, allocations: 229.6 kB / 0.7943 GB, free: 111.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/1.824, allocations: 423.6 kB / 0.7947 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/1.825, allocations: 184.1 kB / 0.7949 GB, free: 110.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/1.825, allocations: 65.72 kB / 0.795 GB, free: 110.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/1.826, allocations: 7.984 kB / 0.795 GB, free: 110.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/1.826, allocations: 42.14 kB / 0.795 GB, free: 110.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/1.826, allocations: 0 / 0.795 GB, free: 110.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001793/1.827, allocations: 296.7 kB / 0.7953 GB, free: 110.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/1.827, allocations: 55.39 kB / 0.7954 GB, free: 110.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/1.828, allocations: 92.62 kB / 0.7954 GB, free: 110.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/1.828, allocations: 36.95 kB / 0.7955 GB, free: 110.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/1.828, allocations: 91.89 kB / 0.7956 GB, free: 110.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/1.828, allocations: 61.38 kB / 0.7956 GB, free: 110.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/1.828, allocations: 0 / 0.7956 GB, free: 110.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.207e-05/1.828, allocations: 318.4 kB / 0.7959 GB, free: 109.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/1.828, allocations: 57.36 kB / 0.796 GB, free: 109.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/1.828, allocations: 102.9 kB / 0.7961 GB, free: 109.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/1.828, allocations: 63.47 kB / 0.7961 GB, free: 109.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.828, allocations: 0 / 0.7961 GB, free: 109.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005739/1.829, allocations: 207.2 kB / 0.7963 GB, free: 109.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.829, allocations: 4 kB / 0.7963 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.829, allocations: 16.05 kB / 0.7964 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.829, allocations: 0 / 0.7964 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/1.83, allocations: 47.95 kB / 0.7964 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.83, allocations: 7.938 kB / 0.7964 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/1.83, allocations: 15.42 kB / 0.7964 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/1.83, allocations: 8 kB / 0.7964 GB, free: 109.4 MB / 458.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.972e-05/1.83, allocations: 116.2 kB / 0.7965 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/1.83, allocations: 15.86 kB / 0.7966 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007771/1.831, allocations: 241.3 kB / 0.7968 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.831, allocations: 0 / 0.7968 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.831, allocations: 0 / 0.7968 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.831, allocations: 7.984 kB / 0.7968 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/1.832, allocations: 0.5319 MB / 0.7973 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.833, allocations: 0 / 0.7973 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/1.833, allocations: 47.89 kB / 0.7974 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.833, allocations: 4.062 kB / 0.7974 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/1.833, allocations: 11.86 kB / 0.7974 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/1.833, allocations: 4 kB / 0.7974 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.833, allocations: 0 / 0.7974 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/1.834, allocations: 307.1 kB / 0.7977 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/1.834, allocations: 88.95 kB / 0.7978 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/1.834, allocations: 3.984 kB / 0.7978 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/1.834, allocations: 19.38 kB / 0.7978 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/1.834, allocations: 7.984 kB / 0.7978 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/1.834, allocations: 11.81 kB / 0.7978 GB, free: 108.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.258e-05/1.834, allocations: 87.2 kB / 0.7979 GB, free: 108 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.92e-07/1.834, allocations: 0 / 0.7979 GB, free: 108 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005954/1.835, allocations: 74.12 kB / 0.798 GB, free: 107.9 MB / 458.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.001415/1.836, allocations: 1.413 MB / 0.7993 GB, free: 106.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004685/1.837, allocations: 152.5 kB / 0.7995 GB, free: 106.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.837, allocations: 4 kB / 0.7995 GB, free: 106.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/1.837, allocations: 81.41 kB / 0.7996 GB, free: 106.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/1.838, allocations: 39.47 kB / 0.7996 GB, free: 106.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009882/1.839, allocations: 212.8 kB / 0.7998 GB, free: 106.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/1.839, allocations: 0.6973 MB / 0.8005 GB, free: 105.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006524/1.84, allocations: 64.5 kB / 0.8005 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/1.84, allocations: 38.59 kB / 0.8006 GB, free: 105.3 MB / 458.7 MB Notification: Performance of SimCode: time 7.22e-07/1.84, allocations: 0 / 0.8006 GB, free: 105.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03737/1.877, allocations: 13.36 MB / 0.8136 GB, free: 92.02 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/1.877, allocations: 135.3 kB / 0.8138 GB, free: 91.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/5, allocations: 0 / 0.8138 GB, free: 91.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat