Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.875/1.875, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.837e-05, allocations: 4 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3802, allocations: 38.76 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.96/16.34, allocations: 5.483 GB / 5.736 GB, free: 93.99 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/16.35, allocations: 74.11 kB / 5.736 GB, free: 93.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.757/21.1, allocations: 0.7887 GB / 6.524 GB, free: 57.91 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.333e-06/21.1, allocations: 0 / 6.524 GB, free: 57.91 MB / 458.9 MB Notification: Performance of Transformations before backend: time 2.881e-05/21.1, allocations: 9.688 kB / 6.524 GB, free: 57.91 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.02718/21.13, allocations: 1.244 MB / 6.526 GB, free: 57.19 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 6.677e-05/21.13, allocations: 11.94 kB / 6.526 GB, free: 57.19 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/21.13, allocations: 69.73 kB / 6.526 GB, free: 57.17 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/21.13, allocations: 313.9 kB / 6.526 GB, free: 56.96 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/21.13, allocations: 11.22 kB / 6.526 GB, free: 56.96 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/21.13, allocations: 18.12 kB / 6.526 GB, free: 56.96 MB / 458.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001547/21.13, allocations: 325.6 kB / 6.526 GB, free: 56.96 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/21.14, allocations: 382.8 kB / 6.527 GB, free: 56.83 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/21.14, allocations: 1.969 kB / 6.527 GB, free: 56.83 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.781e-05/21.14, allocations: 3.656 kB / 6.527 GB, free: 56.83 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/21.14, allocations: 7.219 kB / 6.527 GB, free: 56.83 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.01322/21.15, allocations: 5.569 MB / 6.532 GB, free: 54.5 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/21.15, allocations: 216.1 kB / 6.532 GB, free: 54.47 MB / 458.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/21.15, allocations: 116.5 kB / 6.533 GB, free: 54.46 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002859/21.15, allocations: 1.652 MB / 6.534 GB, free: 53.05 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/21.15, allocations: 36.16 kB / 6.534 GB, free: 53.01 MB / 458.9 MB Notification: Performance of pre-optimization done (n=28): time 3.406e-06/21.15, allocations: 0 / 6.534 GB, free: 53.01 MB / 458.9 MB Notification: Performance of matching and sorting (n=32): time 0.01237/21.17, allocations: 1.444 MB / 6.536 GB, free: 52.67 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/21.17, allocations: 55.06 kB / 6.536 GB, free: 52.61 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/21.17, allocations: 204.5 kB / 6.536 GB, free: 52.5 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/21.17, allocations: 25.7 kB / 6.536 GB, free: 52.47 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/21.17, allocations: 264.5 kB / 6.536 GB, free: 52.28 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/21.17, allocations: 106.1 kB / 6.536 GB, free: 52.22 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/21.17, allocations: 0 / 6.536 GB, free: 52.22 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/21.17, allocations: 330.3 kB / 6.537 GB, free: 51.91 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/21.17, allocations: 102.5 kB / 6.537 GB, free: 51.91 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/21.17, allocations: 205.7 kB / 6.537 GB, free: 51.79 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003665/21.17, allocations: 328 kB / 6.537 GB, free: 51.78 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/21.17, allocations: 3.469 kB / 6.537 GB, free: 51.78 MB / 458.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.005203/21.18, allocations: 0.5836 MB / 6.538 GB, free: 51.7 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/21.18, allocations: 6.438 kB / 6.538 GB, free: 51.7 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/21.18, allocations: 3.031 kB / 6.538 GB, free: 51.7 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004073/21.18, allocations: 58.56 kB / 6.538 GB, free: 51.68 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/21.18, allocations: 87.98 kB / 6.538 GB, free: 51.68 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/21.18, allocations: 1.894 MB / 6.54 GB, free: 49.96 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000736/21.18, allocations: 25 kB / 6.54 GB, free: 49.95 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/21.18, allocations: 21.22 kB / 6.54 GB, free: 49.95 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.0002103/21.18, allocations: 117.6 kB / 6.54 GB, free: 49.84 MB / 458.9 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00478/21.19, allocations: 495.6 kB / 6.54 GB, free: 49.77 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/21.19, allocations: 28.45 kB / 6.54 GB, free: 49.75 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/21.19, allocations: 0.6849 MB / 6.541 GB, free: 49.65 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/21.19, allocations: 3.031 kB / 6.541 GB, free: 49.65 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/21.19, allocations: 7.781 kB / 6.541 GB, free: 49.64 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002377/21.19, allocations: 0.8562 MB / 6.542 GB, free: 49.19 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/21.2, allocations: 1.109 MB / 6.543 GB, free: 48.87 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/21.2, allocations: 0.7812 kB / 6.543 GB, free: 48.87 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/21.2, allocations: 64.66 kB / 6.543 GB, free: 48.87 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/21.2, allocations: 65.09 kB / 6.543 GB, free: 48.86 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/21.2, allocations: 6.406 kB / 6.543 GB, free: 48.85 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006255/21.2, allocations: 0.6069 MB / 6.544 GB, free: 48.32 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/21.2, allocations: 0.9375 kB / 6.544 GB, free: 48.32 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/21.2, allocations: 0.7681 MB / 6.544 GB, free: 48.11 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/21.2, allocations: 117.5 kB / 6.545 GB, free: 47.99 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.991e-05/21.2, allocations: 3.125 kB / 6.545 GB, free: 47.99 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/21.2, allocations: 10.14 kB / 6.545 GB, free: 47.99 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/21.2, allocations: 26.66 kB / 6.545 GB, free: 47.99 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/21.2, allocations: 17.69 kB / 6.545 GB, free: 47.99 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0002631/21.2, allocations: 158.2 kB / 6.545 GB, free: 47.91 MB / 458.9 MB Notification: Performance of sort global known variables: time 5.81e-07/21.2, allocations: 0 / 6.545 GB, free: 47.91 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01767/21.22, allocations: 0.8169 MB / 6.546 GB, free: 47.78 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.1843/21.4, allocations: 20.49 MB / 6.566 GB, free: 37.3 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.001361/21.41, allocations: 448.3 kB / 6.566 GB, free: 37.09 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/21.41, allocations: 0 / 6.566 GB, free: 37.09 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0006851/21.41, allocations: 212.4 kB / 6.566 GB, free: 37.01 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/21.41, allocations: 136.6 kB / 6.566 GB, free: 36.98 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/21.42, allocations: 1.1 MB / 6.567 GB, free: 36.45 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/21.42, allocations: 0.8053 MB / 6.568 GB, free: 35.74 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/21.42, allocations: 125.7 kB / 6.568 GB, free: 35.66 MB / 458.9 MB Notification: Performance of SimCode: time 1.443e-06/21.42, allocations: 0 / 6.568 GB, free: 35.66 MB / 458.9 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.37/24.79, allocations: 36.95 MB / 6.604 GB, free: 8.973 MB / 458.9 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat