Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.623e-05/3.626e-05, allocations: 8 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 50.41 MB / 342.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.74/17.85, allocations: 5.751 GB / 6.085 GB, free: 115.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/17.85, allocations: 73.97 kB / 6.086 GB, free: 115.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 13.65/31.5, allocations: 2.858 GB / 8.943 GB, free: 128.4 MB / 0.6357 GB Notification: Performance of FrontEnd: time 2.395e-06/31.5, allocations: 0 / 8.943 GB, free: 128.4 MB / 0.6357 GB Notification: Performance of Transformations before backend: time 3.379e-05/31.5, allocations: 9.625 kB / 8.943 GB, free: 128.4 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.04846/31.55, allocations: 1.673 MB / 8.945 GB, free: 127.5 MB / 0.6357 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/31.55, allocations: 7.469 kB / 8.945 GB, free: 127.5 MB / 0.6357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/31.55, allocations: 68.59 kB / 8.945 GB, free: 127.4 MB / 0.6357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008392/31.55, allocations: 71.11 kB / 8.945 GB, free: 127.4 MB / 0.6357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/31.55, allocations: 314.6 kB / 8.945 GB, free: 127.2 MB / 0.6357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/31.55, allocations: 23 kB / 8.945 GB, free: 127.2 MB / 0.6357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/31.55, allocations: 34.56 kB / 8.945 GB, free: 127.2 MB / 0.6357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/31.55, allocations: 460.9 kB / 8.946 GB, free: 127.1 MB / 0.6357 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/31.55, allocations: 5.828 kB / 8.946 GB, free: 127.1 MB / 0.6357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/31.55, allocations: 15.34 kB / 8.946 GB, free: 127.1 MB / 0.6357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/31.55, allocations: 7.438 kB / 8.946 GB, free: 127.1 MB / 0.6357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/31.56, allocations: 381.8 kB / 8.946 GB, free: 127.1 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.01065/31.57, allocations: 5.235 MB / 8.951 GB, free: 125.1 MB / 0.6357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/31.57, allocations: 279.7 kB / 8.952 GB, free: 125.1 MB / 0.6357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/31.57, allocations: 136.6 kB / 8.952 GB, free: 125.1 MB / 0.6357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003583/31.57, allocations: 2.053 MB / 8.954 GB, free: 123.3 MB / 0.6357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/31.57, allocations: 38.92 kB / 8.954 GB, free: 123.2 MB / 0.6357 GB Notification: Performance of pre-optimization done (n=30): time 3.546e-06/31.57, allocations: 0 / 8.954 GB, free: 123.2 MB / 0.6357 GB Notification: Performance of matching and sorting (n=34): time 0.00754/31.58, allocations: 1.122 MB / 8.955 GB, free: 122.9 MB / 0.6357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/31.58, allocations: 60.73 kB / 8.955 GB, free: 122.8 MB / 0.6357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/31.58, allocations: 227.7 kB / 8.955 GB, free: 122.7 MB / 0.6357 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/31.58, allocations: 36.61 kB / 8.955 GB, free: 122.7 MB / 0.6357 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/31.58, allocations: 196.4 kB / 8.955 GB, free: 122.6 MB / 0.6357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/31.58, allocations: 124.8 kB / 8.955 GB, free: 122.5 MB / 0.6357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/31.58, allocations: 7.781 kB / 8.955 GB, free: 122.5 MB / 0.6357 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/31.58, allocations: 335.4 kB / 8.956 GB, free: 122.2 MB / 0.6357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/31.58, allocations: 108.1 kB / 8.956 GB, free: 122.2 MB / 0.6357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/31.58, allocations: 220 kB / 8.956 GB, free: 122.1 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/31.58, allocations: 141.5 kB / 8.956 GB, free: 122 MB / 0.6357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/31.58, allocations: 0 / 8.956 GB, free: 122 MB / 0.6357 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001317/31.58, allocations: 433.9 kB / 8.957 GB, free: 122 MB / 0.6357 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/31.58, allocations: 6.75 kB / 8.957 GB, free: 122 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/31.58, allocations: 3.656 kB / 8.957 GB, free: 122 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/31.6, allocations: 299.9 kB / 8.957 GB, free: 121.8 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/31.6, allocations: 81.59 kB / 8.957 GB, free: 121.7 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/31.6, allocations: 1.849 MB / 8.959 GB, free: 119.8 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005934/31.6, allocations: 26.97 kB / 8.959 GB, free: 119.8 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/31.6, allocations: 22.41 kB / 8.959 GB, free: 119.8 MB / 0.6357 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.0002153/31.6, allocations: 127.6 kB / 8.959 GB, free: 119.7 MB / 0.6357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/31.6, allocations: 35.58 kB / 8.959 GB, free: 119.7 MB / 0.6357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/31.6, allocations: 0.6899 MB / 8.96 GB, free: 119.3 MB / 0.6357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/31.6, allocations: 7.75 kB / 8.96 GB, free: 119.3 MB / 0.6357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/31.6, allocations: 0 / 8.96 GB, free: 119.3 MB / 0.6357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/31.6, allocations: 0.8489 MB / 8.961 GB, free: 118.5 MB / 0.6357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/31.6, allocations: 1.195 MB / 8.962 GB, free: 117.8 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/31.6, allocations: 0 / 8.962 GB, free: 117.8 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/31.6, allocations: 63.56 kB / 8.962 GB, free: 117.7 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003277/31.61, allocations: 193.3 kB / 8.962 GB, free: 117.7 MB / 0.6357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/31.61, allocations: 11.41 kB / 8.962 GB, free: 117.6 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004069/31.61, allocations: 0.5669 MB / 8.963 GB, free: 117.1 MB / 0.6357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/31.61, allocations: 0 / 8.963 GB, free: 117.1 MB / 0.6357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/31.61, allocations: 0.7271 MB / 8.963 GB, free: 116.6 MB / 0.6357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/31.61, allocations: 126.5 kB / 8.963 GB, free: 116.5 MB / 0.6357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/31.61, allocations: 6.125 kB / 8.963 GB, free: 116.5 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/31.61, allocations: 23.5 kB / 8.963 GB, free: 116.5 MB / 0.6357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/31.61, allocations: 23.25 kB / 8.963 GB, free: 116.4 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/31.61, allocations: 15.19 kB / 8.963 GB, free: 116.4 MB / 0.6357 GB Notification: Performance of sorting global known variables: time 0.0003287/31.61, allocations: 220.6 kB / 8.964 GB, free: 116.3 MB / 0.6357 GB Notification: Performance of sort global known variables: time 4.8e-07/31.61, allocations: 0 / 8.964 GB, free: 116.3 MB / 0.6357 GB Notification: Performance of remove unused functions: time 0.01949/31.63, allocations: 0.8646 MB / 8.964 GB, free: 115.6 MB / 0.6357 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.2013/31.83, allocations: 20.23 MB / 8.984 GB, free: 96.18 MB / 0.6357 GB Notification: Performance of simCode: created initialization part: time 0.001459/31.83, allocations: 480.4 kB / 8.985 GB, free: 95.83 MB / 0.6357 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/31.83, allocations: 0 / 8.985 GB, free: 95.83 MB / 0.6357 GB Notification: Performance of simCode: created simulation system equations: time 0.0005538/31.83, allocations: 215.8 kB / 8.985 GB, free: 95.7 MB / 0.6357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/31.84, allocations: 175.7 kB / 8.985 GB, free: 95.6 MB / 0.6357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/31.86, allocations: 1.108 MB / 8.986 GB, free: 94.73 MB / 0.6357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/31.86, allocations: 0.8158 MB / 8.987 GB, free: 93.94 MB / 0.6357 GB Notification: Performance of simCode: alias equations: time 0.0006858/31.86, allocations: 189.7 kB / 8.987 GB, free: 93.82 MB / 0.6357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/31.86, allocations: 134.9 kB / 8.987 GB, free: 93.79 MB / 0.6357 GB Notification: Performance of SimCode: time 1.212e-06/31.86, allocations: 0 / 8.987 GB, free: 93.79 MB / 0.6357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/31.96, allocations: 40.32 MB / 9.027 GB, free: 63.68 MB / 0.6357 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/31.97, allocations: 174.7 kB / 9.027 GB, free: 63.45 MB / 0.6357 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.988/36.95, allocations: 3.938 kB / 9.027 GB, free: 63.45 MB / 0.6357 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat