Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.341e-05, allocations: 0 / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.9/18.02, allocations: 5.751 GB / 6.086 GB, free: 122.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/18.02, allocations: 76.75 kB / 6.086 GB, free: 122.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 17.75/35.77, allocations: 3.685 GB / 9.771 GB, free: 29.78 MB / 0.6513 GB Notification: Performance of FrontEnd: time 1.764e-06/35.77, allocations: 0 / 9.771 GB, free: 29.78 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 2.912e-05/35.77, allocations: 8 kB / 9.771 GB, free: 29.77 MB / 0.6513 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.06772/35.84, allocations: 2.199 MB / 9.773 GB, free: 27.86 MB / 0.6513 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/35.84, allocations: 8.031 kB / 9.773 GB, free: 27.85 MB / 0.6513 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/35.84, allocations: 90.83 kB / 9.773 GB, free: 27.78 MB / 0.6513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009485/35.84, allocations: 91.39 kB / 9.774 GB, free: 27.69 MB / 0.6513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/35.84, allocations: 367.1 kB / 9.774 GB, free: 27.38 MB / 0.6513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/35.84, allocations: 40.42 kB / 9.774 GB, free: 27.35 MB / 0.6513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/35.84, allocations: 53.72 kB / 9.774 GB, free: 27.31 MB / 0.6513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/35.84, allocations: 0.6006 MB / 9.775 GB, free: 26.84 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/35.84, allocations: 11.94 kB / 9.775 GB, free: 26.83 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/35.84, allocations: 18.69 kB / 9.775 GB, free: 26.83 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/35.84, allocations: 12 kB / 9.775 GB, free: 26.82 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/35.84, allocations: 0.5163 MB / 9.775 GB, free: 26.46 MB / 0.6513 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.009821/35.85, allocations: 6.075 MB / 9.781 GB, free: 20.67 MB / 0.6513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/35.85, allocations: 428.7 kB / 9.781 GB, free: 20.39 MB / 0.6513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/35.85, allocations: 202.4 kB / 9.782 GB, free: 20.26 MB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0046/35.86, allocations: 2.825 MB / 9.784 GB, free: 17.06 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/35.86, allocations: 42.48 kB / 9.784 GB, free: 17.01 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=46): time 3.447e-06/35.86, allocations: 0 / 9.784 GB, free: 17.01 MB / 0.6513 GB Notification: Performance of matching and sorting (n=54): time 0.0132/35.87, allocations: 1.823 MB / 9.786 GB, free: 15.53 MB / 0.6513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/35.87, allocations: 59.84 kB / 9.786 GB, free: 15.46 MB / 0.6513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/35.87, allocations: 271.5 kB / 9.787 GB, free: 15.23 MB / 0.6513 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-05/35.87, allocations: 33.14 kB / 9.787 GB, free: 15.2 MB / 0.6513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/35.87, allocations: 237.7 kB / 9.787 GB, free: 15.03 MB / 0.6513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/35.87, allocations: 191.2 kB / 9.787 GB, free: 14.89 MB / 0.6513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/35.87, allocations: 9.25 kB / 9.787 GB, free: 14.89 MB / 0.6513 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/35.87, allocations: 356.8 kB / 9.787 GB, free: 14.55 MB / 0.6513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/35.87, allocations: 174.2 kB / 9.788 GB, free: 14.45 MB / 0.6513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/35.87, allocations: 319.1 kB / 9.788 GB, free: 14.15 MB / 0.6513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/35.87, allocations: 225.8 kB / 9.788 GB, free: 14.01 MB / 0.6513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/35.87, allocations: 3.938 kB / 9.788 GB, free: 14.01 MB / 0.6513 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001818/35.87, allocations: 0.6381 MB / 9.789 GB, free: 13.52 MB / 0.6513 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/35.87, allocations: 12.91 kB / 9.789 GB, free: 13.51 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/35.87, allocations: 4 kB / 9.789 GB, free: 13.51 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02388/35.9, allocations: 0.5477 MB / 9.789 GB, free: 13.02 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/35.9, allocations: 143.4 kB / 9.789 GB, free: 12.88 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/35.9, allocations: 2.991 MB / 9.792 GB, free: 9.793 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007758/35.9, allocations: 45.25 kB / 9.792 GB, free: 9.762 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/35.9, allocations: 33.86 kB / 9.792 GB, free: 9.734 MB / 0.6513 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.0002222/35.9, allocations: 142.6 kB / 9.792 GB, free: 9.609 MB / 0.6513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/35.9, allocations: 39.53 kB / 9.793 GB, free: 9.57 MB / 0.6513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/35.91, allocations: 1.045 MB / 9.794 GB, free: 8.863 MB / 0.6513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/35.91, allocations: 15.8 kB / 9.794 GB, free: 8.852 MB / 0.6513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/35.91, allocations: 3.953 kB / 9.794 GB, free: 8.848 MB / 0.6513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001499/35.91, allocations: 1.07 MB / 9.795 GB, free: 7.988 MB / 0.6513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/35.91, allocations: 1.716 MB / 9.796 GB, free: 6.777 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/35.91, allocations: 3.938 kB / 9.796 GB, free: 6.773 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/35.91, allocations: 107.7 kB / 9.796 GB, free: 6.672 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006358/35.92, allocations: 383.2 kB / 9.797 GB, free: 6.34 MB / 0.6513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/35.92, allocations: 19.8 kB / 9.797 GB, free: 6.328 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006998/35.92, allocations: 1.14 MB / 9.798 GB, free: 5.195 MB / 0.6513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/35.92, allocations: 3.953 kB / 9.798 GB, free: 5.191 MB / 0.6513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/35.92, allocations: 1.102 MB / 9.799 GB, free: 4.328 MB / 0.6513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/35.92, allocations: 139.4 kB / 9.799 GB, free: 4.18 MB / 0.6513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/35.92, allocations: 12 kB / 9.799 GB, free: 4.168 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/35.92, allocations: 29.86 kB / 9.799 GB, free: 4.141 MB / 0.6513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/35.92, allocations: 36.47 kB / 9.799 GB, free: 4.102 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/35.92, allocations: 27.98 kB / 9.799 GB, free: 4.074 MB / 0.6513 GB Notification: Performance of sorting global known variables: time 0.0003578/35.92, allocations: 242.2 kB / 9.799 GB, free: 3.836 MB / 0.6513 GB Notification: Performance of sort global known variables: time 4.61e-07/35.92, allocations: 0 / 9.799 GB, free: 3.836 MB / 0.6513 GB Notification: Performance of remove unused functions: time 0.02351/35.95, allocations: 1.12 MB / 9.801 GB, free: 2.785 MB / 0.6513 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.8235/36.77, allocations: 25.24 MB / 9.825 GB, free: 114 MB / 0.6669 GB Notification: Performance of simCode: created initialization part: time 0.002344/36.77, allocations: 0.6766 MB / 9.826 GB, free: 113.9 MB / 0.6669 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/36.77, allocations: 4.062 kB / 9.826 GB, free: 113.9 MB / 0.6669 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/36.77, allocations: 369.9 kB / 9.826 GB, free: 113.9 MB / 0.6669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/36.77, allocations: 250.1 kB / 9.826 GB, free: 113.8 MB / 0.6669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/36.8, allocations: 1.636 MB / 9.828 GB, free: 113.5 MB / 0.6669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/36.8, allocations: 0.8796 MB / 9.829 GB, free: 112.8 MB / 0.6669 GB Notification: Performance of simCode: alias equations: time 0.0009316/36.8, allocations: 231.2 kB / 9.829 GB, free: 112.8 MB / 0.6669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/36.8, allocations: 201.6 kB / 9.829 GB, free: 112.8 MB / 0.6669 GB Notification: Performance of SimCode: time 1.272e-06/36.8, allocations: 3.531 kB / 9.829 GB, free: 112.8 MB / 0.6669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/36.93, allocations: 51.49 MB / 9.88 GB, free: 110.1 MB / 0.6669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/36.93, allocations: 163.5 kB / 9.88 GB, free: 109.9 MB / 0.6669 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.972/42.9, allocations: 0 / 9.88 GB, free: 109.9 MB / 0.6669 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat