Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.079/2.079, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.211e-05, allocations: 4 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.76/18.87, allocations: 5.796 GB / 6.106 GB, free: 100.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/18.87, allocations: 78.3 kB / 6.106 GB, free: 100.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 21.59/40.46, allocations: 4.504 GB / 10.61 GB, free: 94.61 MB / 0.6513 GB Notification: Performance of FrontEnd: time 2.074e-06/40.46, allocations: 0 / 10.61 GB, free: 94.61 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 3.867e-05/40.46, allocations: 16 kB / 10.61 GB, free: 94.59 MB / 0.6513 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.06986/40.53, allocations: 2.196 MB / 10.61 GB, free: 92.85 MB / 0.6513 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/40.53, allocations: 11.97 kB / 10.61 GB, free: 92.84 MB / 0.6513 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/40.53, allocations: 85.23 kB / 10.61 GB, free: 92.79 MB / 0.6513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/40.53, allocations: 95.31 kB / 10.61 GB, free: 92.7 MB / 0.6513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/40.53, allocations: 371 kB / 10.61 GB, free: 92.44 MB / 0.6513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/40.53, allocations: 36.81 kB / 10.61 GB, free: 92.41 MB / 0.6513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/40.53, allocations: 53.62 kB / 10.61 GB, free: 92.38 MB / 0.6513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/40.54, allocations: 0.6056 MB / 10.61 GB, free: 91.98 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/40.54, allocations: 4 kB / 10.61 GB, free: 91.98 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/40.54, allocations: 18.69 kB / 10.61 GB, free: 91.97 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/40.54, allocations: 16 kB / 10.61 GB, free: 91.96 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/40.54, allocations: 0.5173 MB / 10.61 GB, free: 91.66 MB / 0.6513 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.01081/40.55, allocations: 6.083 MB / 10.62 GB, free: 86.71 MB / 0.6513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/40.55, allocations: 423.9 kB / 10.62 GB, free: 86.46 MB / 0.6513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/40.55, allocations: 214.9 kB / 10.62 GB, free: 86.33 MB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004784/40.56, allocations: 2.825 MB / 10.62 GB, free: 83.3 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/40.56, allocations: 38.62 kB / 10.62 GB, free: 83.26 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=46): time 3.847e-06/40.56, allocations: 0 / 10.62 GB, free: 83.26 MB / 0.6513 GB Notification: Performance of matching and sorting (n=54): time 0.01334/40.57, allocations: 1.818 MB / 10.63 GB, free: 82.02 MB / 0.6513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/40.57, allocations: 63.84 kB / 10.63 GB, free: 81.94 MB / 0.6513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/40.57, allocations: 274.7 kB / 10.63 GB, free: 81.73 MB / 0.6513 GB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/40.57, allocations: 33.08 kB / 10.63 GB, free: 81.7 MB / 0.6513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/40.57, allocations: 230.4 kB / 10.63 GB, free: 81.55 MB / 0.6513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/40.57, allocations: 193.3 kB / 10.63 GB, free: 81.43 MB / 0.6513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/40.57, allocations: 9.688 kB / 10.63 GB, free: 81.43 MB / 0.6513 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/40.57, allocations: 356 kB / 10.63 GB, free: 81.1 MB / 0.6513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/40.57, allocations: 167.4 kB / 10.63 GB, free: 81 MB / 0.6513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/40.57, allocations: 318.6 kB / 10.63 GB, free: 80.73 MB / 0.6513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/40.57, allocations: 222.1 kB / 10.63 GB, free: 80.61 MB / 0.6513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/40.57, allocations: 4 kB / 10.63 GB, free: 80.61 MB / 0.6513 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001883/40.57, allocations: 0.6382 MB / 10.63 GB, free: 80.17 MB / 0.6513 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/40.57, allocations: 8.562 kB / 10.63 GB, free: 80.16 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/40.57, allocations: 15.62 kB / 10.63 GB, free: 80.16 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0241/40.6, allocations: 0.552 MB / 10.63 GB, free: 79.85 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/40.6, allocations: 142.4 kB / 10.63 GB, free: 79.73 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/40.6, allocations: 2.982 MB / 10.63 GB, free: 76.69 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/40.6, allocations: 47 kB / 10.63 GB, free: 76.66 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/40.6, allocations: 34.3 kB / 10.63 GB, free: 76.64 MB / 0.6513 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.0002134/40.6, allocations: 139.8 kB / 10.63 GB, free: 76.52 MB / 0.6513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/40.6, allocations: 39.53 kB / 10.63 GB, free: 76.48 MB / 0.6513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/40.6, allocations: 1.052 MB / 10.63 GB, free: 75.86 MB / 0.6513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/40.6, allocations: 17.88 kB / 10.63 GB, free: 75.85 MB / 0.6513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/40.6, allocations: 0 / 10.63 GB, free: 75.85 MB / 0.6513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001532/40.61, allocations: 1.069 MB / 10.63 GB, free: 75.05 MB / 0.6513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/40.61, allocations: 1.723 MB / 10.64 GB, free: 74.06 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/40.61, allocations: 0 / 10.64 GB, free: 74.06 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007899/40.61, allocations: 106.2 kB / 10.64 GB, free: 73.98 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00638/40.62, allocations: 375.8 kB / 10.64 GB, free: 73.8 MB / 0.6513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/40.62, allocations: 21.31 kB / 10.64 GB, free: 73.8 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007164/40.62, allocations: 1.141 MB / 10.64 GB, free: 72.68 MB / 0.6513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/40.62, allocations: 0 / 10.64 GB, free: 72.68 MB / 0.6513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/40.62, allocations: 1.105 MB / 10.64 GB, free: 71.98 MB / 0.6513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/40.62, allocations: 138.8 kB / 10.64 GB, free: 71.85 MB / 0.6513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/40.62, allocations: 15.44 kB / 10.64 GB, free: 71.84 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/40.62, allocations: 35.31 kB / 10.64 GB, free: 71.82 MB / 0.6513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/40.62, allocations: 32.89 kB / 10.64 GB, free: 71.8 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/40.62, allocations: 25.91 kB / 10.64 GB, free: 71.79 MB / 0.6513 GB Notification: Performance of sorting global known variables: time 0.000403/40.62, allocations: 248.6 kB / 10.64 GB, free: 71.61 MB / 0.6513 GB Notification: Performance of sort global known variables: time 5.51e-07/40.62, allocations: 0 / 10.64 GB, free: 71.61 MB / 0.6513 GB Notification: Performance of remove unused functions: time 0.02996/40.65, allocations: 1.117 MB / 10.64 GB, free: 70.7 MB / 0.6513 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.2396/40.89, allocations: 25.24 MB / 10.66 GB, free: 46.5 MB / 0.6513 GB Notification: Performance of simCode: created initialization part: time 0.002205/40.89, allocations: 0.6867 MB / 10.66 GB, free: 46.01 MB / 0.6513 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/40.89, allocations: 1.125 kB / 10.66 GB, free: 46.01 MB / 0.6513 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/40.89, allocations: 370.6 kB / 10.67 GB, free: 45.79 MB / 0.6513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/40.9, allocations: 254.8 kB / 10.67 GB, free: 45.65 MB / 0.6513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/40.92, allocations: 1.628 MB / 10.67 GB, free: 44.4 MB / 0.6513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/40.92, allocations: 0.8774 MB / 10.67 GB, free: 43.57 MB / 0.6513 GB Notification: Performance of simCode: alias equations: time 0.0008789/40.92, allocations: 231.9 kB / 10.67 GB, free: 43.41 MB / 0.6513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/40.92, allocations: 208 kB / 10.67 GB, free: 43.36 MB / 0.6513 GB Notification: Performance of SimCode: time 1.432e-06/40.92, allocations: 0 / 10.67 GB, free: 43.36 MB / 0.6513 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/41.04, allocations: 51.48 MB / 10.72 GB, free: 9.465 MB / 0.6669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003553/41.04, allocations: 171.2 kB / 10.72 GB, free: 9.234 MB / 0.6669 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.621/46.66, allocations: 3.938 kB / 10.72 GB, free: 9.23 MB / 0.6669 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat