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 1.96/1.96, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.5e-05/3.511e-05, allocations: 4 kB / 255.4 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.55/17.65, allocations: 5.72 GB / 6.013 GB, free: 96.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/17.65, allocations: 75.31 kB / 6.013 GB, free: 96.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 21.08/38.73, allocations: 4.512 GB / 10.53 GB, free: 80.44 MB / 0.6357 GB Notification: Performance of FrontEnd: time 1.713e-06/38.73, allocations: 0 / 10.53 GB, free: 80.44 MB / 0.6357 GB Notification: Performance of Transformations before backend: time 3.431e-05/38.73, allocations: 10.81 kB / 10.53 GB, free: 80.44 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.0651/38.8, allocations: 2.191 MB / 10.53 GB, free: 79.45 MB / 0.6357 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/38.8, allocations: 13.41 kB / 10.53 GB, free: 79.44 MB / 0.6357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/38.8, allocations: 85.33 kB / 10.53 GB, free: 79.4 MB / 0.6357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/38.8, allocations: 93.25 kB / 10.53 GB, free: 79.38 MB / 0.6357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008627/38.8, allocations: 373.2 kB / 10.53 GB, free: 79.18 MB / 0.6357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/38.8, allocations: 31.78 kB / 10.53 GB, free: 79.17 MB / 0.6357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/38.8, allocations: 51.16 kB / 10.53 GB, free: 79.17 MB / 0.6357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/38.8, allocations: 0.618 MB / 10.53 GB, free: 79.02 MB / 0.6357 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/38.8, allocations: 3.469 kB / 10.53 GB, free: 79.02 MB / 0.6357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-05/38.8, allocations: 26.39 kB / 10.53 GB, free: 79.01 MB / 0.6357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/38.8, allocations: 10.53 kB / 10.53 GB, free: 79.01 MB / 0.6357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/38.8, allocations: 0.528 MB / 10.53 GB, free: 79 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.01172/38.82, allocations: 6.086 MB / 10.54 GB, free: 76.44 MB / 0.6357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/38.82, allocations: 441.3 kB / 10.54 GB, free: 76.4 MB / 0.6357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/38.82, allocations: 204.4 kB / 10.54 GB, free: 76.39 MB / 0.6357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004827/38.82, allocations: 2.838 MB / 10.54 GB, free: 73.93 MB / 0.6357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/38.82, allocations: 39.12 kB / 10.54 GB, free: 73.89 MB / 0.6357 GB Notification: Performance of pre-optimization done (n=46): time 5.049e-06/38.82, allocations: 0 / 10.54 GB, free: 73.89 MB / 0.6357 GB Notification: Performance of matching and sorting (n=54): time 0.01814/38.84, allocations: 1.829 MB / 10.54 GB, free: 73.51 MB / 0.6357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/38.84, allocations: 66.84 kB / 10.54 GB, free: 73.44 MB / 0.6357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/38.84, allocations: 269.8 kB / 10.54 GB, free: 73.34 MB / 0.6357 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/38.84, allocations: 37.64 kB / 10.54 GB, free: 73.31 MB / 0.6357 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/38.84, allocations: 226.5 kB / 10.54 GB, free: 73.18 MB / 0.6357 GB Notification: Performance of collectInitialBindings (initialization): time 0.000277/38.84, allocations: 195.6 kB / 10.54 GB, free: 73.08 MB / 0.6357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/38.84, allocations: 11.84 kB / 10.54 GB, free: 73.08 MB / 0.6357 GB Notification: Performance of setup shared object (initialization): time 0.0001359/38.84, allocations: 349.6 kB / 10.54 GB, free: 72.77 MB / 0.6357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/38.84, allocations: 169.8 kB / 10.54 GB, free: 72.77 MB / 0.6357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/38.84, allocations: 317.8 kB / 10.54 GB, free: 72.6 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/38.85, allocations: 228.8 kB / 10.54 GB, free: 72.59 MB / 0.6357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/38.85, allocations: 3.594 kB / 10.54 GB, free: 72.59 MB / 0.6357 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002559/38.85, allocations: 0.6635 MB / 10.54 GB, free: 72.5 MB / 0.6357 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/38.85, allocations: 9.625 kB / 10.54 GB, free: 72.5 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/38.85, allocations: 9.062 kB / 10.54 GB, free: 72.5 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0297/38.88, allocations: 0.5457 MB / 10.54 GB, free: 72.47 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/38.88, allocations: 149.1 kB / 10.54 GB, free: 72.47 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/38.88, allocations: 2.99 MB / 10.55 GB, free: 69.59 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/38.88, allocations: 44.62 kB / 10.55 GB, free: 69.58 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/38.88, allocations: 27.92 kB / 10.55 GB, free: 69.58 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.0002851/38.88, allocations: 144.8 kB / 10.55 GB, free: 69.47 MB / 0.6357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/38.88, allocations: 40.34 kB / 10.55 GB, free: 69.45 MB / 0.6357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/38.89, allocations: 1.062 MB / 10.55 GB, free: 69.34 MB / 0.6357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/38.89, allocations: 10.16 kB / 10.55 GB, free: 69.34 MB / 0.6357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/38.89, allocations: 0 / 10.55 GB, free: 69.34 MB / 0.6357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00224/38.89, allocations: 1.071 MB / 10.55 GB, free: 68.95 MB / 0.6357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/38.89, allocations: 1.722 MB / 10.55 GB, free: 68.6 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/38.89, allocations: 4 kB / 10.55 GB, free: 68.59 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/38.89, allocations: 97.03 kB / 10.55 GB, free: 68.59 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008398/38.9, allocations: 378.8 kB / 10.55 GB, free: 68.57 MB / 0.6357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/38.9, allocations: 19.98 kB / 10.55 GB, free: 68.57 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009749/38.9, allocations: 1.147 MB / 10.55 GB, free: 67.53 MB / 0.6357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/38.9, allocations: 0 / 10.55 GB, free: 67.53 MB / 0.6357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/38.91, allocations: 1.111 MB / 10.55 GB, free: 67.32 MB / 0.6357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/38.91, allocations: 137.9 kB / 10.55 GB, free: 67.2 MB / 0.6357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/38.91, allocations: 16.03 kB / 10.55 GB, free: 67.2 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008251/38.91, allocations: 31.55 kB / 10.55 GB, free: 67.19 MB / 0.6357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/38.91, allocations: 36.22 kB / 10.55 GB, free: 67.19 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.003e-05/38.91, allocations: 20.92 kB / 10.55 GB, free: 67.19 MB / 0.6357 GB Notification: Performance of sorting global known variables: time 0.0005734/38.91, allocations: 247.5 kB / 10.55 GB, free: 67.1 MB / 0.6357 GB Notification: Performance of sort global known variables: time 5.71e-07/38.91, allocations: 0 / 10.55 GB, free: 67.1 MB / 0.6357 GB Notification: Performance of remove unused functions: time 0.02388/38.93, allocations: 1.119 MB / 10.55 GB, free: 66.93 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.2296/39.16, allocations: 25.25 MB / 10.58 GB, free: 54.04 MB / 0.6357 GB Notification: Performance of simCode: created initialization part: time 0.002233/39.17, allocations: 0.6924 MB / 10.58 GB, free: 53.92 MB / 0.6357 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/39.17, allocations: 0 / 10.58 GB, free: 53.92 MB / 0.6357 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/39.17, allocations: 377.2 kB / 10.58 GB, free: 53.91 MB / 0.6357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/39.17, allocations: 247.2 kB / 10.58 GB, free: 53.89 MB / 0.6357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/39.19, allocations: 1.631 MB / 10.58 GB, free: 53.28 MB / 0.6357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/39.19, allocations: 0.8842 MB / 10.58 GB, free: 52.57 MB / 0.6357 GB Notification: Performance of simCode: alias equations: time 0.0008767/39.19, allocations: 241 kB / 10.58 GB, free: 52.54 MB / 0.6357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/39.19, allocations: 200 kB / 10.58 GB, free: 52.53 MB / 0.6357 GB Notification: Performance of SimCode: time 9.41e-07/39.19, allocations: 0 / 10.58 GB, free: 52.53 MB / 0.6357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1552/39.35, allocations: 52.11 MB / 10.63 GB, free: 37.99 MB / 0.6357 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/39.35, allocations: 168.6 kB / 10.63 GB, free: 37.77 MB / 0.6357 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.082/45.43, allocations: 0 / 10.63 GB, free: 37.77 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