Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.706/1.706, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.905e-05/3.922e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2615, allocations: 38.77 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.794/2.055, allocations: 0.6308 GB / 0.8884 GB, free: 19.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/2.056, allocations: 74.83 kB / 0.8885 GB, free: 19.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.079/4.135, allocations: 473 MB / 1.35 GB, free: 83.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/4.135, allocations: 0 / 1.35 GB, free: 83.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.813e-05/4.135, allocations: 7.688 kB / 1.35 GB, free: 83.51 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001685/4.137, allocations: 0.7155 MB / 1.351 GB, free: 83.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/4.137, allocations: 11.38 kB / 1.351 GB, free: 83.08 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.815e-05/4.137, allocations: 60.44 kB / 1.351 GB, free: 83.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006019/4.138, allocations: 54.64 kB / 1.351 GB, free: 83.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/4.138, allocations: 288.2 kB / 1.352 GB, free: 82.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/4.138, allocations: 15.59 kB / 1.352 GB, free: 82.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/4.138, allocations: 24.66 kB / 1.352 GB, free: 82.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/4.139, allocations: 331.3 kB / 1.352 GB, free: 82.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/4.139, allocations: 2.938 kB / 1.352 GB, free: 82.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/4.139, allocations: 10.34 kB / 1.352 GB, free: 82.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/4.139, allocations: 10.61 kB / 1.352 GB, free: 82.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/4.139, allocations: 197.7 kB / 1.352 GB, free: 82.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/4.156, allocations: 5.515 MB / 1.357 GB, free: 79.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/4.157, allocations: 180.3 kB / 1.358 GB, free: 79.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/4.157, allocations: 83.14 kB / 1.358 GB, free: 79.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/4.172, allocations: 3.493 MB / 1.361 GB, free: 77.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/4.172, allocations: 37.34 kB / 1.361 GB, free: 77.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.757e-06/4.172, allocations: 0 / 1.361 GB, free: 77.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.008402/4.18, allocations: 1.255 MB / 1.362 GB, free: 77.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/4.18, allocations: 57.86 kB / 1.362 GB, free: 77.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/4.18, allocations: 229.5 kB / 1.363 GB, free: 77.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/4.181, allocations: 35.52 kB / 1.363 GB, free: 77.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/4.181, allocations: 190 kB / 1.363 GB, free: 77.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/4.181, allocations: 87.62 kB / 1.363 GB, free: 77.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/4.181, allocations: 6.625 kB / 1.363 GB, free: 77.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/4.181, allocations: 345.1 kB / 1.363 GB, free: 76.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/4.181, allocations: 83.88 kB / 1.363 GB, free: 76.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/4.181, allocations: 179.5 kB / 1.364 GB, free: 76.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/4.182, allocations: 125.6 kB / 1.364 GB, free: 76.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/4.182, allocations: 0 / 1.364 GB, free: 76.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009968/4.183, allocations: 374 kB / 1.364 GB, free: 76.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/4.183, allocations: 5.344 kB / 1.364 GB, free: 76.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/4.183, allocations: 3.938 kB / 1.364 GB, free: 76.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007639/4.191, allocations: 461 kB / 1.364 GB, free: 76.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/4.191, allocations: 71.55 kB / 1.365 GB, free: 76.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/4.193, allocations: 1.874 MB / 1.366 GB, free: 74.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/4.193, allocations: 31.3 kB / 1.366 GB, free: 74.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/4.193, allocations: 12.75 kB / 1.366 GB, free: 74.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001351/4.193, allocations: 122.5 kB / 1.367 GB, free: 74.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/4.194, allocations: 28.28 kB / 1.367 GB, free: 74.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/4.195, allocations: 499.3 kB / 1.367 GB, free: 74.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/4.195, allocations: 11.27 kB / 1.367 GB, free: 74.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/4.195, allocations: 0 / 1.367 GB, free: 74.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007914/4.195, allocations: 0.707 MB / 1.368 GB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/4.197, allocations: 0.9371 MB / 1.369 GB, free: 73.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/4.197, allocations: 5.078 kB / 1.369 GB, free: 73.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/4.198, allocations: 47.61 kB / 1.369 GB, free: 73.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/4.2, allocations: 303.5 kB / 1.369 GB, free: 73.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/4.2, allocations: 12.53 kB / 1.369 GB, free: 73.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005639/4.201, allocations: 0.6341 MB / 1.37 GB, free: 73.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/4.201, allocations: 0 / 1.37 GB, free: 73.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/4.202, allocations: 0.7247 MB / 1.37 GB, free: 73.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/4.202, allocations: 107.2 kB / 1.37 GB, free: 73.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/4.202, allocations: 6.688 kB / 1.37 GB, free: 73.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/4.203, allocations: 12.69 kB / 1.37 GB, free: 73.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/4.203, allocations: 23.72 kB / 1.37 GB, free: 73.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/4.203, allocations: 18.19 kB / 1.37 GB, free: 73.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002544/4.203, allocations: 175.6 kB / 1.371 GB, free: 73.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/4.203, allocations: 1.422 kB / 1.371 GB, free: 73.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00128/4.205, allocations: 211.4 kB / 1.371 GB, free: 73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003251/4.208, allocations: 1.705 MB / 1.373 GB, free: 72.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/4.209, allocations: 431.8 kB / 1.373 GB, free: 72.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/4.209, allocations: 3.938 kB / 1.373 GB, free: 72.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009033/4.21, allocations: 234 kB / 1.373 GB, free: 72.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/4.212, allocations: 160.5 kB / 1.373 GB, free: 72.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/4.214, allocations: 0.6918 MB / 1.374 GB, free: 71.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/4.214, allocations: 0.7848 MB / 1.375 GB, free: 71.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003949/4.215, allocations: 47.78 kB / 1.375 GB, free: 71.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/4.215, allocations: 107.6 kB / 1.375 GB, free: 71.13 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/4.215, allocations: 0 / 1.375 GB, free: 71.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06898/4.284, allocations: 14.94 MB / 1.39 GB, free: 70.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/4.284, allocations: 174.4 kB / 1.39 GB, free: 69.87 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.429/7.713, allocations: 0 / 1.39 GB, free: 69.87 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat