Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 171.2 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.545e-05, allocations: 4 kB / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2657, allocations: 38.77 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.44/16.71, allocations: 5.483 GB / 5.736 GB, free: 95.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/16.71, allocations: 78.19 kB / 5.736 GB, free: 95.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.784/21.49, allocations: 0.7887 GB / 6.524 GB, free: 57.64 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.543e-06/21.49, allocations: 384 / 6.524 GB, free: 57.64 MB / 458.9 MB Notification: Performance of Transformations before backend: time 3.204e-05/21.49, allocations: 11.92 kB / 6.524 GB, free: 57.64 MB / 458.9 MB 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.02585/21.52, allocations: 1.244 MB / 6.526 GB, free: 56.92 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/21.52, allocations: 7.906 kB / 6.526 GB, free: 56.92 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007668/21.52, allocations: 71.34 kB / 6.526 GB, free: 56.9 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/21.52, allocations: 315 kB / 6.526 GB, free: 56.69 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/21.52, allocations: 10.64 kB / 6.526 GB, free: 56.69 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/21.52, allocations: 19.28 kB / 6.526 GB, free: 56.69 MB / 458.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000714/21.52, allocations: 324.8 kB / 6.526 GB, free: 56.69 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/21.52, allocations: 376.3 kB / 6.527 GB, free: 56.56 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/21.52, allocations: 12.66 kB / 6.527 GB, free: 56.55 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/21.52, allocations: 2.062 kB / 6.527 GB, free: 56.55 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/21.52, allocations: 7.406 kB / 6.527 GB, free: 56.55 MB / 458.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.01153/21.53, allocations: 5.576 MB / 6.532 GB, free: 54.22 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/21.53, allocations: 215.5 kB / 6.532 GB, free: 54.19 MB / 458.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/21.53, allocations: 114.8 kB / 6.533 GB, free: 54.18 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003446/21.53, allocations: 1.647 MB / 6.534 GB, free: 52.78 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/21.53, allocations: 38.41 kB / 6.534 GB, free: 52.74 MB / 458.9 MB Notification: Performance of pre-optimization done (n=28): time 4.378e-06/21.53, allocations: 3.781 kB / 6.534 GB, free: 52.74 MB / 458.9 MB Notification: Performance of matching and sorting (n=32): time 0.01809/21.55, allocations: 1.434 MB / 6.536 GB, free: 52.4 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/21.55, allocations: 56.19 kB / 6.536 GB, free: 52.34 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/21.55, allocations: 211.5 kB / 6.536 GB, free: 52.23 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/21.55, allocations: 25.7 kB / 6.536 GB, free: 52.2 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/21.55, allocations: 203.2 kB / 6.536 GB, free: 52.07 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/21.55, allocations: 108.4 kB / 6.536 GB, free: 52.02 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/21.55, allocations: 0 / 6.536 GB, free: 52.02 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 0.000104/21.55, allocations: 332.8 kB / 6.536 GB, free: 51.71 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/21.55, allocations: 103.5 kB / 6.537 GB, free: 51.71 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/21.55, allocations: 208.2 kB / 6.537 GB, free: 51.58 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00521/21.56, allocations: 332 kB / 6.537 GB, free: 51.57 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/21.56, allocations: 2.156 kB / 6.537 GB, free: 51.57 MB / 458.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.006192/21.57, allocations: 0.5873 MB / 6.538 GB, free: 51.49 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/21.57, allocations: 9.031 kB / 6.538 GB, free: 51.49 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/21.57, allocations: 5 kB / 6.538 GB, free: 51.49 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004337/21.57, allocations: 57.56 kB / 6.538 GB, free: 51.47 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/21.57, allocations: 84.84 kB / 6.538 GB, free: 51.47 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004646/21.57, allocations: 1.904 MB / 6.54 GB, free: 49.74 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/21.57, allocations: 20.61 kB / 6.54 GB, free: 49.74 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/21.57, allocations: 23.7 kB / 6.54 GB, free: 49.74 MB / 458.9 MB 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.0001853/21.57, allocations: 115.2 kB / 6.54 GB, free: 49.63 MB / 458.9 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00563/21.58, allocations: 0.4887 MB / 6.54 GB, free: 49.55 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/21.58, allocations: 33.58 kB / 6.54 GB, free: 49.54 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/21.58, allocations: 0.6747 MB / 6.541 GB, free: 49.43 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/21.58, allocations: 11 kB / 6.541 GB, free: 49.43 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/21.58, allocations: 0 / 6.541 GB, free: 49.43 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00266/21.58, allocations: 0.8577 MB / 6.542 GB, free: 48.97 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/21.59, allocations: 1.105 MB / 6.543 GB, free: 48.66 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/21.59, allocations: 1.844 kB / 6.543 GB, free: 48.66 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/21.59, allocations: 61.05 kB / 6.543 GB, free: 48.66 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/21.59, allocations: 64.06 kB / 6.543 GB, free: 48.64 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/21.59, allocations: 4.25 kB / 6.543 GB, free: 48.64 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006498/21.59, allocations: 0.6086 MB / 6.544 GB, free: 48.12 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/21.59, allocations: 3.469 kB / 6.544 GB, free: 48.12 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/21.59, allocations: 0.7625 MB / 6.544 GB, free: 47.9 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/21.59, allocations: 115.3 kB / 6.545 GB, free: 47.79 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/21.59, allocations: 0 / 6.545 GB, free: 47.79 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/21.59, allocations: 24.36 kB / 6.545 GB, free: 47.78 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/21.59, allocations: 25.5 kB / 6.545 GB, free: 47.78 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/21.59, allocations: 15.88 kB / 6.545 GB, free: 47.78 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0002674/21.6, allocations: 161.3 kB / 6.545 GB, free: 47.7 MB / 458.9 MB Notification: Performance of sort global known variables: time 5.91e-07/21.6, allocations: 0 / 6.545 GB, free: 47.7 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01609/21.61, allocations: 0.821 MB / 6.546 GB, free: 47.56 MB / 458.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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.1814/21.79, allocations: 20.49 MB / 6.566 GB, free: 37.12 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.001279/21.79, allocations: 445.8 kB / 6.566 GB, free: 37.01 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/21.79, allocations: 0 / 6.566 GB, free: 37.01 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0006506/21.79, allocations: 218.3 kB / 6.566 GB, free: 37 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/21.8, allocations: 137 kB / 6.566 GB, free: 36.99 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/21.81, allocations: 1.067 MB / 6.567 GB, free: 36.6 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/21.81, allocations: 0.8044 MB / 6.568 GB, free: 35.9 MB / 458.9 MB Notification: Performance of simCode: alias equations: time 0.0007644/21.81, allocations: 239.4 kB / 6.568 GB, free: 35.89 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/21.81, allocations: 123.6 kB / 6.568 GB, free: 35.88 MB / 458.9 MB Notification: Performance of SimCode: time 1.092e-06/21.81, allocations: 3.938 kB / 6.568 GB, free: 35.88 MB / 458.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/21.94, allocations: 33.38 MB / 6.601 GB, free: 14.32 MB / 458.9 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/21.94, allocations: 116.4 kB / 6.601 GB, free: 14.14 MB / 458.9 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.794/26.74, allocations: 4 kB / 6.601 GB, free: 14.13 MB / 458.9 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat