Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.05/2.05, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.295e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 44.51 MB / 299.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.29/17.4, allocations: 5.72 GB / 6.013 GB, free: 20.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/17.4, allocations: 68.28 kB / 6.013 GB, free: 20.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 20.8/38.19, allocations: 4.512 GB / 10.53 GB, free: 5.93 MB / 0.62 GB Notification: Performance of FrontEnd: time 1.793e-06/38.19, allocations: 0 / 10.53 GB, free: 5.93 MB / 0.62 GB Notification: Performance of Transformations before backend: time 3.687e-05/38.19, allocations: 8 kB / 10.53 GB, free: 5.922 MB / 0.62 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.07314/38.27, allocations: 2.189 MB / 10.53 GB, free: 4.016 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/38.27, allocations: 12.03 kB / 10.53 GB, free: 4.004 MB / 0.62 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/38.27, allocations: 88.2 kB / 10.53 GB, free: 3.938 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009791/38.27, allocations: 90.52 kB / 10.53 GB, free: 3.852 MB / 0.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/38.27, allocations: 375 kB / 10.53 GB, free: 3.527 MB / 0.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/38.27, allocations: 37.69 kB / 10.53 GB, free: 3.504 MB / 0.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/38.27, allocations: 46.06 kB / 10.53 GB, free: 3.473 MB / 0.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/38.27, allocations: 0.6236 MB / 10.53 GB, free: 2.984 MB / 0.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/38.27, allocations: 0 / 10.53 GB, free: 2.984 MB / 0.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.71e-05/38.27, allocations: 27.58 kB / 10.53 GB, free: 2.973 MB / 0.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/38.27, allocations: 12 kB / 10.53 GB, free: 2.961 MB / 0.62 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/38.27, allocations: 0.5323 MB / 10.53 GB, free: 2.594 MB / 0.62 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.01239/38.28, allocations: 6.085 MB / 10.54 GB, free: 12.79 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/38.29, allocations: 437 kB / 10.54 GB, free: 12.5 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004874/38.29, allocations: 201.8 kB / 10.54 GB, free: 12.38 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005591/38.29, allocations: 2.845 MB / 10.54 GB, free: 9.16 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/38.29, allocations: 38.5 kB / 10.54 GB, free: 9.117 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=46): time 3.647e-06/38.29, allocations: 0 / 10.54 GB, free: 9.117 MB / 0.6356 GB Notification: Performance of matching and sorting (n=54): time 0.01365/38.31, allocations: 1.815 MB / 10.54 GB, free: 7.551 MB / 0.6356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/38.31, allocations: 63.84 kB / 10.54 GB, free: 7.477 MB / 0.6356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/38.31, allocations: 272.6 kB / 10.54 GB, free: 7.207 MB / 0.6356 GB Notification: Performance of collectPreVariables (initialization): time 6.519e-05/38.31, allocations: 33.7 kB / 10.54 GB, free: 7.168 MB / 0.6356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/38.31, allocations: 285.1 kB / 10.54 GB, free: 6.902 MB / 0.6356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/38.31, allocations: 185.9 kB / 10.54 GB, free: 6.746 MB / 0.6356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/38.31, allocations: 16 kB / 10.54 GB, free: 6.73 MB / 0.6356 GB Notification: Performance of setup shared object (initialization): time 0.0001598/38.31, allocations: 330.8 kB / 10.54 GB, free: 6.398 MB / 0.6356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/38.31, allocations: 173.5 kB / 10.54 GB, free: 6.23 MB / 0.6356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/38.31, allocations: 325.3 kB / 10.54 GB, free: 5.855 MB / 0.6356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000627/38.31, allocations: 229.5 kB / 10.54 GB, free: 5.629 MB / 0.6356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/38.31, allocations: 0 / 10.54 GB, free: 5.629 MB / 0.6356 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002071/38.31, allocations: 0.6385 MB / 10.54 GB, free: 4.977 MB / 0.6356 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/38.31, allocations: 12.5 kB / 10.54 GB, free: 4.965 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/38.31, allocations: 4 kB / 10.54 GB, free: 4.961 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02418/38.34, allocations: 0.5564 MB / 10.54 GB, free: 4.395 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/38.34, allocations: 143.8 kB / 10.54 GB, free: 4.254 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/38.34, allocations: 2.982 MB / 10.55 GB, free: 1.07 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008572/38.34, allocations: 50.03 kB / 10.55 GB, free: 1.023 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/38.34, allocations: 24 kB / 10.55 GB, free: 1 MB / 0.6356 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.0002753/38.34, allocations: 148.8 kB / 10.55 GB, free: 0.8516 MB / 0.6356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/38.34, allocations: 43.47 kB / 10.55 GB, free: 0.8086 MB / 0.6356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4899/38.83, allocations: 1.051 MB / 10.55 GB, free: 118 MB / 0.6356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/38.83, allocations: 12.7 kB / 10.55 GB, free: 118 MB / 0.6356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/38.83, allocations: 0 / 10.55 GB, free: 118 MB / 0.6356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001834/38.83, allocations: 1.074 MB / 10.55 GB, free: 117.6 MB / 0.6356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/38.84, allocations: 1.718 MB / 10.55 GB, free: 117.3 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/38.84, allocations: 0 / 10.55 GB, free: 117.3 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007759/38.84, allocations: 99.56 kB / 10.55 GB, free: 117.3 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00639/38.84, allocations: 389.6 kB / 10.55 GB, free: 117.2 MB / 0.6356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/38.84, allocations: 13.92 kB / 10.55 GB, free: 117.2 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007504/38.85, allocations: 1.142 MB / 10.55 GB, free: 116.2 MB / 0.6356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/38.85, allocations: 0 / 10.55 GB, free: 116.2 MB / 0.6356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/38.85, allocations: 1.109 MB / 10.55 GB, free: 116 MB / 0.6356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/38.85, allocations: 137.9 kB / 10.55 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/38.85, allocations: 12.34 kB / 10.55 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/38.85, allocations: 35.05 kB / 10.55 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/38.85, allocations: 40.8 kB / 10.55 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/38.85, allocations: 25.3 kB / 10.55 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of sorting global known variables: time 0.0004223/38.85, allocations: 243.6 kB / 10.55 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of sort global known variables: time 5.61e-07/38.85, allocations: 0 / 10.55 GB, free: 115.9 MB / 0.6356 GB Notification: Performance of remove unused functions: time 0.02357/38.87, allocations: 1.112 MB / 10.55 GB, free: 115.9 MB / 0.6356 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.2545/39.13, allocations: 25.26 MB / 10.58 GB, free: 103.5 MB / 0.6356 GB Notification: Performance of simCode: created initialization part: time 0.002231/39.13, allocations: 0.7018 MB / 10.58 GB, free: 103.4 MB / 0.6356 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/39.13, allocations: 3.938 kB / 10.58 GB, free: 103.4 MB / 0.6356 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/39.13, allocations: 368.3 kB / 10.58 GB, free: 103.4 MB / 0.6356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/39.13, allocations: 247.2 kB / 10.58 GB, free: 103.4 MB / 0.6356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01999/39.15, allocations: 1.67 MB / 10.58 GB, free: 103 MB / 0.6356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/39.15, allocations: 0.8813 MB / 10.58 GB, free: 102.3 MB / 0.6356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/39.15, allocations: 204.8 kB / 10.58 GB, free: 102.3 MB / 0.6356 GB Notification: Performance of SimCode: time 1.253e-06/39.15, allocations: 0 / 10.58 GB, free: 102.3 MB / 0.6356 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.883/43.04, allocations: 49.33 MB / 10.63 GB, free: 98.45 MB / 0.6356 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat