Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.035e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 44.51 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.57/17.67, allocations: 5.72 GB / 6.013 GB, free: 88.44 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/17.67, allocations: 71.77 kB / 6.013 GB, free: 88.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.98/33.66, allocations: 3.492 GB / 9.505 GB, free: 52.36 MB / 0.5888 GB Notification: Performance of FrontEnd: time 1.673e-06/33.66, allocations: 0 / 9.505 GB, free: 52.36 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 3.126e-05/33.66, allocations: 15.98 kB / 9.505 GB, free: 52.35 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.04645/33.7, allocations: 1.666 MB / 9.507 GB, free: 50.97 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/33.7, allocations: 8.031 kB / 9.507 GB, free: 50.96 MB / 0.5888 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.802e-05/33.7, allocations: 69.73 kB / 9.507 GB, free: 50.91 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007293/33.7, allocations: 64.2 kB / 9.507 GB, free: 50.86 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000536/33.7, allocations: 324.2 kB / 9.507 GB, free: 50.6 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/33.7, allocations: 31.84 kB / 9.507 GB, free: 50.58 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/33.7, allocations: 34.25 kB / 9.507 GB, free: 50.56 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/33.7, allocations: 454.5 kB / 9.508 GB, free: 50.26 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/33.7, allocations: 7.453 kB / 9.508 GB, free: 50.25 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/33.7, allocations: 19.31 kB / 9.508 GB, free: 50.25 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/33.7, allocations: 8 kB / 9.508 GB, free: 50.24 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009624/33.71, allocations: 387.7 kB / 9.508 GB, free: 50.02 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.008682/33.71, allocations: 5.234 MB / 9.513 GB, free: 45.76 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009139/33.72, allocations: 293.9 kB / 9.514 GB, free: 45.58 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/33.72, allocations: 132.5 kB / 9.514 GB, free: 45.5 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003345/33.72, allocations: 2.057 MB / 9.516 GB, free: 43.3 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/33.72, allocations: 42.2 kB / 9.516 GB, free: 43.25 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=30): time 3.947e-06/33.72, allocations: 0 / 9.516 GB, free: 43.25 MB / 0.5888 GB Notification: Performance of matching and sorting (n=34): time 0.006847/33.73, allocations: 1.118 MB / 9.517 GB, free: 42.38 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/33.73, allocations: 59.41 kB / 9.517 GB, free: 42.31 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/33.73, allocations: 235.8 kB / 9.517 GB, free: 42.09 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/33.73, allocations: 33.7 kB / 9.517 GB, free: 42.05 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/33.73, allocations: 246.2 kB / 9.517 GB, free: 41.83 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/33.73, allocations: 118.6 kB / 9.517 GB, free: 41.74 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/33.73, allocations: 12 kB / 9.517 GB, free: 41.73 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/33.73, allocations: 330.2 kB / 9.518 GB, free: 41.4 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/33.73, allocations: 100.9 kB / 9.518 GB, free: 41.3 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/33.73, allocations: 221.8 kB / 9.518 GB, free: 41.05 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/33.73, allocations: 159.2 kB / 9.518 GB, free: 40.9 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/33.73, allocations: 0 / 9.518 GB, free: 40.9 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001197/33.73, allocations: 436.5 kB / 9.519 GB, free: 40.5 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/33.73, allocations: 8 kB / 9.519 GB, free: 40.49 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/33.73, allocations: 4 kB / 9.519 GB, free: 40.49 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/33.74, allocations: 291.8 kB / 9.519 GB, free: 40.29 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/33.74, allocations: 90.56 kB / 9.519 GB, free: 40.21 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/33.74, allocations: 1.844 MB / 9.521 GB, free: 38.25 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/33.74, allocations: 29.78 kB / 9.521 GB, free: 38.22 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/33.74, allocations: 23.52 kB / 9.521 GB, free: 38.2 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.0001459/33.74, allocations: 130.8 kB / 9.521 GB, free: 38.07 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/33.74, allocations: 31.62 kB / 9.521 GB, free: 38.04 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/33.75, allocations: 0.7077 MB / 9.522 GB, free: 37.4 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/33.75, allocations: 7.75 kB / 9.522 GB, free: 37.39 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/33.75, allocations: 3.938 kB / 9.522 GB, free: 37.39 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009961/33.75, allocations: 0.851 MB / 9.523 GB, free: 36.49 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/33.75, allocations: 1.192 MB / 9.524 GB, free: 35.4 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/33.75, allocations: 0 / 9.524 GB, free: 35.4 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/33.75, allocations: 70.81 kB / 9.524 GB, free: 35.34 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003148/33.75, allocations: 191.5 kB / 9.524 GB, free: 35.23 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/33.75, allocations: 7.375 kB / 9.524 GB, free: 35.23 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003762/33.75, allocations: 0.5672 MB / 9.525 GB, free: 34.64 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/33.75, allocations: 4.094 kB / 9.525 GB, free: 34.64 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/33.75, allocations: 0.7394 MB / 9.525 GB, free: 33.93 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/33.75, allocations: 123.3 kB / 9.525 GB, free: 33.8 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/33.75, allocations: 8 kB / 9.525 GB, free: 33.79 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/33.75, allocations: 28.8 kB / 9.525 GB, free: 33.77 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/33.75, allocations: 18 kB / 9.525 GB, free: 33.75 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/33.75, allocations: 15.61 kB / 9.525 GB, free: 33.74 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0002956/33.76, allocations: 220 kB / 9.526 GB, free: 33.54 MB / 0.5888 GB Notification: Performance of sort global known variables: time 4.01e-07/33.76, allocations: 0 / 9.526 GB, free: 33.54 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01611/33.77, allocations: 0.8601 MB / 9.526 GB, free: 32.77 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.1889/33.96, allocations: 20.22 MB / 9.546 GB, free: 12.74 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.001318/33.96, allocations: 481.4 kB / 9.547 GB, free: 12.25 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/33.96, allocations: 0 / 9.547 GB, free: 12.25 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0005291/33.96, allocations: 218.7 kB / 9.547 GB, free: 12.04 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/33.96, allocations: 176.6 kB / 9.547 GB, free: 11.87 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/33.98, allocations: 1.153 MB / 9.548 GB, free: 10.74 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/33.98, allocations: 0.813 MB / 9.549 GB, free: 9.902 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/33.98, allocations: 139.4 kB / 9.549 GB, free: 9.766 MB / 0.5888 GB Notification: Performance of SimCode: time 1.263e-06/33.98, allocations: 0 / 9.549 GB, free: 9.766 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.98/37.96, allocations: 37.31 MB / 9.586 GB, free: 96.72 MB / 0.5888 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat