Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.94/1.94, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.137e-05/4.155e-05, allocations: 4 kB / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.06/20.17, allocations: 6.53 GB / 6.844 GB, free: 11.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/20.17, allocations: 79.95 kB / 6.844 GB, free: 11.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.621/21.79, allocations: 245.4 MB / 7.084 GB, free: 59.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/21.79, allocations: 0 / 7.084 GB, free: 59.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/21.79, allocations: 3.844 kB / 7.084 GB, free: 59.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.009641/21.8, allocations: 1.898 MB / 7.085 GB, free: 58.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/21.8, allocations: 8.469 kB / 7.085 GB, free: 58.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/21.8, allocations: 63.94 kB / 7.085 GB, free: 58.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/21.8, allocations: 29.78 kB / 7.086 GB, free: 58.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/21.8, allocations: 247.7 kB / 7.086 GB, free: 57.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/21.8, allocations: 21.89 kB / 7.086 GB, free: 57.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/21.8, allocations: 27.88 kB / 7.086 GB, free: 57.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/21.8, allocations: 497.2 kB / 7.086 GB, free: 57.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/21.81, allocations: 0 / 7.086 GB, free: 57.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/21.81, allocations: 14.77 kB / 7.086 GB, free: 57.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/21.81, allocations: 26.09 kB / 7.086 GB, free: 57.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/21.81, allocations: 0.8746 MB / 7.087 GB, free: 57.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/21.81, allocations: 1.753 MB / 7.089 GB, free: 56.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/21.81, allocations: 329.3 kB / 7.089 GB, free: 56.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/21.81, allocations: 100.6 kB / 7.089 GB, free: 56.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02/21.83, allocations: 12.94 MB / 7.102 GB, free: 43.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/21.83, allocations: 234 kB / 7.102 GB, free: 43.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.046e-06/21.83, allocations: 0 / 7.102 GB, free: 43.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.003096/21.83, allocations: 0.7142 MB / 7.103 GB, free: 43.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/21.83, allocations: 279 kB / 7.103 GB, free: 43.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/21.84, allocations: 181.4 kB / 7.103 GB, free: 42.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/21.84, allocations: 36.17 kB / 7.103 GB, free: 42.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/21.84, allocations: 264.4 kB / 7.104 GB, free: 42.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/21.84, allocations: 121.7 kB / 7.104 GB, free: 42.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/21.84, allocations: 7.062 kB / 7.104 GB, free: 42.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.81e-05/21.84, allocations: 336 kB / 7.104 GB, free: 42.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/21.84, allocations: 86.75 kB / 7.104 GB, free: 42.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/21.84, allocations: 357.2 kB / 7.104 GB, free: 42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/21.84, allocations: 146.3 kB / 7.105 GB, free: 41.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/21.84, allocations: 9.969 kB / 7.105 GB, free: 41.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001682/21.84, allocations: 489.1 kB / 7.105 GB, free: 41.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/21.84, allocations: 7.719 kB / 7.105 GB, free: 41.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/21.84, allocations: 11.19 kB / 7.105 GB, free: 41.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.861e-05/21.84, allocations: 13.44 kB / 7.105 GB, free: 41.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/21.84, allocations: 184.1 kB / 7.105 GB, free: 41.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005794/21.84, allocations: 1.189 MB / 7.106 GB, free: 40.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/21.84, allocations: 27.5 kB / 7.106 GB, free: 40.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/21.84, allocations: 45.22 kB / 7.106 GB, free: 40.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001707/21.84, allocations: 147.3 kB / 7.107 GB, free: 40.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/21.84, allocations: 38.59 kB / 7.107 GB, free: 40.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/21.84, allocations: 0.5069 MB / 7.107 GB, free: 40.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/21.84, allocations: 3.812 kB / 7.107 GB, free: 40.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/21.84, allocations: 0 / 7.107 GB, free: 40.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/21.84, allocations: 0 / 7.107 GB, free: 40.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/21.84, allocations: 0.5699 MB / 7.108 GB, free: 40 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/21.84, allocations: 0 / 7.108 GB, free: 40 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/21.85, allocations: 87.42 kB / 7.108 GB, free: 39.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/21.85, allocations: 0 / 7.108 GB, free: 39.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/21.85, allocations: 10.58 kB / 7.108 GB, free: 39.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004367/21.85, allocations: 1.166 MB / 7.109 GB, free: 38.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/21.85, allocations: 3.031 kB / 7.109 GB, free: 38.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007902/21.85, allocations: 327.6 kB / 7.109 GB, free: 38.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/21.85, allocations: 140.4 kB / 7.109 GB, free: 38.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-05/21.85, allocations: 3.688 kB / 7.109 GB, free: 38.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/21.85, allocations: 12.98 kB / 7.109 GB, free: 38.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/21.85, allocations: 22.02 kB / 7.109 GB, free: 38.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/21.85, allocations: 14.06 kB / 7.109 GB, free: 38.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002365/21.85, allocations: 171.6 kB / 7.11 GB, free: 38.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/21.85, allocations: 0 / 7.11 GB, free: 38.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00941/21.86, allocations: 1.937 MB / 7.112 GB, free: 37.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01801/21.88, allocations: 3.693 MB / 7.115 GB, free: 36.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/21.88, allocations: 298.5 kB / 7.115 GB, free: 36.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/21.88, allocations: 0 / 7.115 GB, free: 36.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005938/21.88, allocations: 113.3 kB / 7.116 GB, free: 36.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/21.88, allocations: 45.05 kB / 7.116 GB, free: 36.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.472/23.35, allocations: 271.3 MB / 7.381 GB, free: 67.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/23.35, allocations: 0.76 MB / 7.381 GB, free: 66.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/23.35, allocations: 106.2 kB / 7.381 GB, free: 66.51 MB / 458.7 MB Notification: Performance of SimCode: time 1.482e-06/23.35, allocations: 0.7656 kB / 7.381 GB, free: 66.51 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.275/27.62, allocations: 47.94 MB / 7.428 GB, free: 60.54 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat