Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.746/1.746, allocations: 171.2 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.099e-05, allocations: 4 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2745, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.53/16.81, allocations: 5.483 GB / 5.736 GB, free: 94.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/16.81, allocations: 73.34 kB / 5.736 GB, free: 94.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.749/22.56, allocations: 0.9587 GB / 6.694 GB, free: 38.95 MB / 474.9 MB Notification: Performance of FrontEnd: time 2.094e-06/22.56, allocations: 2.875 kB / 6.694 GB, free: 38.95 MB / 474.9 MB Notification: Performance of Transformations before backend: time 3.48e-05/22.56, allocations: 10.41 kB / 6.694 GB, free: 38.95 MB / 474.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.03826/22.59, allocations: 1.568 MB / 6.696 GB, free: 38.26 MB / 474.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/22.59, allocations: 8.938 kB / 6.696 GB, free: 38.26 MB / 474.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009702/22.59, allocations: 94.78 kB / 6.696 GB, free: 38.23 MB / 474.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/22.6, allocations: 377.2 kB / 6.696 GB, free: 38.02 MB / 474.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/22.6, allocations: 13.97 kB / 6.696 GB, free: 38.02 MB / 474.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.72e-05/22.6, allocations: 26.91 kB / 6.697 GB, free: 38.02 MB / 474.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001023/22.6, allocations: 454.8 kB / 6.697 GB, free: 38.02 MB / 474.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/22.6, allocations: 0.5079 MB / 6.697 GB, free: 37.87 MB / 474.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/22.6, allocations: 8.578 kB / 6.697 GB, free: 37.87 MB / 474.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/22.6, allocations: 4 kB / 6.697 GB, free: 37.86 MB / 474.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/22.6, allocations: 14.22 kB / 6.697 GB, free: 37.86 MB / 474.9 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.01049/22.61, allocations: 6.404 MB / 6.704 GB, free: 34.94 MB / 474.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/22.61, allocations: 324.6 kB / 6.704 GB, free: 34.92 MB / 474.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/22.61, allocations: 186.1 kB / 6.704 GB, free: 34.9 MB / 474.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003993/22.61, allocations: 2.425 MB / 6.707 GB, free: 32.83 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/22.61, allocations: 38.66 kB / 6.707 GB, free: 32.79 MB / 474.9 MB Notification: Performance of pre-optimization done (n=44): time 3.707e-06/22.61, allocations: 0 / 6.707 GB, free: 32.79 MB / 474.9 MB Notification: Performance of matching and sorting (n=52): time 0.01982/22.63, allocations: 2.287 MB / 6.709 GB, free: 32.41 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/22.63, allocations: 55.31 kB / 6.709 GB, free: 32.35 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/22.63, allocations: 246.9 kB / 6.709 GB, free: 32.25 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/22.63, allocations: 25.7 kB / 6.709 GB, free: 32.21 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/22.63, allocations: 244.6 kB / 6.709 GB, free: 32.07 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/22.63, allocations: 172.8 kB / 6.71 GB, free: 31.98 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/22.63, allocations: 0 / 6.71 GB, free: 31.98 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 8.798e-05/22.63, allocations: 351.4 kB / 6.71 GB, free: 31.66 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/22.64, allocations: 158.7 kB / 6.71 GB, free: 31.66 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/22.64, allocations: 309.4 kB / 6.71 GB, free: 31.49 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005837/22.64, allocations: 0.5388 MB / 6.711 GB, free: 31.48 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/22.64, allocations: 3.844 kB / 6.711 GB, free: 31.48 MB / 474.9 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006923/22.65, allocations: 0.9232 MB / 6.712 GB, free: 31.39 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/22.65, allocations: 6.719 kB / 6.712 GB, free: 31.39 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/22.65, allocations: 3.844 kB / 6.712 GB, free: 31.39 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/22.65, allocations: 97.17 kB / 6.712 GB, free: 31.36 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/22.65, allocations: 145 kB / 6.712 GB, free: 31.36 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005306/22.66, allocations: 3.147 MB / 6.715 GB, free: 28.54 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008186/22.66, allocations: 35.48 kB / 6.715 GB, free: 28.53 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/22.66, allocations: 31.14 kB / 6.715 GB, free: 28.53 MB / 474.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002274/22.66, allocations: 126.6 kB / 6.715 GB, free: 28.42 MB / 474.9 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006612/22.66, allocations: 0.7824 MB / 6.716 GB, free: 28.34 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/22.66, allocations: 45.23 kB / 6.716 GB, free: 28.31 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/22.67, allocations: 1.057 MB / 6.717 GB, free: 28.21 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/22.67, allocations: 14.44 kB / 6.717 GB, free: 28.21 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/22.67, allocations: 2.344 kB / 6.717 GB, free: 28.21 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002832/22.67, allocations: 1.097 MB / 6.718 GB, free: 27.81 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00442/22.67, allocations: 1.642 MB / 6.72 GB, free: 27.47 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/22.67, allocations: 1.125 kB / 6.72 GB, free: 27.47 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007234/22.67, allocations: 99.34 kB / 6.72 GB, free: 27.47 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006405/22.68, allocations: 124.6 kB / 6.72 GB, free: 27.45 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/22.68, allocations: 10.69 kB / 6.72 GB, free: 27.45 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/22.68, allocations: 1.21 MB / 6.721 GB, free: 26.4 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/22.68, allocations: 0 / 6.721 GB, free: 26.4 MB / 474.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/22.68, allocations: 1.165 MB / 6.722 GB, free: 26.15 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/22.68, allocations: 125.2 kB / 6.722 GB, free: 26.03 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/22.68, allocations: 3.344 kB / 6.722 GB, free: 26.03 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/22.68, allocations: 24.7 kB / 6.722 GB, free: 26.02 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/22.68, allocations: 40.77 kB / 6.723 GB, free: 26.02 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-05/22.68, allocations: 22.45 kB / 6.723 GB, free: 26.02 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.0002592/22.68, allocations: 188.4 kB / 6.723 GB, free: 25.93 MB / 474.9 MB Notification: Performance of sort global known variables: time 4.9e-07/22.68, allocations: 0 / 6.723 GB, free: 25.93 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.02269/22.7, allocations: 1.065 MB / 6.724 GB, free: 25.76 MB / 474.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.2958/23, allocations: 25.55 MB / 6.749 GB, free: 12.85 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.002053/23, allocations: 0.6463 MB / 6.749 GB, free: 12.41 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/23, allocations: 2.438 kB / 6.749 GB, free: 12.41 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0009799/23, allocations: 349 kB / 6.75 GB, free: 12.23 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/23.01, allocations: 203.5 kB / 6.75 GB, free: 12.11 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/23.03, allocations: 1.569 MB / 6.751 GB, free: 10.88 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/23.03, allocations: 0.8671 MB / 6.752 GB, free: 10.05 MB / 474.9 MB Notification: Performance of simCode: alias equations: time 0.001225/23.03, allocations: 301.6 kB / 6.753 GB, free: 9.863 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/23.03, allocations: 194 kB / 6.753 GB, free: 9.82 MB / 474.9 MB Notification: Performance of SimCode: time 1.102e-06/23.03, allocations: 0 / 6.753 GB, free: 9.82 MB / 474.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1651/23.19, allocations: 42.77 MB / 6.794 GB, free: 14.76 MB / 0.495 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/23.19, allocations: 120.4 kB / 6.795 GB, free: 14.57 MB / 0.495 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.271/28.47, allocations: 4 kB / 6.795 GB, free: 14.56 MB / 0.495 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat