Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.027e-05, allocations: 4 kB / 292.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 50.4 MB / 342.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.75/17.87, allocations: 5.751 GB / 6.085 GB, free: 116.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/17.87, allocations: 73.08 kB / 6.086 GB, free: 116.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 18.01/35.88, allocations: 3.685 GB / 9.771 GB, free: 8.883 MB / 0.6669 GB Notification: Performance of FrontEnd: time 1.723e-06/35.88, allocations: 0 / 9.771 GB, free: 8.883 MB / 0.6669 GB Notification: Performance of Transformations before backend: time 3.892e-05/35.88, allocations: 10.89 kB / 9.771 GB, free: 8.875 MB / 0.6669 GB 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.0622/35.94, allocations: 2.195 MB / 9.773 GB, free: 6.965 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/35.94, allocations: 8.031 kB / 9.773 GB, free: 6.957 MB / 0.6669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/35.94, allocations: 90.45 kB / 9.773 GB, free: 6.887 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009735/35.94, allocations: 94.95 kB / 9.773 GB, free: 6.797 MB / 0.6669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/35.94, allocations: 370.8 kB / 9.773 GB, free: 6.477 MB / 0.6669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/35.94, allocations: 41.73 kB / 9.773 GB, free: 6.449 MB / 0.6669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/35.94, allocations: 50.91 kB / 9.774 GB, free: 6.414 MB / 0.6669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/35.94, allocations: 0.6041 MB / 9.774 GB, free: 5.941 MB / 0.6669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/35.94, allocations: 4 kB / 9.774 GB, free: 5.938 MB / 0.6669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.77e-05/35.94, allocations: 18.81 kB / 9.774 GB, free: 5.934 MB / 0.6669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/35.94, allocations: 12 kB / 9.774 GB, free: 5.922 MB / 0.6669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/35.95, allocations: 0.5169 MB / 9.775 GB, free: 5.57 MB / 0.6669 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.5191/36.47, allocations: 6.076 MB / 9.781 GB, free: 105.2 MB / 0.6669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/36.47, allocations: 425.1 kB / 9.781 GB, free: 105.2 MB / 0.6669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005511/36.47, allocations: 203.5 kB / 9.781 GB, free: 105.2 MB / 0.6669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00532/36.47, allocations: 2.834 MB / 9.784 GB, free: 102.7 MB / 0.6669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/36.47, allocations: 38.12 kB / 9.784 GB, free: 102.7 MB / 0.6669 GB Notification: Performance of pre-optimization done (n=46): time 4.147e-06/36.47, allocations: 0 / 9.784 GB, free: 102.7 MB / 0.6669 GB Notification: Performance of matching and sorting (n=54): time 0.01372/36.49, allocations: 1.825 MB / 9.786 GB, free: 102.3 MB / 0.6669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/36.49, allocations: 58.48 kB / 9.786 GB, free: 102.3 MB / 0.6669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/36.49, allocations: 273.1 kB / 9.786 GB, free: 102.2 MB / 0.6669 GB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/36.49, allocations: 36.17 kB / 9.786 GB, free: 102.1 MB / 0.6669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/36.49, allocations: 231.6 kB / 9.786 GB, free: 102 MB / 0.6669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/36.49, allocations: 191.3 kB / 9.787 GB, free: 101.9 MB / 0.6669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/36.49, allocations: 15.41 kB / 9.787 GB, free: 101.9 MB / 0.6669 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/36.49, allocations: 346.7 kB / 9.787 GB, free: 101.6 MB / 0.6669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/36.49, allocations: 178.5 kB / 9.787 GB, free: 101.6 MB / 0.6669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/36.49, allocations: 313.2 kB / 9.787 GB, free: 101.4 MB / 0.6669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/36.49, allocations: 231 kB / 9.788 GB, free: 101.4 MB / 0.6669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/36.49, allocations: 0.6562 kB / 9.788 GB, free: 101.4 MB / 0.6669 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002117/36.49, allocations: 0.6431 MB / 9.788 GB, free: 101.3 MB / 0.6669 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/36.49, allocations: 6.938 kB / 9.788 GB, free: 101.3 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/36.49, allocations: 6.656 kB / 9.788 GB, free: 101.3 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02438/36.52, allocations: 0.5546 MB / 9.789 GB, free: 101.3 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/36.52, allocations: 140.4 kB / 9.789 GB, free: 101.3 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/36.52, allocations: 2.977 MB / 9.792 GB, free: 98.45 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/36.52, allocations: 56.66 kB / 9.792 GB, free: 98.45 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/36.52, allocations: 28.98 kB / 9.792 GB, free: 98.45 MB / 0.6669 GB 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.0002162/36.52, allocations: 144.9 kB / 9.792 GB, free: 98.34 MB / 0.6669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/36.52, allocations: 47.44 kB / 9.792 GB, free: 98.32 MB / 0.6669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/36.52, allocations: 1.038 MB / 9.793 GB, free: 98.23 MB / 0.6669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/36.52, allocations: 12.55 kB / 9.793 GB, free: 98.23 MB / 0.6669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/36.52, allocations: 0 / 9.793 GB, free: 98.23 MB / 0.6669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001524/36.53, allocations: 1.075 MB / 9.794 GB, free: 97.83 MB / 0.6669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/36.53, allocations: 1.713 MB / 9.796 GB, free: 97.48 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/36.53, allocations: 0 / 9.796 GB, free: 97.48 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/36.53, allocations: 106.3 kB / 9.796 GB, free: 97.48 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006275/36.54, allocations: 377.8 kB / 9.796 GB, free: 97.46 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/36.54, allocations: 20.77 kB / 9.796 GB, free: 97.46 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006937/36.54, allocations: 1.142 MB / 9.797 GB, free: 96.43 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/36.54, allocations: 2.156 kB / 9.797 GB, free: 96.43 MB / 0.6669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/36.54, allocations: 1.107 MB / 9.798 GB, free: 96.23 MB / 0.6669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/36.54, allocations: 143.3 kB / 9.799 GB, free: 96.11 MB / 0.6669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/36.54, allocations: 16.86 kB / 9.799 GB, free: 96.11 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/36.54, allocations: 29.22 kB / 9.799 GB, free: 96.1 MB / 0.6669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/36.54, allocations: 37.88 kB / 9.799 GB, free: 96.1 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/36.54, allocations: 27.31 kB / 9.799 GB, free: 96.1 MB / 0.6669 GB Notification: Performance of sorting global known variables: time 0.0003809/36.54, allocations: 244.3 kB / 9.799 GB, free: 96.01 MB / 0.6669 GB Notification: Performance of sort global known variables: time 4.3e-07/36.54, allocations: 0 / 9.799 GB, free: 96.01 MB / 0.6669 GB Notification: Performance of remove unused functions: time 0.02192/36.56, allocations: 1.115 MB / 9.8 GB, free: 96.01 MB / 0.6669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * 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.2612/36.82, allocations: 25.26 MB / 9.825 GB, free: 83.66 MB / 0.6669 GB Notification: Performance of simCode: created initialization part: time 0.00287/36.83, allocations: 0.6729 MB / 9.825 GB, free: 83.54 MB / 0.6669 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/36.83, allocations: 0 / 9.825 GB, free: 83.54 MB / 0.6669 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/36.83, allocations: 365.9 kB / 9.826 GB, free: 83.54 MB / 0.6669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/36.83, allocations: 250.3 kB / 9.826 GB, free: 83.53 MB / 0.6669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/36.85, allocations: 1.634 MB / 9.828 GB, free: 83.21 MB / 0.6669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/36.85, allocations: 0.8775 MB / 9.828 GB, free: 82.51 MB / 0.6669 GB Notification: Performance of simCode: alias equations: time 0.0009598/36.85, allocations: 232.8 kB / 9.829 GB, free: 82.5 MB / 0.6669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/36.85, allocations: 202.4 kB / 9.829 GB, free: 82.49 MB / 0.6669 GB Notification: Performance of SimCode: time 1.303e-06/36.85, allocations: 0 / 9.829 GB, free: 82.49 MB / 0.6669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1592/37.01, allocations: 51.5 MB / 9.879 GB, free: 79.66 MB / 0.6669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/37.01, allocations: 159.3 kB / 9.879 GB, free: 79.44 MB / 0.6669 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.811/42.83, allocations: 3.312 kB / 9.879 GB, free: 79.44 MB / 0.6669 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat