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.736/1.736, allocations: 171.2 MB / 183.3 MB, free: 12.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.393e-05, allocations: 3.984 kB / 225.1 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.264, allocations: 38.78 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.75/17.02, allocations: 5.484 GB / 5.742 GB, free: 91.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/17.02, allocations: 69.86 kB / 5.742 GB, free: 91.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841/22.86, allocations: 0.9854 GB / 6.727 GB, free: 27.86 MB / 474.9 MB Notification: Performance of FrontEnd: time 2.665e-06/22.86, allocations: 0 / 6.727 GB, free: 27.86 MB / 474.9 MB Notification: Performance of Transformations before backend: time 3.999e-05/22.86, allocations: 12 kB / 6.727 GB, free: 27.85 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.03837/22.9, allocations: 1.559 MB / 6.729 GB, free: 26.57 MB / 474.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/22.9, allocations: 16.03 kB / 6.729 GB, free: 26.55 MB / 474.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/22.9, allocations: 80.78 kB / 6.729 GB, free: 26.5 MB / 474.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/22.9, allocations: 98.92 kB / 6.729 GB, free: 26.42 MB / 474.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/22.9, allocations: 384.8 kB / 6.729 GB, free: 26.14 MB / 474.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/22.9, allocations: 36.56 kB / 6.729 GB, free: 26.12 MB / 474.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/22.9, allocations: 47.5 kB / 6.729 GB, free: 26.09 MB / 474.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/22.9, allocations: 0.6136 MB / 6.73 GB, free: 25.69 MB / 474.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/22.9, allocations: 3.938 kB / 6.73 GB, free: 25.68 MB / 474.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/22.9, allocations: 17.19 kB / 6.73 GB, free: 25.68 MB / 474.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/22.9, allocations: 12 kB / 6.73 GB, free: 25.67 MB / 474.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/22.9, allocations: 0.5324 MB / 6.73 GB, free: 25.36 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.01109/22.91, allocations: 6.084 MB / 6.736 GB, free: 20.41 MB / 474.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/22.92, allocations: 428.4 kB / 6.737 GB, free: 20.16 MB / 474.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/22.92, allocations: 205.2 kB / 6.737 GB, free: 20.04 MB / 474.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004667/22.92, allocations: 2.838 MB / 6.74 GB, free: 17.01 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/22.92, allocations: 37.42 kB / 6.74 GB, free: 16.97 MB / 474.9 MB Notification: Performance of pre-optimization done (n=46): time 3.346e-06/22.92, allocations: 0 / 6.74 GB, free: 16.97 MB / 474.9 MB Notification: Performance of matching and sorting (n=54): time 0.01309/22.93, allocations: 1.819 MB / 6.742 GB, free: 15.72 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/22.93, allocations: 59.84 kB / 6.742 GB, free: 15.65 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/22.93, allocations: 272.3 kB / 6.742 GB, free: 15.45 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/22.93, allocations: 36.52 kB / 6.742 GB, free: 15.41 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/22.94, allocations: 242 kB / 6.742 GB, free: 15.25 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/22.94, allocations: 183.9 kB / 6.742 GB, free: 15.13 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/22.94, allocations: 13.44 kB / 6.742 GB, free: 15.13 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/22.94, allocations: 350.5 kB / 6.743 GB, free: 14.8 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/22.94, allocations: 174 kB / 6.743 GB, free: 14.7 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/22.94, allocations: 331.7 kB / 6.743 GB, free: 14.42 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/22.94, allocations: 222.8 kB / 6.743 GB, free: 14.29 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/22.94, allocations: 4 kB / 6.743 GB, free: 14.29 MB / 474.9 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001829/22.94, allocations: 0.6534 MB / 6.744 GB, free: 13.85 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/22.94, allocations: 8.562 kB / 6.744 GB, free: 13.84 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/22.94, allocations: 4 kB / 6.744 GB, free: 13.84 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02387/22.96, allocations: 0.5643 MB / 6.745 GB, free: 13.52 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/22.96, allocations: 139.9 kB / 6.745 GB, free: 13.41 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/22.97, allocations: 2.983 MB / 6.748 GB, free: 10.37 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/22.97, allocations: 50.41 kB / 6.748 GB, free: 10.34 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/22.97, allocations: 26.62 kB / 6.748 GB, free: 10.32 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.0002197/22.97, allocations: 146.9 kB / 6.748 GB, free: 10.19 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/22.97, allocations: 39.53 kB / 6.748 GB, free: 10.15 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/22.97, allocations: 1.06 MB / 6.749 GB, free: 9.531 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.32e-05/22.97, allocations: 4 kB / 6.749 GB, free: 9.527 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/22.97, allocations: 3.703 kB / 6.749 GB, free: 9.527 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001652/22.97, allocations: 1.077 MB / 6.75 GB, free: 8.723 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/22.97, allocations: 1.713 MB / 6.752 GB, free: 7.738 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/22.97, allocations: 3.938 kB / 6.752 GB, free: 7.738 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/22.98, allocations: 106.9 kB / 6.752 GB, free: 7.652 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006299/22.98, allocations: 379.5 kB / 6.752 GB, free: 7.484 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/22.98, allocations: 15.81 kB / 6.752 GB, free: 7.477 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007288/22.98, allocations: 1.144 MB / 6.753 GB, free: 6.359 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/22.98, allocations: 3.938 kB / 6.753 GB, free: 6.355 MB / 474.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/22.98, allocations: 1.107 MB / 6.754 GB, free: 5.645 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/22.99, allocations: 143.2 kB / 6.755 GB, free: 5.508 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/22.99, allocations: 18.75 kB / 6.755 GB, free: 5.5 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/22.99, allocations: 26.48 kB / 6.755 GB, free: 5.484 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/22.99, allocations: 42.77 kB / 6.755 GB, free: 5.465 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/22.99, allocations: 18.41 kB / 6.755 GB, free: 5.453 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.0003745/22.99, allocations: 251.2 kB / 6.755 GB, free: 5.273 MB / 474.9 MB Notification: Performance of sort global known variables: time 4.21e-07/22.99, allocations: 0 / 6.755 GB, free: 5.273 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.02164/23.01, allocations: 1.11 MB / 6.756 GB, free: 4.367 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.2481/23.26, allocations: 25.29 MB / 6.781 GB, free: 12.24 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.002357/23.26, allocations: 0.6937 MB / 6.781 GB, free: 11.73 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/23.26, allocations: 5.125 kB / 6.781 GB, free: 11.73 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/23.26, allocations: 372.5 kB / 6.782 GB, free: 11.52 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/23.26, allocations: 251.5 kB / 6.782 GB, free: 11.38 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/23.29, allocations: 1.638 MB / 6.784 GB, free: 10.09 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/23.29, allocations: 0.8732 MB / 6.784 GB, free: 9.27 MB / 0.495 GB Notification: Performance of simCode: alias equations: time 0.0009536/23.29, allocations: 252.3 kB / 6.785 GB, free: 9.102 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/23.29, allocations: 200.4 kB / 6.785 GB, free: 9.059 MB / 0.495 GB Notification: Performance of SimCode: time 1.293e-06/23.29, allocations: 4 kB / 6.785 GB, free: 9.055 MB / 0.495 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5586/23.85, allocations: 52.04 MB / 6.836 GB, free: 67.3 MB / 0.495 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/23.85, allocations: 169.3 kB / 6.836 GB, free: 67.08 MB / 0.495 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.028/29.87, allocations: 1.406 kB / 6.836 GB, free: 67.08 MB / 0.495 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