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.698/1.698, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.968e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2633, allocations: 38.77 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.39/16.65, allocations: 5.484 GB / 5.742 GB, free: 90.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/16.65, allocations: 70.22 kB / 5.742 GB, free: 90.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.916/21.57, allocations: 0.8093 GB / 6.551 GB, free: 20.51 MB / 442.9 MB Notification: Performance of FrontEnd: time 3.316e-06/21.57, allocations: 0 / 6.551 GB, free: 20.51 MB / 442.9 MB Notification: Performance of Transformations before backend: time 3.295e-05/21.57, allocations: 10.62 kB / 6.551 GB, free: 20.5 MB / 442.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.03528/21.6, allocations: 1.246 MB / 6.552 GB, free: 19.34 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/21.6, allocations: 8.031 kB / 6.552 GB, free: 19.33 MB / 442.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/21.6, allocations: 70.53 kB / 6.552 GB, free: 19.25 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007764/21.6, allocations: 64.7 kB / 6.552 GB, free: 19.19 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/21.61, allocations: 329.5 kB / 6.553 GB, free: 18.84 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/21.61, allocations: 20.78 kB / 6.553 GB, free: 18.82 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/21.61, allocations: 36 kB / 6.553 GB, free: 18.79 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/21.61, allocations: 460.2 kB / 6.553 GB, free: 18.3 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/21.61, allocations: 0 / 6.553 GB, free: 18.3 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/21.61, allocations: 19.42 kB / 6.553 GB, free: 18.29 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/21.61, allocations: 8 kB / 6.553 GB, free: 18.28 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/21.61, allocations: 390.8 kB / 6.554 GB, free: 17.89 MB / 442.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.009086/21.62, allocations: 5.226 MB / 6.559 GB, free: 12.42 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009315/21.62, allocations: 298.6 kB / 6.559 GB, free: 12.12 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/21.62, allocations: 132.8 kB / 6.559 GB, free: 11.99 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003562/21.62, allocations: 2.063 MB / 6.561 GB, free: 9.578 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/21.62, allocations: 34.94 kB / 6.561 GB, free: 9.535 MB / 442.9 MB Notification: Performance of pre-optimization done (n=30): time 3.236e-06/21.62, allocations: 0 / 6.561 GB, free: 9.535 MB / 442.9 MB Notification: Performance of matching and sorting (n=34): time 0.00705/21.63, allocations: 1.133 MB / 6.562 GB, free: 8.355 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/21.63, allocations: 55.41 kB / 6.562 GB, free: 8.289 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/21.63, allocations: 230.8 kB / 6.563 GB, free: 8.055 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/21.63, allocations: 33.7 kB / 6.563 GB, free: 8.016 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/21.63, allocations: 248.4 kB / 6.563 GB, free: 7.785 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/21.63, allocations: 118.3 kB / 6.563 GB, free: 7.684 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/21.63, allocations: 4 kB / 6.563 GB, free: 7.68 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 7.133e-05/21.63, allocations: 334.8 kB / 6.563 GB, free: 7.344 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/21.63, allocations: 112.9 kB / 6.563 GB, free: 7.234 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/21.63, allocations: 222.9 kB / 6.564 GB, free: 6.969 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/21.63, allocations: 136 kB / 6.564 GB, free: 6.836 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/21.63, allocations: 4 kB / 6.564 GB, free: 6.832 MB / 442.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001228/21.63, allocations: 449.4 kB / 6.564 GB, free: 6.383 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/21.63, allocations: 9.875 kB / 6.564 GB, free: 6.375 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/21.63, allocations: 4 kB / 6.564 GB, free: 6.371 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0121/21.64, allocations: 293.7 kB / 6.564 GB, free: 6.078 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006705/21.65, allocations: 91.89 kB / 6.564 GB, free: 5.988 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/21.65, allocations: 1.84 MB / 6.566 GB, free: 3.988 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/21.65, allocations: 29.86 kB / 6.566 GB, free: 3.961 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/21.65, allocations: 23.98 kB / 6.566 GB, free: 3.938 MB / 442.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.0001499/21.65, allocations: 127 kB / 6.566 GB, free: 3.809 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/21.65, allocations: 31.62 kB / 6.566 GB, free: 3.777 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/21.65, allocations: 0.6978 MB / 6.567 GB, free: 3.078 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/21.65, allocations: 7.984 kB / 6.567 GB, free: 3.07 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/21.65, allocations: 3.516 kB / 6.567 GB, free: 3.07 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/21.65, allocations: 0.8593 MB / 6.568 GB, free: 2.121 MB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/21.65, allocations: 1.181 MB / 6.569 GB, free: 0.8867 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/21.65, allocations: 0 / 6.569 GB, free: 0.8867 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007871/21.65, allocations: 71.33 kB / 6.569 GB, free: 0.8203 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004738/21.66, allocations: 188.5 kB / 6.569 GB, free: 0.6328 MB / 442.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/21.66, allocations: 11.94 kB / 6.569 GB, free: 0.6211 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005427/21.66, allocations: 0.5835 MB / 6.57 GB, free: 12 kB / 442.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/21.66, allocations: 0 / 6.57 GB, free: 12 kB / 442.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/21.66, allocations: 0.7251 MB / 6.571 GB, free: 15.27 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/21.66, allocations: 120.6 kB / 6.571 GB, free: 15.14 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/21.66, allocations: 15.98 kB / 6.571 GB, free: 15.12 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/21.66, allocations: 18.12 kB / 6.571 GB, free: 15.11 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/21.66, allocations: 23.97 kB / 6.571 GB, free: 15.08 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/21.66, allocations: 11.98 kB / 6.571 GB, free: 15.07 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0005105/21.66, allocations: 215.1 kB / 6.571 GB, free: 14.86 MB / 458.9 MB Notification: Performance of sort global known variables: time 3.166e-06/21.66, allocations: 0 / 6.571 GB, free: 14.86 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.02321/21.69, allocations: 0.8544 MB / 6.572 GB, free: 14.06 MB / 458.9 MB 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.1982/21.88, allocations: 20.24 MB / 6.592 GB, free: 9.879 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.001543/21.89, allocations: 486.2 kB / 6.592 GB, free: 9.391 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/21.89, allocations: 0 / 6.592 GB, free: 9.391 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/21.89, allocations: 220 kB / 6.592 GB, free: 9.176 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/21.89, allocations: 181.5 kB / 6.593 GB, free: 9.004 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/21.91, allocations: 1.14 MB / 6.594 GB, free: 7.875 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/21.91, allocations: 0.8198 MB / 6.594 GB, free: 7.035 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/21.91, allocations: 135.4 kB / 6.595 GB, free: 6.902 MB / 474.9 MB Notification: Performance of SimCode: time 1.322e-06/21.91, allocations: 8 kB / 6.595 GB, free: 6.895 MB / 474.9 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.737/25.65, allocations: 37.27 MB / 6.631 GB, free: 58.44 MB / 474.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