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 1.849/1.849, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.05e-05, allocations: 4 kB / 255.5 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09546, allocations: 44.5 MB / 300 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.26/17.35, allocations: 5.72 GB / 6.013 GB, free: 88.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/17.35, allocations: 71.14 kB / 6.013 GB, free: 88.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 20.33/37.69, allocations: 4.512 GB / 10.53 GB, free: 85.28 MB / 0.6356 GB Notification: Performance of FrontEnd: time 1.803e-06/37.69, allocations: 4 kB / 10.53 GB, free: 85.28 MB / 0.6356 GB Notification: Performance of Transformations before backend: time 3.341e-05/37.69, allocations: 11.53 kB / 10.53 GB, free: 85.28 MB / 0.6356 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.09948/37.79, allocations: 2.192 MB / 10.53 GB, free: 84.21 MB / 0.6356 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/37.79, allocations: 9.406 kB / 10.53 GB, free: 84.21 MB / 0.6356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/37.79, allocations: 85.62 kB / 10.53 GB, free: 84.18 MB / 0.6356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/37.79, allocations: 89.31 kB / 10.53 GB, free: 84.15 MB / 0.6356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/37.79, allocations: 376.4 kB / 10.53 GB, free: 83.95 MB / 0.6356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/37.79, allocations: 41.84 kB / 10.53 GB, free: 83.94 MB / 0.6356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/37.79, allocations: 51.97 kB / 10.53 GB, free: 83.93 MB / 0.6356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/37.79, allocations: 0.609 MB / 10.53 GB, free: 83.78 MB / 0.6356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/37.79, allocations: 5.391 kB / 10.53 GB, free: 83.78 MB / 0.6356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/37.79, allocations: 26.67 kB / 10.53 GB, free: 83.78 MB / 0.6356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/37.79, allocations: 8.75 kB / 10.53 GB, free: 83.78 MB / 0.6356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/37.79, allocations: 0.5175 MB / 10.53 GB, free: 83.78 MB / 0.6356 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.0102/37.8, allocations: 6.084 MB / 10.54 GB, free: 81.21 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/37.8, allocations: 429.5 kB / 10.54 GB, free: 81.18 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/37.8, allocations: 210.3 kB / 10.54 GB, free: 81.16 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0047/37.81, allocations: 2.835 MB / 10.54 GB, free: 78.71 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/37.81, allocations: 38.03 kB / 10.54 GB, free: 78.67 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=46): time 3.958e-06/37.81, allocations: 4 kB / 10.54 GB, free: 78.66 MB / 0.6356 GB Notification: Performance of matching and sorting (n=54): time 0.01311/37.82, allocations: 1.823 MB / 10.54 GB, free: 78.27 MB / 0.6356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/37.82, allocations: 58.53 kB / 10.54 GB, free: 78.21 MB / 0.6356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/37.82, allocations: 270.2 kB / 10.54 GB, free: 78.11 MB / 0.6356 GB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/37.82, allocations: 35.55 kB / 10.54 GB, free: 78.07 MB / 0.6356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/37.82, allocations: 282.4 kB / 10.54 GB, free: 77.88 MB / 0.6356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/37.82, allocations: 197.5 kB / 10.54 GB, free: 77.78 MB / 0.6356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/37.82, allocations: 9.406 kB / 10.54 GB, free: 77.78 MB / 0.6356 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/37.82, allocations: 340.9 kB / 10.54 GB, free: 77.46 MB / 0.6356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/37.82, allocations: 170 kB / 10.54 GB, free: 77.46 MB / 0.6356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/37.82, allocations: 316.3 kB / 10.54 GB, free: 77.3 MB / 0.6356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/37.82, allocations: 225.8 kB / 10.54 GB, free: 77.29 MB / 0.6356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/37.82, allocations: 3.375 kB / 10.54 GB, free: 77.29 MB / 0.6356 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001782/37.83, allocations: 0.6298 MB / 10.54 GB, free: 77.2 MB / 0.6356 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/37.83, allocations: 6.469 kB / 10.54 GB, free: 77.2 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/37.83, allocations: 3.938 kB / 10.54 GB, free: 77.2 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02377/37.85, allocations: 0.553 MB / 10.54 GB, free: 77.18 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/37.85, allocations: 144.9 kB / 10.54 GB, free: 77.17 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/37.85, allocations: 2.978 MB / 10.55 GB, free: 74.28 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/37.85, allocations: 48.73 kB / 10.55 GB, free: 74.27 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/37.85, allocations: 25.31 kB / 10.55 GB, free: 74.27 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.0001991/37.85, allocations: 146.1 kB / 10.55 GB, free: 74.16 MB / 0.6356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/37.85, allocations: 44.17 kB / 10.55 GB, free: 74.13 MB / 0.6356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/37.86, allocations: 1.048 MB / 10.55 GB, free: 74 MB / 0.6356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/37.86, allocations: 10.98 kB / 10.55 GB, free: 74 MB / 0.6356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/37.86, allocations: 0 / 10.55 GB, free: 74 MB / 0.6356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001511/37.86, allocations: 1.07 MB / 10.55 GB, free: 73.61 MB / 0.6356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/37.86, allocations: 1.719 MB / 10.55 GB, free: 73.25 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/37.86, allocations: 0 / 10.55 GB, free: 73.25 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007449/37.86, allocations: 101.8 kB / 10.55 GB, free: 73.24 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00617/37.87, allocations: 382.2 kB / 10.55 GB, free: 73.21 MB / 0.6356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/37.87, allocations: 17.62 kB / 10.55 GB, free: 73.21 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006755/37.87, allocations: 1.142 MB / 10.55 GB, free: 72.17 MB / 0.6356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/37.87, allocations: 0 / 10.55 GB, free: 72.17 MB / 0.6356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/37.87, allocations: 1.105 MB / 10.55 GB, free: 71.97 MB / 0.6356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/37.87, allocations: 145.8 kB / 10.55 GB, free: 71.84 MB / 0.6356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/37.87, allocations: 13.78 kB / 10.55 GB, free: 71.84 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/37.87, allocations: 33.39 kB / 10.55 GB, free: 71.84 MB / 0.6356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/37.87, allocations: 38.48 kB / 10.55 GB, free: 71.83 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.955e-05/37.87, allocations: 20.17 kB / 10.55 GB, free: 71.83 MB / 0.6356 GB Notification: Performance of sorting global known variables: time 0.0003572/37.87, allocations: 244.4 kB / 10.55 GB, free: 71.75 MB / 0.6356 GB Notification: Performance of sort global known variables: time 4.61e-07/37.87, allocations: 0 / 10.55 GB, free: 71.75 MB / 0.6356 GB Notification: Performance of remove unused functions: time 0.02421/37.9, allocations: 1.116 MB / 10.55 GB, free: 71.57 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.2235/38.12, allocations: 25.28 MB / 10.58 GB, free: 58.61 MB / 0.6356 GB Notification: Performance of simCode: created initialization part: time 0.002112/38.12, allocations: 0.6747 MB / 10.58 GB, free: 58.48 MB / 0.6356 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/38.12, allocations: 0 / 10.58 GB, free: 58.48 MB / 0.6356 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/38.12, allocations: 362.8 kB / 10.58 GB, free: 58.46 MB / 0.6356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/38.13, allocations: 256.8 kB / 10.58 GB, free: 58.44 MB / 0.6356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/38.15, allocations: 1.66 MB / 10.58 GB, free: 57.78 MB / 0.6356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/38.15, allocations: 0.8766 MB / 10.58 GB, free: 57.08 MB / 0.6356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/38.15, allocations: 208.4 kB / 10.58 GB, free: 57.07 MB / 0.6356 GB Notification: Performance of SimCode: time 1.212e-06/38.15, allocations: 4 kB / 10.58 GB, free: 57.07 MB / 0.6356 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.534/41.68, allocations: 49.46 MB / 10.63 GB, free: 30 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