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 2.043/2.043, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.819e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3749, allocations: 44.5 MB / 294.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.6/16.98, allocations: 5.72 GB / 6.007 GB, free: 98.17 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/16.98, allocations: 69.45 kB / 6.007 GB, free: 98.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 19.96/36.93, allocations: 4.471 GB / 10.48 GB, free: 85 MB / 0.62 GB Notification: Performance of FrontEnd: time 2.114e-06/36.93, allocations: 0 / 10.48 GB, free: 85 MB / 0.62 GB Notification: Performance of Transformations before backend: time 3.857e-05/36.93, allocations: 8.531 kB / 10.48 GB, free: 85 MB / 0.62 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.06033/36.99, allocations: 2.2 MB / 10.48 GB, free: 83.91 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/36.99, allocations: 10.03 kB / 10.48 GB, free: 83.91 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/37, allocations: 87.62 kB / 10.48 GB, free: 83.89 MB / 0.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/37, allocations: 375 kB / 10.48 GB, free: 83.69 MB / 0.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/37, allocations: 14 kB / 10.48 GB, free: 83.69 MB / 0.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/37, allocations: 31 kB / 10.48 GB, free: 83.68 MB / 0.62 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001098/37, allocations: 455.4 kB / 10.48 GB, free: 83.68 MB / 0.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/37, allocations: 0.5121 MB / 10.48 GB, free: 83.53 MB / 0.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/37, allocations: 4.875 kB / 10.48 GB, free: 83.53 MB / 0.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/37, allocations: 6.078 kB / 10.48 GB, free: 83.52 MB / 0.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/37, allocations: 12.94 kB / 10.48 GB, free: 83.52 MB / 0.62 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.01124/37.01, allocations: 6.409 MB / 10.49 GB, free: 80.6 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/37.01, allocations: 326.5 kB / 10.49 GB, free: 80.58 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/37.01, allocations: 189.4 kB / 10.49 GB, free: 80.56 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00416/37.02, allocations: 2.428 MB / 10.49 GB, free: 78.48 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/37.02, allocations: 40.91 kB / 10.49 GB, free: 78.44 MB / 0.62 GB Notification: Performance of pre-optimization done (n=44): time 3.116e-06/37.02, allocations: 0 / 10.49 GB, free: 78.44 MB / 0.62 GB Notification: Performance of matching and sorting (n=52): time 0.02089/37.04, allocations: 2.281 MB / 10.49 GB, free: 78.07 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/37.04, allocations: 55.75 kB / 10.49 GB, free: 78 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/37.04, allocations: 244.1 kB / 10.49 GB, free: 77.9 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/37.04, allocations: 25.7 kB / 10.49 GB, free: 77.87 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/37.04, allocations: 297 kB / 10.49 GB, free: 77.66 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/37.04, allocations: 184 kB / 10.49 GB, free: 77.57 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/37.04, allocations: 0 / 10.49 GB, free: 77.57 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/37.04, allocations: 331.8 kB / 10.49 GB, free: 77.25 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/37.04, allocations: 158.7 kB / 10.49 GB, free: 77.25 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/37.04, allocations: 308.9 kB / 10.49 GB, free: 77.09 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005879/37.05, allocations: 0.5327 MB / 10.49 GB, free: 77.08 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/37.05, allocations: 4 kB / 10.49 GB, free: 77.07 MB / 0.62 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00722/37.05, allocations: 0.9133 MB / 10.5 GB, free: 76.99 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/37.05, allocations: 7.469 kB / 10.5 GB, free: 76.99 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/37.05, allocations: 4.094 kB / 10.5 GB, free: 76.99 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005099/37.05, allocations: 95.31 kB / 10.5 GB, free: 76.96 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/37.05, allocations: 140.4 kB / 10.5 GB, free: 76.96 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006499/37.06, allocations: 3.151 MB / 10.5 GB, free: 74.14 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000812/37.06, allocations: 35.06 kB / 10.5 GB, free: 74.14 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.952e-05/37.06, allocations: 31.64 kB / 10.5 GB, free: 74.14 MB / 0.62 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.0002212/37.06, allocations: 128 kB / 10.5 GB, free: 74.02 MB / 0.62 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006648/37.07, allocations: 0.7834 MB / 10.5 GB, free: 73.93 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/37.07, allocations: 41.91 kB / 10.5 GB, free: 73.91 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/37.07, allocations: 1.06 MB / 10.5 GB, free: 73.79 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/37.07, allocations: 17.91 kB / 10.5 GB, free: 73.79 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/37.07, allocations: 3.953 kB / 10.5 GB, free: 73.79 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003009/37.08, allocations: 1.101 MB / 10.5 GB, free: 73.39 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004338/37.08, allocations: 1.636 MB / 10.5 GB, free: 73.05 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/37.08, allocations: 0 / 10.5 GB, free: 73.05 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000715/37.08, allocations: 99.06 kB / 10.5 GB, free: 73.05 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006244/37.08, allocations: 124.8 kB / 10.5 GB, free: 73.02 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/37.08, allocations: 10.91 kB / 10.5 GB, free: 73.02 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/37.08, allocations: 1.204 MB / 10.5 GB, free: 71.97 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/37.08, allocations: 3.953 kB / 10.5 GB, free: 71.97 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/37.09, allocations: 1.163 MB / 10.51 GB, free: 71.72 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/37.09, allocations: 129.5 kB / 10.51 GB, free: 71.6 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/37.09, allocations: 3.719 kB / 10.51 GB, free: 71.6 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/37.09, allocations: 20.73 kB / 10.51 GB, free: 71.59 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/37.09, allocations: 32.55 kB / 10.51 GB, free: 71.59 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/37.09, allocations: 24.81 kB / 10.51 GB, free: 71.59 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.0002609/37.09, allocations: 187.5 kB / 10.51 GB, free: 71.51 MB / 0.62 GB Notification: Performance of sort global known variables: time 9.32e-07/37.09, allocations: 0 / 10.51 GB, free: 71.51 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.01954/37.11, allocations: 1.075 MB / 10.51 GB, free: 71.33 MB / 0.62 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * 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.2287/37.34, allocations: 25.56 MB / 10.53 GB, free: 48.63 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.001979/37.34, allocations: 0.6488 MB / 10.53 GB, free: 48.18 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/37.34, allocations: 3.938 kB / 10.53 GB, free: 48.18 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0008113/37.34, allocations: 337.2 kB / 10.53 GB, free: 47.99 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/37.34, allocations: 210.2 kB / 10.53 GB, free: 47.86 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/37.36, allocations: 1.605 MB / 10.54 GB, free: 46.59 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/37.36, allocations: 0.8693 MB / 10.54 GB, free: 45.76 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/37.36, allocations: 196.4 kB / 10.54 GB, free: 45.71 MB / 0.62 GB Notification: Performance of SimCode: time 1.573e-06/37.36, allocations: 0 / 10.54 GB, free: 45.71 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.652/41.01, allocations: 48.91 MB / 10.58 GB, free: 6.484 MB / 0.62 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