Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.111/2.111, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.471e-05, allocations: 1.406 kB / 255.4 MB, free: 2.652 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 44.51 MB / 300 MB, free: 6.082 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.67/17.78, allocations: 5.72 GB / 6.013 GB, free: 96.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/17.78, allocations: 72.69 kB / 6.013 GB, free: 96.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.81/33.59, allocations: 3.492 GB / 9.505 GB, free: 71.06 MB / 0.5888 GB Notification: Performance of FrontEnd: time 2.836e-06/33.59, allocations: 0 / 9.505 GB, free: 71.06 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 3.613e-05/33.59, allocations: 12 kB / 9.505 GB, free: 71.05 MB / 0.5888 GB 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.05101/33.64, allocations: 1.671 MB / 9.507 GB, free: 69.68 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/33.64, allocations: 12.03 kB / 9.507 GB, free: 69.66 MB / 0.5888 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/33.64, allocations: 67.14 kB / 9.507 GB, free: 69.62 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/33.64, allocations: 63.92 kB / 9.507 GB, free: 69.56 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/33.64, allocations: 322.1 kB / 9.507 GB, free: 69.3 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/33.64, allocations: 29.67 kB / 9.507 GB, free: 69.29 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/33.64, allocations: 37.44 kB / 9.507 GB, free: 69.27 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/33.64, allocations: 458 kB / 9.508 GB, free: 68.96 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/33.64, allocations: 3.656 kB / 9.508 GB, free: 68.96 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/33.64, allocations: 17 kB / 9.508 GB, free: 68.95 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/33.64, allocations: 8 kB / 9.508 GB, free: 68.95 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/33.65, allocations: 381.9 kB / 9.508 GB, free: 68.73 MB / 0.5888 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.009086/33.65, allocations: 5.238 MB / 9.513 GB, free: 64.5 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009666/33.66, allocations: 297.8 kB / 9.514 GB, free: 64.32 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/33.66, allocations: 128.9 kB / 9.514 GB, free: 64.25 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003363/33.66, allocations: 2.059 MB / 9.516 GB, free: 62.05 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/33.66, allocations: 45.89 kB / 9.516 GB, free: 62 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=30): time 3.717e-06/33.66, allocations: 0 / 9.516 GB, free: 62 MB / 0.5888 GB Notification: Performance of matching and sorting (n=34): time 0.007099/33.67, allocations: 1.125 MB / 9.517 GB, free: 61.18 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/33.67, allocations: 55.41 kB / 9.517 GB, free: 61.12 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/33.67, allocations: 224.2 kB / 9.517 GB, free: 60.95 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/33.67, allocations: 33.52 kB / 9.517 GB, free: 60.91 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/33.67, allocations: 194.7 kB / 9.517 GB, free: 60.77 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/33.67, allocations: 119 kB / 9.517 GB, free: 60.7 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/33.67, allocations: 6.938 kB / 9.517 GB, free: 60.7 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/33.67, allocations: 339.4 kB / 9.518 GB, free: 60.38 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/33.67, allocations: 108.4 kB / 9.518 GB, free: 60.32 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/33.67, allocations: 222 kB / 9.518 GB, free: 60.11 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/33.67, allocations: 154.4 kB / 9.518 GB, free: 60.02 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/33.67, allocations: 0 / 9.518 GB, free: 60.02 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001256/33.67, allocations: 449.5 kB / 9.519 GB, free: 59.71 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/33.67, allocations: 8 kB / 9.519 GB, free: 59.71 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/33.67, allocations: 4 kB / 9.519 GB, free: 59.7 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/33.68, allocations: 292.7 kB / 9.519 GB, free: 59.54 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/33.68, allocations: 89.12 kB / 9.519 GB, free: 59.47 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/33.68, allocations: 1.84 MB / 9.521 GB, free: 57.58 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/33.68, allocations: 35.47 kB / 9.521 GB, free: 57.56 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/33.69, allocations: 23.25 kB / 9.521 GB, free: 57.55 MB / 0.5888 GB 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.0001527/33.69, allocations: 126.9 kB / 9.521 GB, free: 57.43 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/33.69, allocations: 35.62 kB / 9.521 GB, free: 57.39 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/33.69, allocations: 0.6994 MB / 9.522 GB, free: 56.98 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/33.69, allocations: 8 kB / 9.522 GB, free: 56.98 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/33.69, allocations: 0 / 9.522 GB, free: 56.98 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/33.69, allocations: 0.8564 MB / 9.523 GB, free: 56.25 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/33.69, allocations: 1.191 MB / 9.524 GB, free: 55.52 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/33.69, allocations: 0 / 9.524 GB, free: 55.52 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/33.69, allocations: 65.55 kB / 9.524 GB, free: 55.46 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003162/33.69, allocations: 202 kB / 9.524 GB, free: 55.37 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/33.69, allocations: 9.5 kB / 9.524 GB, free: 55.36 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003958/33.69, allocations: 0.5777 MB / 9.525 GB, free: 54.8 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/33.69, allocations: 0 / 9.525 GB, free: 54.8 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/33.7, allocations: 0.7179 MB / 9.525 GB, free: 54.32 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/33.7, allocations: 130.1 kB / 9.525 GB, free: 54.2 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.858e-05/33.7, allocations: 9.625 kB / 9.525 GB, free: 54.2 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/33.7, allocations: 21.23 kB / 9.525 GB, free: 54.18 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/33.7, allocations: 27.17 kB / 9.525 GB, free: 54.17 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/33.7, allocations: 12.22 kB / 9.525 GB, free: 54.16 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0003331/33.7, allocations: 213.3 kB / 9.526 GB, free: 54 MB / 0.5888 GB Notification: Performance of sort global known variables: time 4.21e-07/33.7, allocations: 0 / 9.526 GB, free: 54 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01756/33.71, allocations: 0.8553 MB / 9.526 GB, free: 53.3 MB / 0.5888 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * 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.1877/33.9, allocations: 20.24 MB / 9.546 GB, free: 33.57 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.001436/33.9, allocations: 488.1 kB / 9.547 GB, free: 33.1 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/33.9, allocations: 0.875 kB / 9.547 GB, free: 33.1 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0005436/33.9, allocations: 213.6 kB / 9.547 GB, free: 32.9 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/33.91, allocations: 178.5 kB / 9.547 GB, free: 32.78 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/33.92, allocations: 1.113 MB / 9.548 GB, free: 31.79 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/33.92, allocations: 0.813 MB / 9.549 GB, free: 31.01 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.0006813/33.92, allocations: 199.6 kB / 9.549 GB, free: 30.88 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/33.92, allocations: 130.5 kB / 9.549 GB, free: 30.76 MB / 0.5888 GB Notification: Performance of SimCode: time 1.473e-06/33.92, allocations: 4 kB / 9.549 GB, free: 30.75 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/34.03, allocations: 40.77 MB / 9.589 GB, free: 9.195 MB / 0.6044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003612/34.03, allocations: 168.4 kB / 9.589 GB, free: 8.969 MB / 0.6044 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.134/39.17, allocations: 0 / 9.589 GB, free: 8.969 MB / 0.6044 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat