Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.105e-05, allocations: 2.031 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 50.41 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.64/17.75, allocations: 5.751 GB / 6.085 GB, free: 111.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/17.75, allocations: 74.06 kB / 6.086 GB, free: 111.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 13.88/31.64, allocations: 2.858 GB / 8.943 GB, free: 127.1 MB / 0.6356 GB Notification: Performance of FrontEnd: time 1.643e-06/31.64, allocations: 0 / 8.943 GB, free: 127.1 MB / 0.6356 GB Notification: Performance of Transformations before backend: time 2.873e-05/31.64, allocations: 12.23 kB / 8.943 GB, free: 127.1 MB / 0.6356 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.04673/31.68, allocations: 1.67 MB / 8.945 GB, free: 126.2 MB / 0.6356 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/31.68, allocations: 9.062 kB / 8.945 GB, free: 126.2 MB / 0.6356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/31.68, allocations: 75.25 kB / 8.945 GB, free: 126.2 MB / 0.6356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007302/31.68, allocations: 63.62 kB / 8.945 GB, free: 126.1 MB / 0.6356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/31.68, allocations: 321.3 kB / 8.945 GB, free: 125.9 MB / 0.6356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/31.68, allocations: 26.34 kB / 8.945 GB, free: 125.9 MB / 0.6356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/31.68, allocations: 36.12 kB / 8.945 GB, free: 125.9 MB / 0.6356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/31.69, allocations: 448.6 kB / 8.946 GB, free: 125.8 MB / 0.6356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/31.69, allocations: 9.172 kB / 8.946 GB, free: 125.8 MB / 0.6356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/31.69, allocations: 16.91 kB / 8.946 GB, free: 125.8 MB / 0.6356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/31.69, allocations: 8.469 kB / 8.946 GB, free: 125.8 MB / 0.6356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/31.69, allocations: 379.8 kB / 8.946 GB, free: 125.8 MB / 0.6356 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.009564/31.7, allocations: 5.217 MB / 8.951 GB, free: 123.8 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/31.7, allocations: 293 kB / 8.952 GB, free: 123.8 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/31.7, allocations: 130.1 kB / 8.952 GB, free: 123.8 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003455/31.7, allocations: 2.059 MB / 8.954 GB, free: 122 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/31.7, allocations: 33.5 kB / 8.954 GB, free: 121.9 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=30): time 3.066e-06/31.7, allocations: 0 / 8.954 GB, free: 121.9 MB / 0.6356 GB Notification: Performance of matching and sorting (n=34): time 0.007012/31.71, allocations: 1.122 MB / 8.955 GB, free: 121.6 MB / 0.6356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/31.71, allocations: 67.02 kB / 8.955 GB, free: 121.5 MB / 0.6356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/31.71, allocations: 224.6 kB / 8.955 GB, free: 121.4 MB / 0.6356 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/31.71, allocations: 34.67 kB / 8.955 GB, free: 121.4 MB / 0.6356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/31.71, allocations: 246.1 kB / 8.955 GB, free: 121.2 MB / 0.6356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/31.71, allocations: 122.5 kB / 8.956 GB, free: 121.2 MB / 0.6356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/31.71, allocations: 12.91 kB / 8.956 GB, free: 121.2 MB / 0.6356 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/31.71, allocations: 327.3 kB / 8.956 GB, free: 120.8 MB / 0.6356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/31.71, allocations: 107.4 kB / 8.956 GB, free: 120.8 MB / 0.6356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/31.71, allocations: 217.7 kB / 8.956 GB, free: 120.7 MB / 0.6356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/31.71, allocations: 146 kB / 8.956 GB, free: 120.7 MB / 0.6356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/31.71, allocations: 3.969 kB / 8.956 GB, free: 120.7 MB / 0.6356 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001154/31.71, allocations: 419.4 kB / 8.957 GB, free: 120.6 MB / 0.6356 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/31.71, allocations: 13.44 kB / 8.957 GB, free: 120.6 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/31.71, allocations: 7.844 kB / 8.957 GB, free: 120.6 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01227/31.72, allocations: 291 kB / 8.957 GB, free: 120.6 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/31.72, allocations: 84.8 kB / 8.957 GB, free: 120.6 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/31.73, allocations: 1.831 MB / 8.959 GB, free: 118.8 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/31.73, allocations: 35.52 kB / 8.959 GB, free: 118.8 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/31.73, allocations: 24.33 kB / 8.959 GB, free: 118.8 MB / 0.6356 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.0001525/31.73, allocations: 125.6 kB / 8.959 GB, free: 118.7 MB / 0.6356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/31.73, allocations: 34.27 kB / 8.959 GB, free: 118.7 MB / 0.6356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/31.73, allocations: 0.6917 MB / 8.96 GB, free: 118.6 MB / 0.6356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/31.73, allocations: 12.05 kB / 8.96 GB, free: 118.6 MB / 0.6356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/31.73, allocations: 0 / 8.96 GB, free: 118.6 MB / 0.6356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/31.73, allocations: 0.8577 MB / 8.961 GB, free: 117.9 MB / 0.6356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/31.73, allocations: 1.187 MB / 8.962 GB, free: 117.2 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/31.73, allocations: 2.625 kB / 8.962 GB, free: 117.2 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/31.73, allocations: 67.11 kB / 8.962 GB, free: 117.1 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003246/31.73, allocations: 190.4 kB / 8.962 GB, free: 117.1 MB / 0.6356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/31.74, allocations: 5.797 kB / 8.962 GB, free: 117.1 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000391/31.74, allocations: 0.57 MB / 8.963 GB, free: 116.5 MB / 0.6356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/31.74, allocations: 96 / 8.963 GB, free: 116.5 MB / 0.6356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/31.74, allocations: 0.726 MB / 8.963 GB, free: 116 MB / 0.6356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/31.74, allocations: 122.9 kB / 8.963 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/31.74, allocations: 7.125 kB / 8.963 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/31.74, allocations: 26.88 kB / 8.963 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/31.74, allocations: 27.58 kB / 8.963 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/31.74, allocations: 11.12 kB / 8.964 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of sorting global known variables: time 0.0003069/31.74, allocations: 219.4 kB / 8.964 GB, free: 115.7 MB / 0.6356 GB Notification: Performance of sort global known variables: time 3.91e-07/31.74, allocations: 3.938 kB / 8.964 GB, free: 115.7 MB / 0.6356 GB Notification: Performance of remove unused functions: time 0.02016/31.76, allocations: 0.8587 MB / 8.965 GB, free: 115 MB / 0.6356 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.1999/31.96, allocations: 20.24 MB / 8.984 GB, free: 95.57 MB / 0.6356 GB Notification: Performance of simCode: created initialization part: time 0.001346/31.96, allocations: 478.9 kB / 8.985 GB, free: 95.21 MB / 0.6356 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/31.96, allocations: 0 / 8.985 GB, free: 95.21 MB / 0.6356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004986/31.96, allocations: 213.4 kB / 8.985 GB, free: 95.09 MB / 0.6356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/31.96, allocations: 184.9 kB / 8.985 GB, free: 94.99 MB / 0.6356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/31.98, allocations: 1.133 MB / 8.986 GB, free: 94.08 MB / 0.6356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/31.98, allocations: 0.8216 MB / 8.987 GB, free: 93.29 MB / 0.6356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/31.98, allocations: 135.2 kB / 8.987 GB, free: 93.25 MB / 0.6356 GB Notification: Performance of SimCode: time 1.012e-06/31.98, allocations: 0 / 8.987 GB, free: 93.25 MB / 0.6356 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.533/35.51, allocations: 36.77 MB / 9.023 GB, free: 66.71 MB / 0.6356 GB