Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.973e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3209, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.85/17.17, allocations: 5.72 GB / 6.007 GB, free: 101.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/17.17, allocations: 72.69 kB / 6.007 GB, free: 101 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.39/32.56, allocations: 3.461 GB / 9.468 GB, free: 38.14 MB / 0.5888 GB Notification: Performance of FrontEnd: time 1.422e-06/32.56, allocations: 0 / 9.468 GB, free: 38.14 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 2.648e-05/32.56, allocations: 11.75 kB / 9.468 GB, free: 38.13 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.04253/32.6, allocations: 1.671 MB / 9.469 GB, free: 36.61 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/32.6, allocations: 8.031 kB / 9.469 GB, free: 36.61 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007628/32.6, allocations: 64.62 kB / 9.469 GB, free: 36.54 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/32.6, allocations: 323 kB / 9.47 GB, free: 36.2 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/32.6, allocations: 8 kB / 9.47 GB, free: 36.2 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.373e-05/32.6, allocations: 20 kB / 9.47 GB, free: 36.18 MB / 0.5888 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007076/32.61, allocations: 321.5 kB / 9.47 GB, free: 35.86 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/32.61, allocations: 380.2 kB / 9.47 GB, free: 35.45 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/32.61, allocations: 0 / 9.47 GB, free: 35.45 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/32.61, allocations: 4 kB / 9.47 GB, free: 35.45 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/32.61, allocations: 13.8 kB / 9.47 GB, free: 35.44 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.009178/32.62, allocations: 5.567 MB / 9.476 GB, free: 29.59 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/32.62, allocations: 210.8 kB / 9.476 GB, free: 29.37 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/32.62, allocations: 116.8 kB / 9.476 GB, free: 29.25 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00271/32.62, allocations: 1.654 MB / 9.478 GB, free: 27.33 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/32.62, allocations: 34.52 kB / 9.478 GB, free: 27.29 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=28): time 2.785e-06/32.62, allocations: 4 kB / 9.478 GB, free: 27.28 MB / 0.5888 GB Notification: Performance of matching and sorting (n=32): time 0.01294/32.63, allocations: 1.432 MB / 9.479 GB, free: 25.8 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/32.63, allocations: 51.41 kB / 9.479 GB, free: 25.74 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/32.63, allocations: 209.9 kB / 9.479 GB, free: 25.53 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/32.63, allocations: 25.7 kB / 9.479 GB, free: 25.5 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/32.63, allocations: 200.1 kB / 9.48 GB, free: 25.31 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/32.63, allocations: 110.3 kB / 9.48 GB, free: 25.22 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/32.63, allocations: 0 / 9.48 GB, free: 25.22 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 0.0001034/32.63, allocations: 334.8 kB / 9.48 GB, free: 24.88 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/32.63, allocations: 108.8 kB / 9.48 GB, free: 24.78 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/32.63, allocations: 201.2 kB / 9.48 GB, free: 24.53 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004954/32.64, allocations: 339.7 kB / 9.481 GB, free: 24.2 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/32.64, allocations: 3.953 kB / 9.481 GB, free: 24.19 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.006108/32.64, allocations: 0.5848 MB / 9.481 GB, free: 23.59 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/32.64, allocations: 8 kB / 9.481 GB, free: 23.59 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/32.64, allocations: 4 kB / 9.481 GB, free: 23.58 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/32.65, allocations: 62.06 kB / 9.481 GB, free: 23.52 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/32.65, allocations: 87.89 kB / 9.481 GB, free: 23.43 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004983/32.65, allocations: 1.887 MB / 9.483 GB, free: 21.4 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/32.65, allocations: 33.98 kB / 9.483 GB, free: 21.37 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/32.65, allocations: 20 kB / 9.483 GB, free: 21.35 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.0001919/32.65, allocations: 122.8 kB / 9.483 GB, free: 21.23 MB / 0.5888 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005714/32.66, allocations: 486.8 kB / 9.484 GB, free: 20.74 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/32.66, allocations: 39.45 kB / 9.484 GB, free: 20.7 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/32.66, allocations: 0.6729 MB / 9.484 GB, free: 20.03 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/32.66, allocations: 11.98 kB / 9.484 GB, free: 20.02 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/32.66, allocations: 0 / 9.484 GB, free: 20.02 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002794/32.66, allocations: 0.8593 MB / 9.485 GB, free: 19.06 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/32.67, allocations: 1.116 MB / 9.486 GB, free: 17.91 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/32.67, allocations: 0 / 9.486 GB, free: 17.91 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/32.67, allocations: 63.91 kB / 9.486 GB, free: 17.85 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004548/32.67, allocations: 60.7 kB / 9.487 GB, free: 17.79 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/32.67, allocations: 4 kB / 9.487 GB, free: 17.78 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006673/32.67, allocations: 0.607 MB / 9.487 GB, free: 17.15 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/32.67, allocations: 4.031 kB / 9.487 GB, free: 17.14 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/32.67, allocations: 0.7737 MB / 9.488 GB, free: 16.34 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/32.67, allocations: 102.7 kB / 9.488 GB, free: 16.22 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/32.67, allocations: 7.984 kB / 9.488 GB, free: 16.21 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/32.67, allocations: 5.969 kB / 9.488 GB, free: 16.21 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/32.67, allocations: 28.31 kB / 9.488 GB, free: 16.18 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/32.67, allocations: 15.98 kB / 9.488 GB, free: 16.16 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0002543/32.67, allocations: 164.5 kB / 9.488 GB, free: 16 MB / 0.5888 GB Notification: Performance of sort global known variables: time 5.71e-07/32.67, allocations: 0 / 9.488 GB, free: 16 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01839/32.69, allocations: 0.8267 MB / 9.489 GB, free: 15.23 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.6267/33.32, allocations: 20.49 MB / 9.509 GB, free: 118.1 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.00148/33.32, allocations: 447.9 kB / 9.509 GB, free: 118 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/33.32, allocations: 0 / 9.509 GB, free: 118 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0006929/33.32, allocations: 214 kB / 9.51 GB, free: 118 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/33.32, allocations: 145.1 kB / 9.51 GB, free: 118 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/33.34, allocations: 1.065 MB / 9.511 GB, free: 117.8 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/33.34, allocations: 0.8064 MB / 9.512 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.000765/33.34, allocations: 243.6 kB / 9.512 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/33.34, allocations: 124.2 kB / 9.512 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of SimCode: time 8.91e-07/33.34, allocations: 0 / 9.512 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1724/33.51, allocations: 33.41 MB / 9.545 GB, free: 114.8 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/33.51, allocations: 128.5 kB / 9.545 GB, free: 114.6 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.344/37.86, allocations: 0 / 9.545 GB, free: 114.6 MB / 0.5888 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat