Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.818/1.818, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.132e-05/4.149e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2815, allocations: 38.77 MB / 263.9 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.89/17.17, allocations: 5.484 GB / 5.742 GB, free: 92.28 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/17.17, allocations: 66.55 kB / 5.742 GB, free: 92.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.667/22.84, allocations: 0.9849 GB / 6.727 GB, free: 34.35 MB / 474.9 MB Notification: Performance of FrontEnd: time 1.643e-06/22.84, allocations: 3.812 kB / 6.727 GB, free: 34.35 MB / 474.9 MB Notification: Performance of Transformations before backend: time 3.299e-05/22.84, allocations: 7.719 kB / 6.727 GB, free: 34.35 MB / 474.9 MB 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.03546/22.88, allocations: 1.559 MB / 6.728 GB, free: 33.27 MB / 474.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/22.88, allocations: 12.03 kB / 6.728 GB, free: 33.26 MB / 474.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/22.88, allocations: 91.97 kB / 6.728 GB, free: 33.21 MB / 474.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009995/22.88, allocations: 95.28 kB / 6.728 GB, free: 33.13 MB / 474.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/22.88, allocations: 386.1 kB / 6.729 GB, free: 32.86 MB / 474.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/22.88, allocations: 36.06 kB / 6.729 GB, free: 32.84 MB / 474.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/22.88, allocations: 46.94 kB / 6.729 GB, free: 32.8 MB / 474.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/22.88, allocations: 0.6066 MB / 6.729 GB, free: 32.41 MB / 474.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/22.88, allocations: 5.594 kB / 6.729 GB, free: 32.41 MB / 474.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/22.88, allocations: 18.38 kB / 6.73 GB, free: 32.41 MB / 474.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/22.88, allocations: 13.78 kB / 6.73 GB, free: 32.39 MB / 474.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/22.88, allocations: 0.514 MB / 6.73 GB, free: 32.11 MB / 474.9 MB 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.01017/22.89, allocations: 6.106 MB / 6.736 GB, free: 27.16 MB / 474.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/22.89, allocations: 418.7 kB / 6.736 GB, free: 26.92 MB / 474.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004366/22.89, allocations: 209.2 kB / 6.737 GB, free: 26.8 MB / 474.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004622/22.9, allocations: 2.835 MB / 6.739 GB, free: 23.77 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/22.9, allocations: 38.88 kB / 6.739 GB, free: 23.73 MB / 474.9 MB Notification: Performance of pre-optimization done (n=46): time 3.487e-06/22.9, allocations: 0 / 6.739 GB, free: 23.73 MB / 474.9 MB Notification: Performance of matching and sorting (n=54): time 0.01289/22.91, allocations: 1.825 MB / 6.741 GB, free: 22.49 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/22.91, allocations: 59.84 kB / 6.741 GB, free: 22.42 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/22.91, allocations: 275 kB / 6.741 GB, free: 22.21 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/22.91, allocations: 32.02 kB / 6.742 GB, free: 22.18 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/22.91, allocations: 233.3 kB / 6.742 GB, free: 22.02 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/22.91, allocations: 192.6 kB / 6.742 GB, free: 21.9 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/22.91, allocations: 10.06 kB / 6.742 GB, free: 21.9 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 9.152e-05/22.91, allocations: 354.1 kB / 6.742 GB, free: 21.58 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/22.91, allocations: 167.8 kB / 6.742 GB, free: 21.48 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/22.91, allocations: 318.7 kB / 6.743 GB, free: 21.2 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/22.91, allocations: 230.3 kB / 6.743 GB, free: 21.08 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/22.91, allocations: 4 kB / 6.743 GB, free: 21.07 MB / 474.9 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001763/22.92, allocations: 0.6394 MB / 6.744 GB, free: 20.66 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/22.92, allocations: 8 kB / 6.744 GB, free: 20.66 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/22.92, allocations: 4 kB / 6.744 GB, free: 20.65 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02375/22.94, allocations: 0.5513 MB / 6.744 GB, free: 20.35 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/22.94, allocations: 142 kB / 6.744 GB, free: 20.24 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/22.94, allocations: 2.983 MB / 6.747 GB, free: 17.21 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007656/22.94, allocations: 49.94 kB / 6.747 GB, free: 17.18 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/22.94, allocations: 34.62 kB / 6.747 GB, free: 17.16 MB / 474.9 MB 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.0001985/22.94, allocations: 137.1 kB / 6.747 GB, free: 17.05 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/22.94, allocations: 39.53 kB / 6.747 GB, free: 17.01 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/22.95, allocations: 1.055 MB / 6.748 GB, free: 16.41 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/22.95, allocations: 7.562 kB / 6.748 GB, free: 16.41 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/22.95, allocations: 7.953 kB / 6.748 GB, free: 16.4 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001517/22.95, allocations: 1.076 MB / 6.75 GB, free: 15.6 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/22.95, allocations: 1.719 MB / 6.751 GB, free: 14.62 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/22.95, allocations: 0 / 6.751 GB, free: 14.62 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/22.95, allocations: 103.5 kB / 6.751 GB, free: 14.55 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006286/22.96, allocations: 378.6 kB / 6.752 GB, free: 14.38 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/22.96, allocations: 22.66 kB / 6.752 GB, free: 14.37 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006862/22.96, allocations: 1.141 MB / 6.753 GB, free: 13.25 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/22.96, allocations: 3.953 kB / 6.753 GB, free: 13.25 MB / 474.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/22.96, allocations: 1.101 MB / 6.754 GB, free: 12.55 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/22.96, allocations: 137 kB / 6.754 GB, free: 12.42 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/22.96, allocations: 15.31 kB / 6.754 GB, free: 12.41 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/22.96, allocations: 33.69 kB / 6.754 GB, free: 12.39 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/22.96, allocations: 35.25 kB / 6.754 GB, free: 12.38 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/22.96, allocations: 27.61 kB / 6.754 GB, free: 12.36 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.0003605/22.96, allocations: 242.4 kB / 6.754 GB, free: 12.18 MB / 474.9 MB Notification: Performance of sort global known variables: time 4.7e-07/22.96, allocations: 3.938 kB / 6.754 GB, free: 12.18 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.0221/22.98, allocations: 1.111 MB / 6.755 GB, free: 11.27 MB / 474.9 MB 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.2337/23.22, allocations: 25.36 MB / 6.78 GB, free: 3.492 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.002267/23.22, allocations: 0.6768 MB / 6.781 GB, free: 3.023 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/23.22, allocations: 0 / 6.781 GB, free: 3.023 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/23.22, allocations: 371.2 kB / 6.781 GB, free: 2.816 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/23.22, allocations: 250.2 kB / 6.781 GB, free: 2.68 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/23.25, allocations: 1.629 MB / 6.783 GB, free: 1.418 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/23.25, allocations: 0.8791 MB / 6.784 GB, free: 0.5898 MB / 490.9 MB Notification: Performance of simCode: alias equations: time 0.0009067/23.25, allocations: 244.9 kB / 6.784 GB, free: 444 kB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/23.25, allocations: 203.3 kB / 6.784 GB, free: 400 kB / 490.9 MB Notification: Performance of SimCode: time 1.153e-06/23.25, allocations: 0 / 6.784 GB, free: 400 kB / 490.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5307/23.78, allocations: 52.15 MB / 6.835 GB, free: 84.22 MB / 0.5106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/23.78, allocations: 166.8 kB / 6.835 GB, free: 83.99 MB / 0.5106 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.109/29.89, allocations: 0 / 6.835 GB, free: 83.99 MB / 0.5106 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat