Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.179e-05/5.209e-05, allocations: 0 / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3008, allocations: 38.77 MB / 263.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.68/16.98, allocations: 5.484 GB / 5.742 GB, free: 90.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/16.98, allocations: 68.98 kB / 5.742 GB, free: 90.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.854/21.83, allocations: 0.8093 GB / 6.551 GB, free: 20.53 MB / 442.9 MB Notification: Performance of FrontEnd: time 3.667e-06/21.83, allocations: 4 kB / 6.551 GB, free: 20.52 MB / 442.9 MB Notification: Performance of Transformations before backend: time 2.581e-05/21.83, allocations: 10.62 kB / 6.551 GB, free: 20.52 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.02893/21.86, allocations: 1.245 MB / 6.552 GB, free: 19.36 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/21.86, allocations: 8.031 kB / 6.552 GB, free: 19.35 MB / 442.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/21.86, allocations: 70.53 kB / 6.552 GB, free: 19.27 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000734/21.86, allocations: 72.7 kB / 6.552 GB, free: 19.2 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/21.86, allocations: 315.4 kB / 6.553 GB, free: 18.87 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/21.86, allocations: 28.78 kB / 6.553 GB, free: 18.84 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/21.86, allocations: 32 kB / 6.553 GB, free: 18.81 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/21.86, allocations: 456.2 kB / 6.553 GB, free: 18.32 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/21.86, allocations: 0 / 6.553 GB, free: 18.32 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/21.86, allocations: 16 kB / 6.553 GB, free: 18.31 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/21.86, allocations: 11.98 kB / 6.553 GB, free: 18.3 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009865/21.86, allocations: 377.3 kB / 6.554 GB, free: 17.93 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.008791/21.87, allocations: 5.232 MB / 6.559 GB, free: 12.45 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008861/21.87, allocations: 294.9 kB / 6.559 GB, free: 12.16 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/21.87, allocations: 131.3 kB / 6.559 GB, free: 12.03 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003483/21.88, allocations: 2.063 MB / 6.561 GB, free: 9.613 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/21.88, allocations: 38.94 kB / 6.561 GB, free: 9.566 MB / 442.9 MB Notification: Performance of pre-optimization done (n=30): time 3.977e-06/21.88, allocations: 3.938 kB / 6.561 GB, free: 9.562 MB / 442.9 MB Notification: Performance of matching and sorting (n=34): time 0.006779/21.89, allocations: 1.123 MB / 6.562 GB, free: 8.395 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/21.89, allocations: 59.41 kB / 6.562 GB, free: 8.324 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/21.89, allocations: 232.8 kB / 6.563 GB, free: 8.09 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/21.89, allocations: 29.7 kB / 6.563 GB, free: 8.055 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/21.89, allocations: 191.9 kB / 6.563 GB, free: 7.875 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 9.986e-05/21.89, allocations: 122.3 kB / 6.563 GB, free: 7.77 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/21.89, allocations: 8 kB / 6.563 GB, free: 7.762 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/21.89, allocations: 338.8 kB / 6.563 GB, free: 7.422 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/21.89, allocations: 104.9 kB / 6.563 GB, free: 7.32 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/21.89, allocations: 225.2 kB / 6.564 GB, free: 7.051 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/21.89, allocations: 143.9 kB / 6.564 GB, free: 6.91 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/21.89, allocations: 4 kB / 6.564 GB, free: 6.906 MB / 442.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001225/21.89, allocations: 446.9 kB / 6.564 GB, free: 6.457 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/21.89, allocations: 8.781 kB / 6.564 GB, free: 6.449 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/21.89, allocations: 4 kB / 6.564 GB, free: 6.445 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01211/21.9, allocations: 289.3 kB / 6.564 GB, free: 6.156 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/21.9, allocations: 91.83 kB / 6.564 GB, free: 6.066 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/21.9, allocations: 1.831 MB / 6.566 GB, free: 4.078 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/21.9, allocations: 34.11 kB / 6.566 GB, free: 4.047 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/21.9, allocations: 19.98 kB / 6.566 GB, free: 4.027 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.0001546/21.9, allocations: 131.5 kB / 6.566 GB, free: 3.895 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/21.9, allocations: 31.72 kB / 6.566 GB, free: 3.863 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/21.9, allocations: 0.6957 MB / 6.567 GB, free: 3.168 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/21.9, allocations: 4.062 kB / 6.567 GB, free: 3.164 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/21.9, allocations: 4 kB / 6.567 GB, free: 3.16 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009746/21.91, allocations: 0.8671 MB / 6.568 GB, free: 2.203 MB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/21.91, allocations: 1.175 MB / 6.569 GB, free: 0.9727 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/21.91, allocations: 0 / 6.569 GB, free: 0.9727 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/21.91, allocations: 63.91 kB / 6.569 GB, free: 0.9102 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/21.91, allocations: 192.5 kB / 6.569 GB, free: 0.7188 MB / 442.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.147e-05/21.91, allocations: 8 kB / 6.569 GB, free: 0.7109 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004002/21.91, allocations: 0.5757 MB / 6.57 GB, free: 112 kB / 442.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/21.91, allocations: 4.094 kB / 6.57 GB, free: 108 kB / 442.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/21.91, allocations: 0.725 MB / 6.571 GB, free: 15.36 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/21.91, allocations: 124.7 kB / 6.571 GB, free: 15.23 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/21.91, allocations: 15.95 kB / 6.571 GB, free: 15.21 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/21.91, allocations: 25.92 kB / 6.571 GB, free: 15.19 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/21.91, allocations: 15.97 kB / 6.571 GB, free: 15.17 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/21.91, allocations: 19.98 kB / 6.571 GB, free: 15.15 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0003663/21.92, allocations: 211.1 kB / 6.571 GB, free: 14.95 MB / 458.9 MB Notification: Performance of sort global known variables: time 4.8e-07/21.92, allocations: 0 / 6.571 GB, free: 14.95 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01842/21.93, allocations: 0.8505 MB / 6.572 GB, free: 14.15 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.1908/22.12, allocations: 20.24 MB / 6.592 GB, free: 9.961 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.001503/22.13, allocations: 469.5 kB / 6.592 GB, free: 9.492 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/22.13, allocations: 4 kB / 6.592 GB, free: 9.488 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0005691/22.13, allocations: 220.1 kB / 6.592 GB, free: 9.273 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/22.13, allocations: 176.7 kB / 6.593 GB, free: 9.102 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/22.15, allocations: 1.11 MB / 6.594 GB, free: 8.016 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/22.15, allocations: 0.8169 MB / 6.594 GB, free: 7.176 MB / 474.9 MB Notification: Performance of simCode: alias equations: time 0.0007227/22.15, allocations: 198.9 kB / 6.595 GB, free: 6.977 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/22.15, allocations: 135.4 kB / 6.595 GB, free: 6.844 MB / 474.9 MB Notification: Performance of SimCode: time 1.072e-06/22.15, allocations: 0 / 6.595 GB, free: 6.844 MB / 474.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4808/22.63, allocations: 40.75 MB / 6.634 GB, free: 58.32 MB / 474.9 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000327/22.63, allocations: 174.6 kB / 6.635 GB, free: 58.09 MB / 474.9 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.868/27.5, allocations: 3.281 kB / 6.635 GB, free: 58.09 MB / 474.9 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat