Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.13e-05, allocations: 4 kB / 255.5 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.09925, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.81/10.91, allocations: 3.617 GB / 3.91 GB, free: 63.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/10.91, allocations: 90.12 kB / 3.91 GB, free: 63.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823/12.73, allocations: 321.8 MB / 4.224 GB, free: 63.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/12.73, allocations: 0 / 4.224 GB, free: 63.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.93e-05/12.73, allocations: 13.06 kB / 4.224 GB, free: 63.96 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00593/12.74, allocations: 1.557 MB / 4.226 GB, free: 62.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/12.74, allocations: 13.28 kB / 4.226 GB, free: 62.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/12.74, allocations: 80.8 kB / 4.226 GB, free: 62.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/12.74, allocations: 65.91 kB / 4.226 GB, free: 62.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/12.74, allocations: 350.7 kB / 4.226 GB, free: 62.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/12.74, allocations: 28.03 kB / 4.226 GB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/12.74, allocations: 50.89 kB / 4.226 GB, free: 62.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/12.74, allocations: 490 kB / 4.227 GB, free: 62.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/12.74, allocations: 3.125 kB / 4.227 GB, free: 62.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.224e-05/12.74, allocations: 23.06 kB / 4.227 GB, free: 62.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/12.74, allocations: 9.594 kB / 4.227 GB, free: 62.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/12.75, allocations: 0.5772 MB / 4.227 GB, free: 62.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004705/12.75, allocations: 2.167 MB / 4.229 GB, free: 60.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/12.75, allocations: 0.5437 MB / 4.23 GB, free: 60.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/12.75, allocations: 261.6 kB / 4.23 GB, free: 60.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/12.75, allocations: 0.7012 MB / 4.231 GB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/12.75, allocations: 38.75 kB / 4.231 GB, free: 59.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 4.057e-06/12.75, allocations: 0 / 4.231 GB, free: 59.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.02359/12.78, allocations: 3.361 MB / 4.234 GB, free: 57.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/12.78, allocations: 55.97 kB / 4.234 GB, free: 57.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/12.78, allocations: 270.1 kB / 4.234 GB, free: 57.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/12.78, allocations: 37.7 kB / 4.234 GB, free: 57.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/12.78, allocations: 239.1 kB / 4.235 GB, free: 57.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/12.78, allocations: 228.2 kB / 4.235 GB, free: 57.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/12.78, allocations: 12 kB / 4.235 GB, free: 57.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/12.78, allocations: 337.9 kB / 4.235 GB, free: 56.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006952/12.78, allocations: 272.9 kB / 4.235 GB, free: 56.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007178/12.78, allocations: 334.7 kB / 4.236 GB, free: 56.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007682/12.78, allocations: 318.6 kB / 4.236 GB, free: 55.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/12.78, allocations: 0 / 4.236 GB, free: 55.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002563/12.78, allocations: 0.8666 MB / 4.237 GB, free: 54.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/12.78, allocations: 4 kB / 4.237 GB, free: 54.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/12.78, allocations: 2.25 kB / 4.237 GB, free: 54.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/12.78, allocations: 268 kB / 4.237 GB, free: 54.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/12.79, allocations: 123.8 kB / 4.237 GB, free: 54.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/12.79, allocations: 3.403 MB / 4.241 GB, free: 50.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/12.79, allocations: 67.08 kB / 4.241 GB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/12.79, allocations: 35.11 kB / 4.241 GB, free: 50.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003025/12.79, allocations: 132.9 kB / 4.241 GB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/12.79, allocations: 43.53 kB / 4.241 GB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006569/12.8, allocations: 1.252 MB / 4.242 GB, free: 49.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/12.8, allocations: 6.938 kB / 4.242 GB, free: 49.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/12.8, allocations: 4 kB / 4.242 GB, free: 49.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006049/12.8, allocations: 1.302 MB / 4.243 GB, free: 48.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/12.81, allocations: 1.6 MB / 4.245 GB, free: 46.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/12.81, allocations: 4 kB / 4.245 GB, free: 46.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/12.81, allocations: 111.9 kB / 4.245 GB, free: 46.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/12.81, allocations: 311 kB / 4.245 GB, free: 45.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.231e-05/12.81, allocations: 23.98 kB / 4.245 GB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/12.81, allocations: 0.7709 MB / 4.246 GB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/12.81, allocations: 3.953 kB / 4.246 GB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006616/12.82, allocations: 1.522 MB / 4.248 GB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/12.82, allocations: 124.7 kB / 4.248 GB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/12.82, allocations: 16 kB / 4.248 GB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/12.82, allocations: 63.8 kB / 4.248 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/12.82, allocations: 40.5 kB / 4.248 GB, free: 43.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/12.82, allocations: 35.97 kB / 4.248 GB, free: 43.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003385/12.82, allocations: 219.1 kB / 4.248 GB, free: 43.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/12.82, allocations: 0 / 4.248 GB, free: 43.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002465/12.82, allocations: 0.5384 MB / 4.249 GB, free: 42.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01007/12.83, allocations: 3.26 MB / 4.252 GB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002419/12.84, allocations: 0.8926 MB / 4.253 GB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/12.84, allocations: 4.312 kB / 4.253 GB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/12.84, allocations: 370 kB / 4.253 GB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/12.84, allocations: 292.5 kB / 4.253 GB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004889/12.85, allocations: 1.335 MB / 4.255 GB, free: 36.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/12.85, allocations: 0.8572 MB / 4.255 GB, free: 35.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/12.85, allocations: 175.4 kB / 4.256 GB, free: 35.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/12.85, allocations: 0 / 4.256 GB, free: 35.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.22/16.07, allocations: 23.04 MB / 4.278 GB, free: 12.49 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat