Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.012e-05, allocations: 7.984 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 50.41 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.88/17.99, allocations: 5.751 GB / 6.085 GB, free: 111.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/17.99, allocations: 76.25 kB / 6.086 GB, free: 111.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 18.23/36.22, allocations: 3.685 GB / 9.771 GB, free: 100.4 MB / 0.6669 GB Notification: Performance of FrontEnd: time 2.425e-06/36.22, allocations: 0.5469 kB / 9.771 GB, free: 100.4 MB / 0.6669 GB Notification: Performance of Transformations before backend: time 5.445e-05/36.22, allocations: 9.812 kB / 9.771 GB, free: 100.4 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.06753/36.29, allocations: 2.193 MB / 9.773 GB, free: 99.56 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/36.29, allocations: 12.19 kB / 9.773 GB, free: 99.56 MB / 0.6669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/36.29, allocations: 90.88 kB / 9.773 GB, free: 99.52 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/36.29, allocations: 88.17 kB / 9.773 GB, free: 99.5 MB / 0.6669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/36.29, allocations: 373.5 kB / 9.773 GB, free: 99.29 MB / 0.6669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/36.29, allocations: 38.41 kB / 9.774 GB, free: 99.28 MB / 0.6669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/36.29, allocations: 53.88 kB / 9.774 GB, free: 99.28 MB / 0.6669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/36.29, allocations: 0.613 MB / 9.774 GB, free: 99.13 MB / 0.6669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/36.29, allocations: 1.781 kB / 9.774 GB, free: 99.13 MB / 0.6669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-05/36.29, allocations: 21.66 kB / 9.774 GB, free: 99.13 MB / 0.6669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/36.29, allocations: 11.41 kB / 9.774 GB, free: 99.13 MB / 0.6669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/36.29, allocations: 0.5095 MB / 9.775 GB, free: 99.13 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.01268/36.31, allocations: 6.082 MB / 9.781 GB, free: 96.57 MB / 0.6669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/36.31, allocations: 423.8 kB / 9.781 GB, free: 96.54 MB / 0.6669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/36.31, allocations: 208.1 kB / 9.781 GB, free: 96.54 MB / 0.6669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005043/36.31, allocations: 2.826 MB / 9.784 GB, free: 94.09 MB / 0.6669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/36.31, allocations: 39.95 kB / 9.784 GB, free: 94.05 MB / 0.6669 GB Notification: Performance of pre-optimization done (n=46): time 6.672e-06/36.31, allocations: 0.75 kB / 9.784 GB, free: 94.05 MB / 0.6669 GB Notification: Performance of matching and sorting (n=54): time 0.01388/36.33, allocations: 1.825 MB / 9.786 GB, free: 93.68 MB / 0.6669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/36.33, allocations: 54.94 kB / 9.786 GB, free: 93.62 MB / 0.6669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/36.33, allocations: 273.6 kB / 9.786 GB, free: 93.51 MB / 0.6669 GB Notification: Performance of collectPreVariables (initialization): time 9.209e-05/36.33, allocations: 34.39 kB / 9.786 GB, free: 93.48 MB / 0.6669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/36.33, allocations: 289.6 kB / 9.786 GB, free: 93.28 MB / 0.6669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/36.33, allocations: 192.2 kB / 9.787 GB, free: 93.18 MB / 0.6669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/36.33, allocations: 13.22 kB / 9.787 GB, free: 93.18 MB / 0.6669 GB Notification: Performance of setup shared object (initialization): time 7.824e-05/36.33, allocations: 335.2 kB / 9.787 GB, free: 92.87 MB / 0.6669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/36.33, allocations: 169.3 kB / 9.787 GB, free: 92.87 MB / 0.6669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/36.33, allocations: 324.1 kB / 9.787 GB, free: 92.7 MB / 0.6669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/36.33, allocations: 226.6 kB / 9.788 GB, free: 92.7 MB / 0.6669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/36.33, allocations: 0 / 9.788 GB, free: 92.7 MB / 0.6669 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001979/36.33, allocations: 0.6283 MB / 9.788 GB, free: 92.62 MB / 0.6669 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/36.33, allocations: 6.031 kB / 9.788 GB, free: 92.62 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/36.33, allocations: 7.812 kB / 9.788 GB, free: 92.62 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02417/36.36, allocations: 0.5484 MB / 9.789 GB, free: 92.6 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/36.36, allocations: 142.7 kB / 9.789 GB, free: 92.6 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/36.36, allocations: 2.993 MB / 9.792 GB, free: 89.72 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008426/36.36, allocations: 49.02 kB / 9.792 GB, free: 89.71 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/36.36, allocations: 28.97 kB / 9.792 GB, free: 89.71 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.0002238/36.36, allocations: 142 kB / 9.792 GB, free: 89.61 MB / 0.6669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/36.36, allocations: 46.38 kB / 9.792 GB, free: 89.59 MB / 0.6669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/36.36, allocations: 1.039 MB / 9.793 GB, free: 89.49 MB / 0.6669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/36.36, allocations: 10.73 kB / 9.793 GB, free: 89.49 MB / 0.6669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/36.36, allocations: 3.953 kB / 9.793 GB, free: 89.49 MB / 0.6669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001577/36.37, allocations: 1.075 MB / 9.794 GB, free: 89.1 MB / 0.6669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/36.37, allocations: 1.712 MB / 9.796 GB, free: 88.75 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/36.37, allocations: 1.781 kB / 9.796 GB, free: 88.75 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007949/36.37, allocations: 103.7 kB / 9.796 GB, free: 88.75 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006379/36.38, allocations: 384.8 kB / 9.796 GB, free: 88.72 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/36.38, allocations: 10.25 kB / 9.796 GB, free: 88.72 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007332/36.38, allocations: 1.142 MB / 9.797 GB, free: 87.69 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/36.38, allocations: 3.953 kB / 9.797 GB, free: 87.68 MB / 0.6669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/36.38, allocations: 1.107 MB / 9.799 GB, free: 87.48 MB / 0.6669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/36.38, allocations: 142.9 kB / 9.799 GB, free: 87.36 MB / 0.6669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/36.38, allocations: 16.92 kB / 9.799 GB, free: 87.36 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005883/36.38, allocations: 32.2 kB / 9.799 GB, free: 87.36 MB / 0.6669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/36.38, allocations: 32.53 kB / 9.799 GB, free: 87.36 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/36.38, allocations: 27.53 kB / 9.799 GB, free: 87.36 MB / 0.6669 GB Notification: Performance of sorting global known variables: time 0.0003856/36.38, allocations: 246.2 kB / 9.799 GB, free: 87.27 MB / 0.6669 GB Notification: Performance of sort global known variables: time 4.81e-07/36.38, allocations: 3.094 kB / 9.799 GB, free: 87.27 MB / 0.6669 GB Notification: Performance of remove unused functions: time 0.02408/36.41, allocations: 1.119 MB / 9.8 GB, free: 87.1 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.2677/36.67, allocations: 25.24 MB / 9.825 GB, free: 74.57 MB / 0.6669 GB Notification: Performance of simCode: created initialization part: time 0.002952/36.68, allocations: 0.674 MB / 9.825 GB, free: 74.46 MB / 0.6669 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/36.68, allocations: 0 / 9.825 GB, free: 74.46 MB / 0.6669 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/36.68, allocations: 370.8 kB / 9.826 GB, free: 74.45 MB / 0.6669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/36.68, allocations: 254.6 kB / 9.826 GB, free: 74.44 MB / 0.6669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02362/36.7, allocations: 1.673 MB / 9.828 GB, free: 73.93 MB / 0.6669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/36.71, allocations: 0.8758 MB / 9.829 GB, free: 73.23 MB / 0.6669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/36.71, allocations: 207.6 kB / 9.829 GB, free: 73.22 MB / 0.6669 GB Notification: Performance of SimCode: time 1.763e-06/36.71, allocations: 0 / 9.829 GB, free: 73.22 MB / 0.6669 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.832/40.54, allocations: 48.58 MB / 9.876 GB, free: 69.16 MB / 0.6669 GB