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 2.081/2.081, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.369e-05, allocations: 7.984 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3234, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.83/17.16, allocations: 5.72 GB / 6.007 GB, free: 100.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/17.16, allocations: 72.38 kB / 6.007 GB, free: 100.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.26/32.42, allocations: 3.461 GB / 9.467 GB, free: 38.86 MB / 0.5888 GB Notification: Performance of FrontEnd: time 1.603e-06/32.42, allocations: 0 / 9.467 GB, free: 38.86 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 2.811e-05/32.42, allocations: 11.2 kB / 9.468 GB, free: 38.85 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.042/32.46, allocations: 1.666 MB / 9.469 GB, free: 37.34 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/32.46, allocations: 12.03 kB / 9.469 GB, free: 37.32 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007102/32.46, allocations: 70 kB / 9.469 GB, free: 37.26 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/32.46, allocations: 317.6 kB / 9.47 GB, free: 36.93 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/32.46, allocations: 16 kB / 9.47 GB, free: 36.91 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/32.46, allocations: 16 kB / 9.47 GB, free: 36.89 MB / 0.5888 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006761/32.46, allocations: 329 kB / 9.47 GB, free: 36.57 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/32.46, allocations: 384.2 kB / 9.47 GB, free: 36.16 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/32.46, allocations: 4 kB / 9.47 GB, free: 36.16 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.807e-05/32.46, allocations: 0 / 9.47 GB, free: 36.16 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/32.46, allocations: 8 kB / 9.47 GB, free: 36.15 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.00901/32.47, allocations: 5.565 MB / 9.476 GB, free: 30.3 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/32.47, allocations: 218.8 kB / 9.476 GB, free: 30.08 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/32.47, allocations: 108.8 kB / 9.476 GB, free: 29.97 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002598/32.48, allocations: 1.65 MB / 9.478 GB, free: 28.05 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/32.48, allocations: 46.39 kB / 9.478 GB, free: 27.99 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=28): time 3.156e-06/32.48, allocations: 0 / 9.478 GB, free: 27.99 MB / 0.5888 GB Notification: Performance of matching and sorting (n=32): time 0.01165/32.49, allocations: 1.425 MB / 9.479 GB, free: 26.52 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/32.49, allocations: 55.41 kB / 9.479 GB, free: 26.45 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/32.49, allocations: 213.8 kB / 9.479 GB, free: 26.24 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/32.49, allocations: 25.7 kB / 9.479 GB, free: 26.21 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/32.49, allocations: 258.5 kB / 9.48 GB, free: 25.97 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 9.377e-05/32.49, allocations: 114.3 kB / 9.48 GB, free: 25.87 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/32.49, allocations: 0 / 9.48 GB, free: 25.87 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/32.49, allocations: 326.8 kB / 9.48 GB, free: 25.54 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/32.49, allocations: 100.9 kB / 9.48 GB, free: 25.45 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/32.49, allocations: 213.2 kB / 9.48 GB, free: 25.18 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003346/32.49, allocations: 323.8 kB / 9.481 GB, free: 24.87 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/32.49, allocations: 3.953 kB / 9.481 GB, free: 24.86 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00756/32.5, allocations: 0.5809 MB / 9.481 GB, free: 24.27 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/32.5, allocations: 8 kB / 9.481 GB, free: 24.26 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/32.5, allocations: 4 kB / 9.481 GB, free: 24.26 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/32.5, allocations: 53.69 kB / 9.481 GB, free: 24.2 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009441/32.5, allocations: 92.23 kB / 9.481 GB, free: 24.11 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005315/32.51, allocations: 1.894 MB / 9.483 GB, free: 22.08 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/32.51, allocations: 21.95 kB / 9.483 GB, free: 22.06 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/32.51, allocations: 19.98 kB / 9.483 GB, free: 22.04 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.0001563/32.51, allocations: 126.9 kB / 9.483 GB, free: 21.91 MB / 0.5888 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003806/32.51, allocations: 494.8 kB / 9.484 GB, free: 21.41 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/32.51, allocations: 31.67 kB / 9.484 GB, free: 21.38 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/32.52, allocations: 0.684 MB / 9.484 GB, free: 20.7 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/32.52, allocations: 8 kB / 9.484 GB, free: 20.69 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/32.52, allocations: 0 / 9.484 GB, free: 20.69 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001795/32.52, allocations: 0.8594 MB / 9.485 GB, free: 19.74 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/32.52, allocations: 1.122 MB / 9.486 GB, free: 18.58 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/32.52, allocations: 3.984 kB / 9.486 GB, free: 18.58 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/32.52, allocations: 60.03 kB / 9.486 GB, free: 18.52 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/32.52, allocations: 56.75 kB / 9.487 GB, free: 18.46 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/32.52, allocations: 7.984 kB / 9.487 GB, free: 18.45 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004912/32.52, allocations: 0.6069 MB / 9.487 GB, free: 17.82 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/32.52, allocations: 0 / 9.487 GB, free: 17.82 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/32.52, allocations: 0.766 MB / 9.488 GB, free: 17.02 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/32.52, allocations: 110.8 kB / 9.488 GB, free: 16.89 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/32.52, allocations: 4 kB / 9.488 GB, free: 16.89 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/32.52, allocations: 9.969 kB / 9.488 GB, free: 16.88 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/32.52, allocations: 24.25 kB / 9.488 GB, free: 16.86 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/32.52, allocations: 11.98 kB / 9.488 GB, free: 16.84 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0001923/32.52, allocations: 164.5 kB / 9.488 GB, free: 16.68 MB / 0.5888 GB Notification: Performance of sort global known variables: time 4.21e-07/32.52, allocations: 0 / 9.488 GB, free: 16.68 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01442/32.54, allocations: 0.83 MB / 9.489 GB, free: 15.91 MB / 0.5888 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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.6448/33.18, allocations: 20.48 MB / 9.509 GB, free: 117.4 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.001697/33.19, allocations: 448.9 kB / 9.509 GB, free: 117.3 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/33.19, allocations: 1.656 kB / 9.509 GB, free: 117.3 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0008584/33.19, allocations: 210.9 kB / 9.51 GB, free: 117.3 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/33.19, allocations: 138.2 kB / 9.51 GB, free: 117.3 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/33.21, allocations: 1.101 MB / 9.511 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/33.21, allocations: 0.8045 MB / 9.512 GB, free: 116.4 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/33.21, allocations: 130.9 kB / 9.512 GB, free: 116.4 MB / 0.5888 GB Notification: Performance of SimCode: time 1.062e-06/33.21, allocations: 1.5 kB / 9.512 GB, free: 116.4 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.386/36.59, allocations: 36.97 MB / 9.548 GB, free: 113 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