Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.424e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.69/17.79, allocations: 5.72 GB / 6.013 GB, free: 87.63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/17.8, allocations: 74.56 kB / 6.013 GB, free: 87.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 16.31/34.11, allocations: 3.492 GB / 9.505 GB, free: 52.33 MB / 0.5888 GB Notification: Performance of FrontEnd: time 1.893e-06/34.11, allocations: 3.938 kB / 9.505 GB, free: 52.33 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 3.322e-05/34.11, allocations: 12 kB / 9.505 GB, free: 52.32 MB / 0.5888 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.05209/34.16, allocations: 1.674 MB / 9.507 GB, free: 50.94 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/34.16, allocations: 12.03 kB / 9.507 GB, free: 50.93 MB / 0.5888 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.409e-05/34.16, allocations: 67.81 kB / 9.507 GB, free: 50.88 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007292/34.16, allocations: 66.27 kB / 9.507 GB, free: 50.83 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/34.16, allocations: 324.8 kB / 9.507 GB, free: 50.57 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/34.16, allocations: 24.41 kB / 9.507 GB, free: 50.56 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/34.16, allocations: 35.25 kB / 9.507 GB, free: 50.54 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/34.16, allocations: 453.3 kB / 9.508 GB, free: 50.23 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/34.16, allocations: 0 / 9.508 GB, free: 50.23 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/34.16, allocations: 18.44 kB / 9.508 GB, free: 50.23 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/34.16, allocations: 12 kB / 9.508 GB, free: 50.21 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009411/34.17, allocations: 383.7 kB / 9.508 GB, free: 50 MB / 0.5888 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.008336/34.17, allocations: 5.233 MB / 9.513 GB, free: 45.76 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008961/34.17, allocations: 284.2 kB / 9.514 GB, free: 45.59 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/34.18, allocations: 130.1 kB / 9.514 GB, free: 45.51 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003307/34.18, allocations: 2.066 MB / 9.516 GB, free: 43.3 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/34.18, allocations: 42.52 kB / 9.516 GB, free: 43.25 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=30): time 3.216e-06/34.18, allocations: 0 / 9.516 GB, free: 43.25 MB / 0.5888 GB Notification: Performance of matching and sorting (n=34): time 0.006775/34.19, allocations: 1.12 MB / 9.517 GB, free: 42.21 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/34.19, allocations: 59.41 kB / 9.517 GB, free: 42.14 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/34.19, allocations: 233.1 kB / 9.517 GB, free: 41.92 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/34.19, allocations: 29.7 kB / 9.517 GB, free: 41.88 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/34.19, allocations: 188.6 kB / 9.517 GB, free: 41.72 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/34.19, allocations: 123.8 kB / 9.517 GB, free: 41.62 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/34.19, allocations: 8 kB / 9.517 GB, free: 41.61 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/34.19, allocations: 334.1 kB / 9.518 GB, free: 41.29 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/34.19, allocations: 112.3 kB / 9.518 GB, free: 41.18 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/34.19, allocations: 222.4 kB / 9.518 GB, free: 40.92 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/34.19, allocations: 150.9 kB / 9.518 GB, free: 40.79 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/34.19, allocations: 0 / 9.518 GB, free: 40.79 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001133/34.19, allocations: 433.4 kB / 9.519 GB, free: 40.38 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/34.19, allocations: 12.06 kB / 9.519 GB, free: 40.37 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/34.19, allocations: 4 kB / 9.519 GB, free: 40.37 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/34.2, allocations: 289.1 kB / 9.519 GB, free: 40.17 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/34.2, allocations: 91.45 kB / 9.519 GB, free: 40.09 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/34.2, allocations: 1.837 MB / 9.521 GB, free: 38.13 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/34.2, allocations: 36 kB / 9.521 GB, free: 38.1 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/34.2, allocations: 16 kB / 9.521 GB, free: 38.09 MB / 0.5888 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.000144/34.2, allocations: 136.6 kB / 9.521 GB, free: 37.95 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/34.2, allocations: 31.62 kB / 9.521 GB, free: 37.92 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/34.2, allocations: 0.6954 MB / 9.522 GB, free: 37.28 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/34.2, allocations: 4 kB / 9.522 GB, free: 37.27 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/34.2, allocations: 3.797 kB / 9.522 GB, free: 37.27 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009779/34.21, allocations: 0.8634 MB / 9.523 GB, free: 36.32 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/34.21, allocations: 1.188 MB / 9.524 GB, free: 35.08 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/34.21, allocations: 0 / 9.524 GB, free: 35.08 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/34.21, allocations: 67.91 kB / 9.524 GB, free: 35.01 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003186/34.21, allocations: 192.4 kB / 9.524 GB, free: 34.82 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/34.21, allocations: 11.5 kB / 9.524 GB, free: 34.81 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003738/34.21, allocations: 0.5718 MB / 9.525 GB, free: 34.21 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/34.21, allocations: 96 / 9.525 GB, free: 34.21 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/34.21, allocations: 0.7213 MB / 9.525 GB, free: 33.48 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/34.21, allocations: 132.5 kB / 9.525 GB, free: 33.33 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/34.21, allocations: 8 kB / 9.525 GB, free: 33.32 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/34.21, allocations: 18.02 kB / 9.525 GB, free: 33.31 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/34.21, allocations: 27.97 kB / 9.525 GB, free: 33.28 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/34.21, allocations: 15.98 kB / 9.525 GB, free: 33.27 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0003041/34.21, allocations: 211.1 kB / 9.526 GB, free: 33.06 MB / 0.5888 GB Notification: Performance of sort global known variables: time 5.41e-07/34.21, allocations: 0 / 9.526 GB, free: 33.06 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01991/34.23, allocations: 0.8591 MB / 9.526 GB, free: 32.25 MB / 0.5888 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.1855/34.42, allocations: 20.25 MB / 9.546 GB, free: 12.06 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.001396/34.42, allocations: 469.5 kB / 9.547 GB, free: 11.59 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/34.42, allocations: 0 / 9.547 GB, free: 11.59 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0005119/34.42, allocations: 213.8 kB / 9.547 GB, free: 11.39 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/34.42, allocations: 180.6 kB / 9.547 GB, free: 11.21 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/34.44, allocations: 1.096 MB / 9.548 GB, free: 10.14 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/34.44, allocations: 0.8208 MB / 9.549 GB, free: 9.293 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.0006781/34.44, allocations: 190.9 kB / 9.549 GB, free: 9.109 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/34.44, allocations: 139.4 kB / 9.549 GB, free: 8.973 MB / 0.5888 GB Notification: Performance of SimCode: time 1.693e-06/34.44, allocations: 0 / 9.549 GB, free: 8.973 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.597/35.04, allocations: 40.85 MB / 9.589 GB, free: 96.32 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/35.04, allocations: 166.2 kB / 9.589 GB, free: 96.1 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.001/40.04, allocations: 0 / 9.589 GB, free: 96.1 MB / 0.5888 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat