Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.739/1.739, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.494e-05, allocations: 7.438 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2692, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.774/2.043, allocations: 0.6307 GB / 0.8884 GB, free: 19.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/2.043, allocations: 81.69 kB / 0.8885 GB, free: 19.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.05/4.094, allocations: 473 MB / 1.35 GB, free: 83.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/4.094, allocations: 0 / 1.35 GB, free: 83.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.442e-05/4.094, allocations: 7.906 kB / 1.35 GB, free: 83.26 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.001532/4.095, allocations: 0.7055 MB / 1.351 GB, free: 82.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/4.095, allocations: 12.44 kB / 1.351 GB, free: 82.82 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.638e-05/4.096, allocations: 65.7 kB / 1.351 GB, free: 82.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/4.096, allocations: 50.62 kB / 1.351 GB, free: 82.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/4.097, allocations: 282.9 kB / 1.351 GB, free: 82.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/4.097, allocations: 20.06 kB / 1.352 GB, free: 82.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/4.097, allocations: 28.97 kB / 1.352 GB, free: 82.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/4.097, allocations: 323.7 kB / 1.352 GB, free: 82.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/4.097, allocations: 5.688 kB / 1.352 GB, free: 82.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/4.097, allocations: 17.8 kB / 1.352 GB, free: 82.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/4.097, allocations: 3.844 kB / 1.352 GB, free: 82.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004335/4.098, allocations: 195.6 kB / 1.352 GB, free: 82.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/4.114, allocations: 5.522 MB / 1.357 GB, free: 79.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/4.115, allocations: 180.5 kB / 1.358 GB, free: 79.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/4.115, allocations: 87.22 kB / 1.358 GB, free: 79.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01386/4.129, allocations: 3.488 MB / 1.361 GB, free: 77.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/4.129, allocations: 38.47 kB / 1.361 GB, free: 77.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.785e-06/4.129, allocations: 0 / 1.361 GB, free: 77.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.008068/4.137, allocations: 1.25 MB / 1.362 GB, free: 77.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/4.137, allocations: 57.31 kB / 1.362 GB, free: 77.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/4.137, allocations: 233.7 kB / 1.363 GB, free: 77.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/4.137, allocations: 29.64 kB / 1.363 GB, free: 77.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/4.137, allocations: 246.2 kB / 1.363 GB, free: 76.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.728e-05/4.138, allocations: 97.78 kB / 1.363 GB, free: 76.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/4.138, allocations: 7.375 kB / 1.363 GB, free: 76.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.866e-05/4.138, allocations: 327.3 kB / 1.363 GB, free: 76.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/4.138, allocations: 90.69 kB / 1.363 GB, free: 76.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/4.138, allocations: 181.3 kB / 1.364 GB, free: 76.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/4.138, allocations: 119.7 kB / 1.364 GB, free: 76.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/4.138, allocations: 3.938 kB / 1.364 GB, free: 76.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00092/4.139, allocations: 361 kB / 1.364 GB, free: 76.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/4.139, allocations: 7.562 kB / 1.364 GB, free: 76.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/4.139, allocations: 5.906 kB / 1.364 GB, free: 76.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007599/4.147, allocations: 450.6 kB / 1.364 GB, free: 76.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/4.148, allocations: 73 kB / 1.365 GB, free: 76.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/4.149, allocations: 1.873 MB / 1.366 GB, free: 74.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/4.15, allocations: 31.47 kB / 1.366 GB, free: 74.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/4.15, allocations: 11.75 kB / 1.366 GB, free: 74.61 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.0001286/4.15, allocations: 123.9 kB / 1.367 GB, free: 74.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/4.15, allocations: 27.09 kB / 1.367 GB, free: 74.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009761/4.151, allocations: 490.4 kB / 1.367 GB, free: 74.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/4.151, allocations: 10.11 kB / 1.367 GB, free: 74.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/4.151, allocations: 0 / 1.367 GB, free: 74.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007375/4.152, allocations: 0.7102 MB / 1.368 GB, free: 73.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/4.153, allocations: 0.9436 MB / 1.369 GB, free: 73.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/4.153, allocations: 0 / 1.369 GB, free: 73.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/4.154, allocations: 51.78 kB / 1.369 GB, free: 73.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0025/4.156, allocations: 294.1 kB / 1.369 GB, free: 73.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/4.156, allocations: 7.031 kB / 1.369 GB, free: 73.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005387/4.157, allocations: 0.634 MB / 1.37 GB, free: 73.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/4.157, allocations: 9.703 kB / 1.37 GB, free: 73.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/4.158, allocations: 0.7202 MB / 1.37 GB, free: 72.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/4.158, allocations: 101.2 kB / 1.37 GB, free: 72.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/4.158, allocations: 14.78 kB / 1.37 GB, free: 72.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/4.159, allocations: 17.42 kB / 1.37 GB, free: 72.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/4.159, allocations: 24.55 kB / 1.37 GB, free: 72.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/4.159, allocations: 10.62 kB / 1.37 GB, free: 72.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002408/4.159, allocations: 186 kB / 1.371 GB, free: 72.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.413e-06/4.159, allocations: 0 / 1.371 GB, free: 72.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001163/4.16, allocations: 208.5 kB / 1.371 GB, free: 72.68 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.003122/4.163, allocations: 1.707 MB / 1.373 GB, free: 71.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/4.165, allocations: 432.6 kB / 1.373 GB, free: 71.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/4.165, allocations: 0 / 1.373 GB, free: 71.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008559/4.165, allocations: 229.9 kB / 1.373 GB, free: 71.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/4.167, allocations: 167.5 kB / 1.373 GB, free: 71.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/4.169, allocations: 0.7237 MB / 1.374 GB, free: 71.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/4.169, allocations: 0.7885 MB / 1.375 GB, free: 70.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/4.17, allocations: 107.7 kB / 1.375 GB, free: 70.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.362e-06/4.17, allocations: 0 / 1.375 GB, free: 70.78 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.947/7.116, allocations: 10.66 MB / 1.385 GB, free: 70.04 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat