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.747/1.747, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.182e-05, allocations: 4 kB / 225.1 MB, free: 2.613 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2667, allocations: 38.76 MB / 263.8 MB, free: 9.754 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.27/16.53, allocations: 5.484 GB / 5.742 GB, free: 28.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/16.53, allocations: 70.16 kB / 5.742 GB, free: 28.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.92/22.45, allocations: 0.9846 GB / 6.726 GB, free: 55.23 MB / 490.9 MB Notification: Performance of FrontEnd: time 3.156e-06/22.45, allocations: 0 / 6.726 GB, free: 55.23 MB / 490.9 MB Notification: Performance of Transformations before backend: time 6.216e-05/22.45, allocations: 11.38 kB / 6.726 GB, free: 55.23 MB / 490.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.03247/22.49, allocations: 1.56 MB / 6.728 GB, free: 54.61 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/22.49, allocations: 10 kB / 6.728 GB, free: 54.61 MB / 490.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/22.49, allocations: 89.86 kB / 6.728 GB, free: 54.57 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009523/22.49, allocations: 84.36 kB / 6.728 GB, free: 54.54 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/22.49, allocations: 391.6 kB / 6.728 GB, free: 54.33 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/22.49, allocations: 32.03 kB / 6.728 GB, free: 54.33 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/22.49, allocations: 49.5 kB / 6.729 GB, free: 54.33 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/22.49, allocations: 0.6148 MB / 6.729 GB, free: 54.18 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/22.49, allocations: 4.688 kB / 6.729 GB, free: 54.18 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/22.49, allocations: 15.84 kB / 6.729 GB, free: 54.18 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/22.49, allocations: 14.38 kB / 6.729 GB, free: 54.18 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/22.49, allocations: 0.5128 MB / 6.73 GB, free: 54.18 MB / 490.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.0102/22.5, allocations: 6.1 MB / 6.736 GB, free: 51.61 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/22.5, allocations: 423.8 kB / 6.736 GB, free: 51.59 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/22.5, allocations: 201.1 kB / 6.736 GB, free: 51.58 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00466/22.51, allocations: 2.838 MB / 6.739 GB, free: 49.14 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/22.51, allocations: 36.38 kB / 6.739 GB, free: 49.11 MB / 490.9 MB Notification: Performance of pre-optimization done (n=46): time 3.115e-06/22.51, allocations: 0.6562 kB / 6.739 GB, free: 49.11 MB / 490.9 MB Notification: Performance of matching and sorting (n=54): time 0.01303/22.52, allocations: 1.821 MB / 6.741 GB, free: 48.73 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/22.52, allocations: 62.31 kB / 6.741 GB, free: 48.66 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/22.52, allocations: 276.2 kB / 6.741 GB, free: 48.55 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/22.52, allocations: 32.08 kB / 6.741 GB, free: 48.52 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/22.52, allocations: 287.2 kB / 6.741 GB, free: 48.33 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/22.52, allocations: 192 kB / 6.742 GB, free: 48.23 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/22.52, allocations: 10.69 kB / 6.742 GB, free: 48.23 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/22.52, allocations: 333.7 kB / 6.742 GB, free: 47.92 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/22.52, allocations: 176.2 kB / 6.742 GB, free: 47.91 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/22.52, allocations: 325.6 kB / 6.742 GB, free: 47.75 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/22.52, allocations: 223.2 kB / 6.743 GB, free: 47.75 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/22.52, allocations: 4.688 kB / 6.743 GB, free: 47.75 MB / 490.9 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001849/22.52, allocations: 0.623 MB / 6.743 GB, free: 47.67 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/22.52, allocations: 5.594 kB / 6.743 GB, free: 47.67 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/22.52, allocations: 10.27 kB / 6.743 GB, free: 47.67 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0298/22.55, allocations: 0.5481 MB / 6.744 GB, free: 47.65 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/22.56, allocations: 141.8 kB / 6.744 GB, free: 47.65 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/22.56, allocations: 2.985 MB / 6.747 GB, free: 44.78 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/22.56, allocations: 44.42 kB / 6.747 GB, free: 44.77 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/22.56, allocations: 32.92 kB / 6.747 GB, free: 44.77 MB / 490.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.0002837/22.56, allocations: 144.1 kB / 6.747 GB, free: 44.67 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/22.56, allocations: 42.44 kB / 6.747 GB, free: 44.65 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/22.56, allocations: 1.047 MB / 6.748 GB, free: 44.54 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/22.56, allocations: 18.12 kB / 6.748 GB, free: 44.54 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/22.56, allocations: 0 / 6.748 GB, free: 44.54 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00219/22.57, allocations: 1.079 MB / 6.749 GB, free: 44.14 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/22.57, allocations: 1.709 MB / 6.751 GB, free: 43.79 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/22.57, allocations: 3.328 kB / 6.751 GB, free: 43.79 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/22.57, allocations: 99.86 kB / 6.751 GB, free: 43.79 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008541/22.58, allocations: 386.5 kB / 6.751 GB, free: 43.77 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/22.58, allocations: 13.8 kB / 6.751 GB, free: 43.77 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/22.58, allocations: 1.141 MB / 6.752 GB, free: 42.73 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/22.58, allocations: 2.625 kB / 6.752 GB, free: 42.73 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/22.58, allocations: 1.109 MB / 6.754 GB, free: 42.53 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/22.59, allocations: 138.9 kB / 6.754 GB, free: 42.41 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/22.59, allocations: 10.72 kB / 6.754 GB, free: 42.41 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008408/22.59, allocations: 38.83 kB / 6.754 GB, free: 42.41 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/22.59, allocations: 41.62 kB / 6.754 GB, free: 42.41 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/22.59, allocations: 28 kB / 6.754 GB, free: 42.41 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.0005287/22.59, allocations: 243.3 kB / 6.754 GB, free: 42.32 MB / 490.9 MB Notification: Performance of sort global known variables: time 6.21e-07/22.59, allocations: 3.188 kB / 6.754 GB, free: 42.32 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.0261/22.61, allocations: 1.109 MB / 6.755 GB, free: 42.14 MB / 490.9 MB 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.2664/22.88, allocations: 25.26 MB / 6.78 GB, free: 29.73 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.002106/22.88, allocations: 0.6813 MB / 6.78 GB, free: 29.61 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/22.88, allocations: 0 / 6.78 GB, free: 29.61 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/22.88, allocations: 370.2 kB / 6.781 GB, free: 29.6 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/22.89, allocations: 247.9 kB / 6.781 GB, free: 29.59 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/22.91, allocations: 1.657 MB / 6.783 GB, free: 29.07 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/22.91, allocations: 0.8766 MB / 6.783 GB, free: 28.37 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/22.91, allocations: 209.5 kB / 6.784 GB, free: 28.36 MB / 490.9 MB Notification: Performance of SimCode: time 2.094e-06/22.91, allocations: 1.719 kB / 6.784 GB, free: 28.36 MB / 490.9 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.642/26.55, allocations: 49.42 MB / 6.832 GB, free: 18.68 MB / 490.9 MB 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