Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.775/1.775, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.616e-05, allocations: 4 kB / 219.6 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2643, allocations: 38.76 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.76/16.03, allocations: 5.483 GB / 5.736 GB, free: 94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/16.03, allocations: 70.39 kB / 5.736 GB, free: 94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.477/21.5, allocations: 0.9587 GB / 6.694 GB, free: 38.57 MB / 474.9 MB Notification: Performance of FrontEnd: time 2.495e-06/21.5, allocations: 0 / 6.694 GB, free: 38.57 MB / 474.9 MB Notification: Performance of Transformations before backend: time 6.265e-05/21.5, allocations: 12.41 kB / 6.694 GB, free: 38.57 MB / 474.9 MB 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.04513/21.55, allocations: 1.564 MB / 6.696 GB, free: 37.9 MB / 474.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/21.55, allocations: 11.16 kB / 6.696 GB, free: 37.9 MB / 474.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009922/21.55, allocations: 93.77 kB / 6.696 GB, free: 37.87 MB / 474.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007342/21.55, allocations: 381.3 kB / 6.696 GB, free: 37.66 MB / 474.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/21.55, allocations: 16.06 kB / 6.696 GB, free: 37.66 MB / 474.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/21.55, allocations: 27.94 kB / 6.696 GB, free: 37.66 MB / 474.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001023/21.55, allocations: 449.7 kB / 6.697 GB, free: 37.66 MB / 474.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/21.55, allocations: 0.5125 MB / 6.697 GB, free: 37.5 MB / 474.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/21.55, allocations: 1.312 kB / 6.697 GB, free: 37.5 MB / 474.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/21.55, allocations: 1.844 kB / 6.697 GB, free: 37.5 MB / 474.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/21.55, allocations: 12.53 kB / 6.697 GB, free: 37.5 MB / 474.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.01089/21.56, allocations: 6.402 MB / 6.704 GB, free: 34.58 MB / 474.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/21.56, allocations: 344.9 kB / 6.704 GB, free: 34.55 MB / 474.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/21.56, allocations: 171.8 kB / 6.704 GB, free: 34.55 MB / 474.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003977/21.57, allocations: 2.425 MB / 6.707 GB, free: 32.47 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/21.57, allocations: 38.09 kB / 6.707 GB, free: 32.43 MB / 474.9 MB Notification: Performance of pre-optimization done (n=44): time 3.236e-06/21.57, allocations: 4 kB / 6.707 GB, free: 32.43 MB / 474.9 MB Notification: Performance of matching and sorting (n=52): time 0.01996/21.59, allocations: 2.284 MB / 6.709 GB, free: 32.05 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/21.59, allocations: 57.06 kB / 6.709 GB, free: 31.98 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/21.59, allocations: 250 kB / 6.709 GB, free: 31.88 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/21.59, allocations: 25.7 kB / 6.709 GB, free: 31.85 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/21.59, allocations: 297.8 kB / 6.709 GB, free: 31.64 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/21.59, allocations: 173.1 kB / 6.71 GB, free: 31.55 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/21.59, allocations: 4 kB / 6.71 GB, free: 31.55 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/21.59, allocations: 342.1 kB / 6.71 GB, free: 31.23 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/21.59, allocations: 155.4 kB / 6.71 GB, free: 31.23 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/21.59, allocations: 307.8 kB / 6.71 GB, free: 31.06 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005711/21.6, allocations: 0.5378 MB / 6.711 GB, free: 31.05 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/21.6, allocations: 3.781 kB / 6.711 GB, free: 31.05 MB / 474.9 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006738/21.6, allocations: 0.9119 MB / 6.712 GB, free: 30.97 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/21.6, allocations: 11.75 kB / 6.712 GB, free: 30.96 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/21.6, allocations: 3.875 kB / 6.712 GB, free: 30.96 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005065/21.6, allocations: 92.5 kB / 6.712 GB, free: 30.94 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00099/21.6, allocations: 143.2 kB / 6.712 GB, free: 30.94 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007274/21.61, allocations: 3.147 MB / 6.715 GB, free: 28.11 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/21.61, allocations: 40.41 kB / 6.715 GB, free: 28.11 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.751e-05/21.61, allocations: 27.44 kB / 6.715 GB, free: 28.11 MB / 474.9 MB 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.0002468/21.61, allocations: 121.9 kB / 6.715 GB, free: 28 MB / 474.9 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01025/21.62, allocations: 0.7842 MB / 6.716 GB, free: 27.91 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/21.62, allocations: 43.48 kB / 6.716 GB, free: 27.89 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005397/21.63, allocations: 1.06 MB / 6.717 GB, free: 27.78 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/21.63, allocations: 11.72 kB / 6.717 GB, free: 27.78 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/21.63, allocations: 0 / 6.717 GB, free: 27.78 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004113/21.63, allocations: 1.105 MB / 6.718 GB, free: 27.38 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/21.65, allocations: 1.641 MB / 6.72 GB, free: 27.04 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/21.65, allocations: 0 / 6.72 GB, free: 27.04 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009302/21.65, allocations: 101.5 kB / 6.72 GB, free: 27.04 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007918/21.65, allocations: 121.6 kB / 6.72 GB, free: 27.02 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/21.65, allocations: 7.469 kB / 6.72 GB, free: 27.02 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/21.65, allocations: 1.205 MB / 6.721 GB, free: 25.98 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/21.65, allocations: 0 / 6.721 GB, free: 25.98 MB / 474.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008964/21.66, allocations: 1.17 MB / 6.722 GB, free: 25.73 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/21.66, allocations: 128.9 kB / 6.722 GB, free: 25.61 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/21.66, allocations: 0 / 6.722 GB, free: 25.61 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/21.66, allocations: 27.56 kB / 6.722 GB, free: 25.6 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/21.66, allocations: 37.94 kB / 6.723 GB, free: 25.6 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/21.66, allocations: 18.08 kB / 6.723 GB, free: 25.6 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.0003358/21.66, allocations: 192.2 kB / 6.723 GB, free: 25.51 MB / 474.9 MB Notification: Performance of sort global known variables: time 5.61e-07/21.66, allocations: 4 kB / 6.723 GB, free: 25.51 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.03739/21.7, allocations: 1.064 MB / 6.724 GB, free: 25.33 MB / 474.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * 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.2649/21.96, allocations: 25.55 MB / 6.749 GB, free: 12.42 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.002526/21.97, allocations: 0.6506 MB / 6.749 GB, free: 12.3 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/21.97, allocations: 0 / 6.749 GB, free: 12.3 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/21.97, allocations: 339.5 kB / 6.75 GB, free: 12.3 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/21.97, allocations: 210.2 kB / 6.75 GB, free: 12.21 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/21.99, allocations: 1.596 MB / 6.751 GB, free: 10.95 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/22, allocations: 0.869 MB / 6.752 GB, free: 10.12 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005537/22, allocations: 200.5 kB / 6.752 GB, free: 10.07 MB / 474.9 MB Notification: Performance of SimCode: time 3.036e-06/22, allocations: 0 / 6.752 GB, free: 10.07 MB / 474.9 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.545/25.54, allocations: 49.09 MB / 6.8 GB, free: 10.14 MB / 0.495 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat