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.771/1.771, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.728e-05/4.736e-05, allocations: 8 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3331, allocations: 38.77 MB / 263.8 MB, free: 9.77 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.79/17.12, allocations: 5.484 GB / 5.742 GB, free: 89.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/17.12, allocations: 72.16 kB / 5.742 GB, free: 89.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859/21.98, allocations: 0.8093 GB / 6.551 GB, free: 20.79 MB / 442.9 MB Notification: Performance of FrontEnd: time 1.844e-06/21.98, allocations: 4 kB / 6.551 GB, free: 20.78 MB / 442.9 MB Notification: Performance of Transformations before backend: time 2.729e-05/21.98, allocations: 8 kB / 6.551 GB, free: 20.77 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.0273/22.01, allocations: 1.244 MB / 6.552 GB, free: 19.62 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/22.01, allocations: 8.031 kB / 6.552 GB, free: 19.61 MB / 442.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.01e-05/22.01, allocations: 70.53 kB / 6.552 GB, free: 19.53 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/22.01, allocations: 68.7 kB / 6.552 GB, free: 19.46 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/22.01, allocations: 323.4 kB / 6.553 GB, free: 19.12 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/22.01, allocations: 24.78 kB / 6.553 GB, free: 19.1 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/22.01, allocations: 36 kB / 6.553 GB, free: 19.07 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/22.01, allocations: 452.2 kB / 6.553 GB, free: 18.59 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/22.01, allocations: 4 kB / 6.553 GB, free: 18.58 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/22.01, allocations: 16 kB / 6.553 GB, free: 18.57 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/22.01, allocations: 8 kB / 6.553 GB, free: 18.56 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009399/22.01, allocations: 381.3 kB / 6.554 GB, free: 18.19 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.008696/22.02, allocations: 5.234 MB / 6.559 GB, free: 12.71 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008954/22.02, allocations: 291.5 kB / 6.559 GB, free: 12.42 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/22.02, allocations: 125.4 kB / 6.559 GB, free: 12.29 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003495/22.02, allocations: 2.067 MB / 6.561 GB, free: 9.875 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/22.02, allocations: 38.88 kB / 6.561 GB, free: 9.828 MB / 442.9 MB Notification: Performance of pre-optimization done (n=30): time 3.327e-06/22.02, allocations: 0 / 6.561 GB, free: 9.828 MB / 442.9 MB Notification: Performance of matching and sorting (n=34): time 0.006755/22.03, allocations: 1.127 MB / 6.562 GB, free: 8.656 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/22.03, allocations: 55.41 kB / 6.562 GB, free: 8.59 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/22.03, allocations: 232.8 kB / 6.563 GB, free: 8.355 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/22.03, allocations: 33.7 kB / 6.563 GB, free: 8.316 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/22.03, allocations: 250.4 kB / 6.563 GB, free: 8.082 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/22.03, allocations: 114.3 kB / 6.563 GB, free: 7.984 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/22.03, allocations: 8 kB / 6.563 GB, free: 7.977 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/22.03, allocations: 330.8 kB / 6.563 GB, free: 7.645 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/22.03, allocations: 108.9 kB / 6.563 GB, free: 7.539 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/22.03, allocations: 221.2 kB / 6.564 GB, free: 7.273 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/22.03, allocations: 140 kB / 6.564 GB, free: 7.137 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/22.03, allocations: 4 kB / 6.564 GB, free: 7.133 MB / 442.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001147/22.03, allocations: 431.1 kB / 6.564 GB, free: 6.699 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/22.03, allocations: 13.86 kB / 6.564 GB, free: 6.688 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/22.03, allocations: 4 kB / 6.564 GB, free: 6.684 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/22.05, allocations: 289.3 kB / 6.564 GB, free: 6.395 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/22.05, allocations: 87.84 kB / 6.564 GB, free: 6.309 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/22.05, allocations: 1.836 MB / 6.566 GB, free: 4.316 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/22.05, allocations: 34.2 kB / 6.566 GB, free: 4.285 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/22.05, allocations: 16 kB / 6.566 GB, free: 4.27 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.0001474/22.05, allocations: 130.8 kB / 6.566 GB, free: 4.137 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-05/22.05, allocations: 35.61 kB / 6.566 GB, free: 4.102 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/22.05, allocations: 0.6996 MB / 6.567 GB, free: 3.402 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/22.05, allocations: 7.984 kB / 6.567 GB, free: 3.395 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/22.05, allocations: 0 / 6.567 GB, free: 3.395 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009877/22.05, allocations: 0.8554 MB / 6.568 GB, free: 2.449 MB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/22.05, allocations: 1.183 MB / 6.569 GB, free: 1.211 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/22.05, allocations: 0 / 6.569 GB, free: 1.211 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/22.05, allocations: 63.91 kB / 6.569 GB, free: 1.148 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003066/22.06, allocations: 188.5 kB / 6.569 GB, free: 0.9609 MB / 442.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/22.06, allocations: 15.61 kB / 6.569 GB, free: 0.9492 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003645/22.06, allocations: 0.5795 MB / 6.57 GB, free: 352 kB / 442.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/22.06, allocations: 4.094 kB / 6.57 GB, free: 348 kB / 442.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/22.06, allocations: 0.7214 MB / 6.571 GB, free: 15.6 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/22.06, allocations: 129.6 kB / 6.571 GB, free: 15.46 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.298e-05/22.06, allocations: 11.78 kB / 6.571 GB, free: 15.45 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/22.06, allocations: 16.06 kB / 6.571 GB, free: 15.43 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/22.06, allocations: 27.95 kB / 6.571 GB, free: 15.41 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/22.06, allocations: 8 kB / 6.571 GB, free: 15.4 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0003631/22.06, allocations: 219.1 kB / 6.571 GB, free: 15.18 MB / 458.9 MB Notification: Performance of sort global known variables: time 4.41e-07/22.06, allocations: 0 / 6.571 GB, free: 15.18 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01853/22.08, allocations: 0.8543 MB / 6.572 GB, free: 14.38 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.2641/22.34, allocations: 20.24 MB / 6.592 GB, free: 10.2 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.002046/22.34, allocations: 473.4 kB / 6.592 GB, free: 9.73 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/22.34, allocations: 0 / 6.592 GB, free: 9.73 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0008811/22.35, allocations: 220.1 kB / 6.592 GB, free: 9.516 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/22.35, allocations: 180.6 kB / 6.593 GB, free: 9.34 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/22.37, allocations: 1.138 MB / 6.594 GB, free: 8.215 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/22.37, allocations: 0.8169 MB / 6.594 GB, free: 7.375 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/22.37, allocations: 143.4 kB / 6.595 GB, free: 7.234 MB / 474.9 MB Notification: Performance of SimCode: time 1.112e-06/22.37, allocations: 0 / 6.595 GB, free: 7.234 MB / 474.9 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.838/26.21, allocations: 37.37 MB / 6.631 GB, free: 58.28 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