Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.541e-05, allocations: 4 kB / 292.7 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.32/18.43, allocations: 5.751 GB / 6.086 GB, free: 123.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/18.43, allocations: 68.53 kB / 6.086 GB, free: 123.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 14.44/32.87, allocations: 2.858 GB / 8.944 GB, free: 131.4 MB / 0.6356 GB Notification: Performance of FrontEnd: time 2.835e-06/32.87, allocations: 4 kB / 8.944 GB, free: 131.4 MB / 0.6356 GB Notification: Performance of Transformations before backend: time 3.751e-05/32.87, allocations: 7.875 kB / 8.944 GB, free: 131.4 MB / 0.6356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.05028/32.92, allocations: 1.674 MB / 8.945 GB, free: 130.5 MB / 0.6356 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/32.92, allocations: 7.656 kB / 8.945 GB, free: 130.5 MB / 0.6356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/32.92, allocations: 70.33 kB / 8.945 GB, free: 130.5 MB / 0.6356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007287/32.92, allocations: 63 kB / 8.946 GB, free: 130.5 MB / 0.6356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/32.92, allocations: 316.2 kB / 8.946 GB, free: 130.3 MB / 0.6356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/32.92, allocations: 26.47 kB / 8.946 GB, free: 130.3 MB / 0.6356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/32.92, allocations: 36.62 kB / 8.946 GB, free: 130.3 MB / 0.6356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/32.92, allocations: 455.2 kB / 8.946 GB, free: 130.2 MB / 0.6356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/32.92, allocations: 7.141 kB / 8.946 GB, free: 130.2 MB / 0.6356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/32.92, allocations: 20.12 kB / 8.946 GB, free: 130.1 MB / 0.6356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/32.92, allocations: 11.08 kB / 8.946 GB, free: 130.1 MB / 0.6356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/32.92, allocations: 379.5 kB / 8.947 GB, free: 130.1 MB / 0.6356 GB 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.009132/32.93, allocations: 5.219 MB / 8.952 GB, free: 128.2 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009139/32.93, allocations: 289.3 kB / 8.952 GB, free: 128.1 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/32.93, allocations: 132.1 kB / 8.952 GB, free: 128.1 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003426/32.94, allocations: 2.054 MB / 8.954 GB, free: 126.3 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/32.94, allocations: 47.38 kB / 8.954 GB, free: 126.3 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=30): time 3.466e-06/32.94, allocations: 0 / 8.954 GB, free: 126.3 MB / 0.6356 GB Notification: Performance of matching and sorting (n=34): time 0.006936/32.94, allocations: 1.122 MB / 8.955 GB, free: 125.9 MB / 0.6356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/32.94, allocations: 62.48 kB / 8.955 GB, free: 125.9 MB / 0.6356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/32.94, allocations: 227.6 kB / 8.956 GB, free: 125.8 MB / 0.6356 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/32.94, allocations: 35.2 kB / 8.956 GB, free: 125.8 MB / 0.6356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/32.95, allocations: 189.9 kB / 8.956 GB, free: 125.6 MB / 0.6356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/32.95, allocations: 121 kB / 8.956 GB, free: 125.6 MB / 0.6356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/32.95, allocations: 9 kB / 8.956 GB, free: 125.6 MB / 0.6356 GB Notification: Performance of setup shared object (initialization): time 9.172e-05/32.95, allocations: 338 kB / 8.956 GB, free: 125.3 MB / 0.6356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/32.95, allocations: 108.3 kB / 8.956 GB, free: 125.3 MB / 0.6356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/32.95, allocations: 223.8 kB / 8.957 GB, free: 125.1 MB / 0.6356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/32.95, allocations: 146.3 kB / 8.957 GB, free: 125.1 MB / 0.6356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/32.95, allocations: 0 / 8.957 GB, free: 125.1 MB / 0.6356 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001225/32.95, allocations: 436.5 kB / 8.957 GB, free: 125.1 MB / 0.6356 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/32.95, allocations: 8.531 kB / 8.957 GB, free: 125.1 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/32.95, allocations: 3.969 kB / 8.957 GB, free: 125.1 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01182/32.96, allocations: 289.5 kB / 8.957 GB, free: 125 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/32.96, allocations: 83.23 kB / 8.958 GB, free: 125 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/32.96, allocations: 1.841 MB / 8.959 GB, free: 123.3 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/32.96, allocations: 28.23 kB / 8.959 GB, free: 123.3 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/32.96, allocations: 18.81 kB / 8.959 GB, free: 123.3 MB / 0.6356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001589/32.96, allocations: 129 kB / 8.959 GB, free: 123.2 MB / 0.6356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/32.96, allocations: 35.14 kB / 8.96 GB, free: 123.1 MB / 0.6356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/32.96, allocations: 0.6908 MB / 8.96 GB, free: 123 MB / 0.6356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/32.96, allocations: 6.594 kB / 8.96 GB, free: 123 MB / 0.6356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/32.96, allocations: 0 / 8.96 GB, free: 123 MB / 0.6356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009938/32.97, allocations: 0.8577 MB / 8.961 GB, free: 122.6 MB / 0.6356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/32.97, allocations: 1.19 MB / 8.962 GB, free: 122.2 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/32.97, allocations: 3.312 kB / 8.962 GB, free: 122.2 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/32.97, allocations: 65.56 kB / 8.962 GB, free: 122.2 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/32.97, allocations: 193.3 kB / 8.962 GB, free: 122.2 MB / 0.6356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/32.97, allocations: 11.28 kB / 8.962 GB, free: 122.2 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003765/32.97, allocations: 0.5668 MB / 8.963 GB, free: 121.7 MB / 0.6356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/32.97, allocations: 4.094 kB / 8.963 GB, free: 121.7 MB / 0.6356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/32.97, allocations: 0.7177 MB / 8.964 GB, free: 121.5 MB / 0.6356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/32.97, allocations: 129 kB / 8.964 GB, free: 121.4 MB / 0.6356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/32.97, allocations: 11 kB / 8.964 GB, free: 121.4 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/32.97, allocations: 24.53 kB / 8.964 GB, free: 121.4 MB / 0.6356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/32.97, allocations: 28.52 kB / 8.964 GB, free: 121.4 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/32.97, allocations: 14.47 kB / 8.964 GB, free: 121.4 MB / 0.6356 GB Notification: Performance of sorting global known variables: time 0.0003075/32.97, allocations: 215.1 kB / 8.964 GB, free: 121.3 MB / 0.6356 GB Notification: Performance of sort global known variables: time 4.51e-07/32.97, allocations: 0 / 8.964 GB, free: 121.3 MB / 0.6356 GB Notification: Performance of remove unused functions: time 0.02173/33, allocations: 0.8539 MB / 8.965 GB, free: 121.2 MB / 0.6356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.1928/33.19, allocations: 20.24 MB / 8.985 GB, free: 105.5 MB / 0.6356 GB Notification: Performance of simCode: created initialization part: time 0.001389/33.19, allocations: 479.6 kB / 8.985 GB, free: 105.2 MB / 0.6356 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/33.19, allocations: 0 / 8.985 GB, free: 105.2 MB / 0.6356 GB Notification: Performance of simCode: created simulation system equations: time 0.000495/33.19, allocations: 214.4 kB / 8.985 GB, free: 105.1 MB / 0.6356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/33.19, allocations: 172.7 kB / 8.986 GB, free: 105 MB / 0.6356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/33.21, allocations: 1.106 MB / 8.987 GB, free: 104.1 MB / 0.6356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/33.21, allocations: 0.8202 MB / 8.987 GB, free: 103.3 MB / 0.6356 GB Notification: Performance of simCode: alias equations: time 0.0006402/33.21, allocations: 192.3 kB / 8.988 GB, free: 103.2 MB / 0.6356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/33.21, allocations: 133.7 kB / 8.988 GB, free: 103.2 MB / 0.6356 GB Notification: Performance of SimCode: time 1.293e-06/33.21, allocations: 0 / 8.988 GB, free: 103.2 MB / 0.6356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09614/33.31, allocations: 40.31 MB / 9.027 GB, free: 74.91 MB / 0.6356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/33.31, allocations: 171.3 kB / 9.027 GB, free: 74.68 MB / 0.6356 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.055/38.36, allocations: 0 / 9.027 GB, free: 74.68 MB / 0.6356 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat