Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.279e-05, allocations: 4 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09459/0.09465, allocations: 44.5 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.88/16.97, allocations: 5.72 GB / 6.013 GB, free: 87.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/16.97, allocations: 69.75 kB / 6.013 GB, free: 87.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.68/32.65, allocations: 3.492 GB / 9.505 GB, free: 52.43 MB / 0.5888 GB Notification: Performance of FrontEnd: time 1.263e-06/32.65, allocations: 0.5469 kB / 9.505 GB, free: 52.43 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 2.524e-05/32.65, allocations: 7.828 kB / 9.505 GB, free: 52.43 MB / 0.5888 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.04715/32.7, allocations: 1.679 MB / 9.507 GB, free: 51.05 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/32.7, allocations: 8.031 kB / 9.507 GB, free: 51.04 MB / 0.5888 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/32.7, allocations: 68.67 kB / 9.507 GB, free: 50.99 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007496/32.7, allocations: 67.02 kB / 9.507 GB, free: 50.93 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/32.7, allocations: 318 kB / 9.507 GB, free: 50.68 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/32.7, allocations: 24.84 kB / 9.507 GB, free: 50.67 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/32.7, allocations: 34.38 kB / 9.507 GB, free: 50.64 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/32.7, allocations: 453.2 kB / 9.508 GB, free: 50.34 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/32.7, allocations: 4 kB / 9.508 GB, free: 50.34 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/32.7, allocations: 15.19 kB / 9.508 GB, free: 50.34 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/32.7, allocations: 8 kB / 9.508 GB, free: 50.33 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/32.7, allocations: 384.2 kB / 9.508 GB, free: 50.11 MB / 0.5888 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.008757/32.71, allocations: 5.232 MB / 9.513 GB, free: 45.88 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/32.71, allocations: 284.4 kB / 9.514 GB, free: 45.7 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/32.71, allocations: 135.9 kB / 9.514 GB, free: 45.62 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003453/32.72, allocations: 2.063 MB / 9.516 GB, free: 43.42 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/32.72, allocations: 42.39 kB / 9.516 GB, free: 43.38 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=30): time 3.807e-06/32.72, allocations: 0 / 9.516 GB, free: 43.38 MB / 0.5888 GB Notification: Performance of matching and sorting (n=34): time 0.007021/32.72, allocations: 1.124 MB / 9.517 GB, free: 42.39 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/32.72, allocations: 55.41 kB / 9.517 GB, free: 42.32 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/32.72, allocations: 227.5 kB / 9.517 GB, free: 42.11 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/32.72, allocations: 37.7 kB / 9.517 GB, free: 42.07 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/32.72, allocations: 245.5 kB / 9.517 GB, free: 41.84 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 9.78e-05/32.72, allocations: 121.1 kB / 9.517 GB, free: 41.75 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/32.72, allocations: 4 kB / 9.517 GB, free: 41.75 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 7.335e-05/32.72, allocations: 326.6 kB / 9.518 GB, free: 41.43 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/32.73, allocations: 112.4 kB / 9.518 GB, free: 41.32 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/32.73, allocations: 216.2 kB / 9.518 GB, free: 41.07 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/32.73, allocations: 146.2 kB / 9.518 GB, free: 40.94 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/32.73, allocations: 8 kB / 9.518 GB, free: 40.93 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001201/32.73, allocations: 423.2 kB / 9.519 GB, free: 40.54 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/32.73, allocations: 4.438 kB / 9.519 GB, free: 40.53 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/32.73, allocations: 8 kB / 9.519 GB, free: 40.52 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01194/32.74, allocations: 292.7 kB / 9.519 GB, free: 40.33 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/32.74, allocations: 90.66 kB / 9.519 GB, free: 40.25 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/32.74, allocations: 1.836 MB / 9.521 GB, free: 38.29 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/32.74, allocations: 41.98 kB / 9.521 GB, free: 38.25 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/32.74, allocations: 20 kB / 9.521 GB, free: 38.23 MB / 0.5888 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.0001518/32.74, allocations: 122.9 kB / 9.521 GB, free: 38.11 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-05/32.74, allocations: 31.66 kB / 9.521 GB, free: 38.08 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/32.74, allocations: 0.6991 MB / 9.522 GB, free: 37.45 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/32.74, allocations: 4 kB / 9.522 GB, free: 37.45 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/32.74, allocations: 0 / 9.522 GB, free: 37.45 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000992/32.74, allocations: 0.855 MB / 9.523 GB, free: 36.55 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/32.75, allocations: 1.199 MB / 9.524 GB, free: 35.38 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/32.75, allocations: 3.938 kB / 9.524 GB, free: 35.38 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/32.75, allocations: 63.91 kB / 9.524 GB, free: 35.32 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003091/32.75, allocations: 188.5 kB / 9.524 GB, free: 35.13 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/32.75, allocations: 15.98 kB / 9.524 GB, free: 35.11 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003587/32.75, allocations: 0.5712 MB / 9.525 GB, free: 34.52 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/32.75, allocations: 0 / 9.525 GB, free: 34.52 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/32.75, allocations: 0.7291 MB / 9.525 GB, free: 33.77 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/32.75, allocations: 124.6 kB / 9.525 GB, free: 33.64 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/32.75, allocations: 8 kB / 9.525 GB, free: 33.63 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/32.75, allocations: 17.88 kB / 9.525 GB, free: 33.61 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/32.75, allocations: 32.02 kB / 9.525 GB, free: 33.58 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/32.75, allocations: 12 kB / 9.525 GB, free: 33.57 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0003023/32.75, allocations: 215.1 kB / 9.526 GB, free: 33.36 MB / 0.5888 GB Notification: Performance of sort global known variables: time 4.3e-07/32.75, allocations: 0 / 9.526 GB, free: 33.36 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01779/32.77, allocations: 0.8525 MB / 9.526 GB, free: 32.56 MB / 0.5888 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.1837/32.95, allocations: 20.25 MB / 9.546 GB, free: 12.37 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.001399/32.96, allocations: 469.5 kB / 9.547 GB, free: 11.9 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/32.96, allocations: 0 / 9.547 GB, free: 11.9 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0005087/32.96, allocations: 217.8 kB / 9.547 GB, free: 11.69 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/32.96, allocations: 180.6 kB / 9.547 GB, free: 11.51 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/32.97, allocations: 1.128 MB / 9.548 GB, free: 10.4 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/32.97, allocations: 0.8208 MB / 9.549 GB, free: 9.555 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/32.97, allocations: 139.4 kB / 9.549 GB, free: 9.418 MB / 0.5888 GB Notification: Performance of SimCode: time 1.442e-06/32.97, allocations: 0 / 9.549 GB, free: 9.418 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.856/36.83, allocations: 37.42 MB / 9.586 GB, free: 96.89 MB / 0.5888 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat