Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.465e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.72/17.83, allocations: 5.72 GB / 6.013 GB, free: 88.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/17.83, allocations: 72.12 kB / 6.013 GB, free: 87.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 20.83/38.66, allocations: 4.512 GB / 10.53 GB, free: 86.41 MB / 0.6357 GB Notification: Performance of FrontEnd: time 3.066e-06/38.66, allocations: 3.844 kB / 10.53 GB, free: 86.41 MB / 0.6357 GB Notification: Performance of Transformations before backend: time 3.576e-05/38.66, allocations: 11.81 kB / 10.53 GB, free: 86.41 MB / 0.6357 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.06595/38.72, allocations: 2.195 MB / 10.53 GB, free: 85.36 MB / 0.6357 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/38.72, allocations: 7.344 kB / 10.53 GB, free: 85.36 MB / 0.6357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/38.72, allocations: 91.53 kB / 10.53 GB, free: 85.32 MB / 0.6357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/38.72, allocations: 92.08 kB / 10.53 GB, free: 85.29 MB / 0.6357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007414/38.72, allocations: 376.2 kB / 10.53 GB, free: 85.09 MB / 0.6357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.539e-05/38.72, allocations: 33.22 kB / 10.53 GB, free: 85.08 MB / 0.6357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/38.72, allocations: 48.28 kB / 10.53 GB, free: 85.08 MB / 0.6357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/38.73, allocations: 0.6137 MB / 10.53 GB, free: 84.93 MB / 0.6357 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/38.73, allocations: 10.16 kB / 10.53 GB, free: 84.92 MB / 0.6357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/38.73, allocations: 27.72 kB / 10.53 GB, free: 84.92 MB / 0.6357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/38.73, allocations: 11.47 kB / 10.53 GB, free: 84.92 MB / 0.6357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/38.73, allocations: 0.5145 MB / 10.53 GB, free: 84.92 MB / 0.6357 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.01075/38.74, allocations: 6.085 MB / 10.54 GB, free: 82.35 MB / 0.6357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/38.74, allocations: 436.6 kB / 10.54 GB, free: 82.32 MB / 0.6357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/38.74, allocations: 202.6 kB / 10.54 GB, free: 82.31 MB / 0.6357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004651/38.75, allocations: 2.837 MB / 10.54 GB, free: 79.85 MB / 0.6357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/38.75, allocations: 39.16 kB / 10.54 GB, free: 79.81 MB / 0.6357 GB Notification: Performance of pre-optimization done (n=46): time 3.276e-06/38.75, allocations: 0 / 10.54 GB, free: 79.81 MB / 0.6357 GB Notification: Performance of matching and sorting (n=54): time 0.01973/38.76, allocations: 1.82 MB / 10.54 GB, free: 79.42 MB / 0.6357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/38.76, allocations: 63.09 kB / 10.54 GB, free: 79.35 MB / 0.6357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/38.77, allocations: 271.7 kB / 10.54 GB, free: 79.25 MB / 0.6357 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/38.77, allocations: 37.3 kB / 10.54 GB, free: 79.21 MB / 0.6357 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/38.77, allocations: 230.2 kB / 10.54 GB, free: 79.09 MB / 0.6357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/38.77, allocations: 186.6 kB / 10.54 GB, free: 78.99 MB / 0.6357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/38.77, allocations: 13.59 kB / 10.54 GB, free: 78.99 MB / 0.6357 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/38.77, allocations: 350.2 kB / 10.54 GB, free: 78.68 MB / 0.6357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/38.77, allocations: 174.8 kB / 10.54 GB, free: 78.68 MB / 0.6357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/38.77, allocations: 312.8 kB / 10.54 GB, free: 78.51 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005796/38.77, allocations: 225.6 kB / 10.54 GB, free: 78.5 MB / 0.6357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/38.77, allocations: 4 kB / 10.54 GB, free: 78.5 MB / 0.6357 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001924/38.77, allocations: 0.6459 MB / 10.54 GB, free: 78.4 MB / 0.6357 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/38.77, allocations: 10.69 kB / 10.54 GB, free: 78.4 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/38.77, allocations: 3.656 kB / 10.54 GB, free: 78.4 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02421/38.79, allocations: 0.554 MB / 10.54 GB, free: 78.37 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/38.8, allocations: 142.7 kB / 10.54 GB, free: 78.36 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/38.8, allocations: 2.984 MB / 10.55 GB, free: 75.46 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007889/38.8, allocations: 47.56 kB / 10.55 GB, free: 75.46 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/38.8, allocations: 28.55 kB / 10.55 GB, free: 75.46 MB / 0.6357 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.0002109/38.8, allocations: 143.3 kB / 10.55 GB, free: 75.34 MB / 0.6357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/38.8, allocations: 46.77 kB / 10.55 GB, free: 75.32 MB / 0.6357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/38.8, allocations: 1.049 MB / 10.55 GB, free: 75.18 MB / 0.6357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/38.8, allocations: 7.031 kB / 10.55 GB, free: 75.18 MB / 0.6357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/38.8, allocations: 2.594 kB / 10.55 GB, free: 75.18 MB / 0.6357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/38.8, allocations: 1.069 MB / 10.55 GB, free: 74.79 MB / 0.6357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/38.81, allocations: 1.718 MB / 10.55 GB, free: 74.43 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/38.81, allocations: 0 / 10.55 GB, free: 74.43 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/38.81, allocations: 104.2 kB / 10.55 GB, free: 74.43 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006288/38.81, allocations: 382 kB / 10.55 GB, free: 74.4 MB / 0.6357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/38.81, allocations: 15.5 kB / 10.55 GB, free: 74.4 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007176/38.81, allocations: 1.15 MB / 10.55 GB, free: 73.36 MB / 0.6357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/38.81, allocations: 0 / 10.55 GB, free: 73.36 MB / 0.6357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/38.82, allocations: 1.098 MB / 10.55 GB, free: 73.15 MB / 0.6357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/38.82, allocations: 147.5 kB / 10.55 GB, free: 73.03 MB / 0.6357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/38.82, allocations: 13.59 kB / 10.55 GB, free: 73.03 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/38.82, allocations: 31.45 kB / 10.55 GB, free: 73.02 MB / 0.6357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/38.82, allocations: 40.06 kB / 10.55 GB, free: 73.02 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/38.82, allocations: 20.86 kB / 10.55 GB, free: 73.02 MB / 0.6357 GB Notification: Performance of sorting global known variables: time 0.0003816/38.82, allocations: 245 kB / 10.55 GB, free: 72.93 MB / 0.6357 GB Notification: Performance of sort global known variables: time 4.41e-07/38.82, allocations: 3.375 kB / 10.55 GB, free: 72.93 MB / 0.6357 GB Notification: Performance of remove unused functions: time 0.02234/38.84, allocations: 1.114 MB / 10.55 GB, free: 72.76 MB / 0.6357 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.2488/39.09, allocations: 25.26 MB / 10.58 GB, free: 59.8 MB / 0.6357 GB Notification: Performance of simCode: created initialization part: time 0.002353/39.09, allocations: 0.6802 MB / 10.58 GB, free: 59.67 MB / 0.6357 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/39.09, allocations: 0 / 10.58 GB, free: 59.67 MB / 0.6357 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/39.09, allocations: 366 kB / 10.58 GB, free: 59.66 MB / 0.6357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/39.09, allocations: 262 kB / 10.58 GB, free: 59.63 MB / 0.6357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/39.11, allocations: 1.626 MB / 10.58 GB, free: 59.01 MB / 0.6357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/39.12, allocations: 0.8788 MB / 10.58 GB, free: 58.3 MB / 0.6357 GB Notification: Performance of simCode: alias equations: time 0.0008528/39.12, allocations: 246.4 kB / 10.58 GB, free: 58.26 MB / 0.6357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/39.12, allocations: 199.6 kB / 10.58 GB, free: 58.25 MB / 0.6357 GB Notification: Performance of SimCode: time 1.363e-06/39.12, allocations: 0 / 10.58 GB, free: 58.25 MB / 0.6357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/39.24, allocations: 52.23 MB / 10.63 GB, free: 27.29 MB / 0.6357 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/39.24, allocations: 159.3 kB / 10.63 GB, free: 27.07 MB / 0.6357 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.981/45.22, allocations: 3.938 kB / 10.63 GB, free: 27.07 MB / 0.6357 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat