Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.729e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3579, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.2/17.56, allocations: 5.72 GB / 6.007 GB, free: 100.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/17.56, allocations: 76.09 kB / 6.007 GB, free: 100.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 19.9/37.46, allocations: 4.471 GB / 10.48 GB, free: 78.34 MB / 0.62 GB Notification: Performance of FrontEnd: time 1.884e-06/37.46, allocations: 0 / 10.48 GB, free: 78.34 MB / 0.62 GB Notification: Performance of Transformations before backend: time 4.025e-05/37.46, allocations: 14.41 kB / 10.48 GB, free: 78.34 MB / 0.62 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.06191/37.52, allocations: 2.197 MB / 10.48 GB, free: 77.32 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/37.52, allocations: 10.75 kB / 10.48 GB, free: 77.32 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/37.52, allocations: 84.86 kB / 10.48 GB, free: 77.29 MB / 0.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/37.53, allocations: 375.4 kB / 10.48 GB, free: 77.09 MB / 0.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/37.53, allocations: 14 kB / 10.48 GB, free: 77.09 MB / 0.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-05/37.53, allocations: 33.78 kB / 10.48 GB, free: 77.09 MB / 0.62 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001065/37.53, allocations: 448 kB / 10.48 GB, free: 77.08 MB / 0.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/37.53, allocations: 0.5129 MB / 10.48 GB, free: 76.93 MB / 0.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/37.53, allocations: 3.469 kB / 10.48 GB, free: 76.93 MB / 0.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/37.53, allocations: 10.11 kB / 10.48 GB, free: 76.92 MB / 0.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/37.53, allocations: 13 kB / 10.48 GB, free: 76.92 MB / 0.62 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.01533/37.54, allocations: 6.409 MB / 10.49 GB, free: 74.01 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/37.54, allocations: 328.6 kB / 10.49 GB, free: 73.98 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/37.54, allocations: 191.3 kB / 10.49 GB, free: 73.96 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00552/37.55, allocations: 2.429 MB / 10.49 GB, free: 71.88 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.704e-05/37.55, allocations: 39.16 kB / 10.49 GB, free: 71.84 MB / 0.62 GB Notification: Performance of pre-optimization done (n=44): time 5.47e-06/37.55, allocations: 0 / 10.49 GB, free: 71.84 MB / 0.62 GB Notification: Performance of matching and sorting (n=52): time 0.02807/37.58, allocations: 2.281 MB / 10.49 GB, free: 71.47 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/37.58, allocations: 58.06 kB / 10.49 GB, free: 71.41 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/37.58, allocations: 248.8 kB / 10.49 GB, free: 71.3 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/37.58, allocations: 27.86 kB / 10.49 GB, free: 71.27 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/37.58, allocations: 236.1 kB / 10.49 GB, free: 71.13 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/37.58, allocations: 180.6 kB / 10.49 GB, free: 71.04 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/37.58, allocations: 0 / 10.49 GB, free: 71.04 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 0.0001027/37.58, allocations: 345.4 kB / 10.49 GB, free: 70.72 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/37.58, allocations: 164.7 kB / 10.49 GB, free: 70.72 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/37.58, allocations: 303.1 kB / 10.49 GB, free: 70.55 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005921/37.59, allocations: 0.5336 MB / 10.49 GB, free: 70.54 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/37.59, allocations: 3.344 kB / 10.49 GB, free: 70.54 MB / 0.62 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008228/37.59, allocations: 0.9285 MB / 10.5 GB, free: 70.45 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/37.59, allocations: 6.469 kB / 10.5 GB, free: 70.45 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/37.59, allocations: 6.125 kB / 10.5 GB, free: 70.45 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/37.6, allocations: 92.88 kB / 10.5 GB, free: 70.43 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/37.6, allocations: 142.2 kB / 10.5 GB, free: 70.43 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005547/37.6, allocations: 3.142 MB / 10.5 GB, free: 67.61 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/37.6, allocations: 46.12 kB / 10.5 GB, free: 67.61 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/37.6, allocations: 23.59 kB / 10.5 GB, free: 67.61 MB / 0.62 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002121/37.6, allocations: 131.2 kB / 10.5 GB, free: 67.49 MB / 0.62 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006653/37.61, allocations: 0.7895 MB / 10.5 GB, free: 67.4 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/37.61, allocations: 34.84 kB / 10.5 GB, free: 67.38 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003623/37.61, allocations: 1.071 MB / 10.5 GB, free: 67.26 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/37.61, allocations: 10.23 kB / 10.5 GB, free: 67.26 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/37.61, allocations: 3.953 kB / 10.5 GB, free: 67.26 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002937/37.62, allocations: 1.099 MB / 10.5 GB, free: 66.87 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/37.62, allocations: 1.646 MB / 10.5 GB, free: 66.54 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/37.62, allocations: 1.938 kB / 10.5 GB, free: 66.54 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/37.62, allocations: 98.58 kB / 10.5 GB, free: 66.53 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006223/37.62, allocations: 120.5 kB / 10.5 GB, free: 66.51 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/37.62, allocations: 10.19 kB / 10.5 GB, free: 66.51 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009812/37.62, allocations: 1.203 MB / 10.5 GB, free: 65.46 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/37.62, allocations: 7.859 kB / 10.5 GB, free: 65.46 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003366/37.63, allocations: 1.167 MB / 10.51 GB, free: 65.21 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/37.63, allocations: 128.8 kB / 10.51 GB, free: 65.09 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/37.63, allocations: 2.125 kB / 10.51 GB, free: 65.09 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/37.63, allocations: 21.16 kB / 10.51 GB, free: 65.09 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/37.63, allocations: 38.03 kB / 10.51 GB, free: 65.09 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/37.63, allocations: 21.39 kB / 10.51 GB, free: 65.09 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.0002516/37.63, allocations: 186.7 kB / 10.51 GB, free: 65 MB / 0.62 GB Notification: Performance of sort global known variables: time 4.3e-07/37.63, allocations: 0 / 10.51 GB, free: 65 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.01822/37.65, allocations: 1.07 MB / 10.51 GB, free: 64.82 MB / 0.62 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.244/37.89, allocations: 25.56 MB / 10.53 GB, free: 51.74 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.002771/37.89, allocations: 0.6482 MB / 10.53 GB, free: 51.63 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/37.89, allocations: 0 / 10.53 GB, free: 51.63 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/37.89, allocations: 353.7 kB / 10.53 GB, free: 51.61 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/37.9, allocations: 188 kB / 10.53 GB, free: 51.59 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/37.92, allocations: 1.57 MB / 10.54 GB, free: 50.96 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/37.92, allocations: 0.8669 MB / 10.54 GB, free: 50.25 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.001289/37.92, allocations: 296.9 kB / 10.54 GB, free: 50.21 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/37.92, allocations: 192 kB / 10.54 GB, free: 50.2 MB / 0.62 GB Notification: Performance of SimCode: time 1.282e-06/37.92, allocations: 0 / 10.54 GB, free: 50.2 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1285/38.05, allocations: 42.8 MB / 10.58 GB, free: 29.97 MB / 0.62 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/38.05, allocations: 132.7 kB / 10.58 GB, free: 29.77 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.135/43.19, allocations: 0 / 10.58 GB, free: 29.77 MB / 0.62 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat