Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.932/1.932, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.675e-05, allocations: 7.984 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.66/19.76, allocations: 6.53 GB / 6.844 GB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/19.76, allocations: 86.88 kB / 6.844 GB, free: 13.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.615/21.38, allocations: 245.4 MB / 7.084 GB, free: 74.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/21.38, allocations: 3.875 kB / 7.084 GB, free: 74.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/21.38, allocations: 3.969 kB / 7.084 GB, free: 74.36 MB / 442.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.01102/21.39, allocations: 1.903 MB / 7.085 GB, free: 73.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/21.39, allocations: 7.406 kB / 7.085 GB, free: 73.19 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/21.39, allocations: 64.2 kB / 7.086 GB, free: 73.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/21.39, allocations: 34.69 kB / 7.086 GB, free: 73.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/21.39, allocations: 251.5 kB / 7.086 GB, free: 72.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/21.39, allocations: 21.66 kB / 7.086 GB, free: 72.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/21.39, allocations: 23.22 kB / 7.086 GB, free: 72.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/21.39, allocations: 0.4893 MB / 7.086 GB, free: 72.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/21.39, allocations: 0 / 7.086 GB, free: 72.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.398e-05/21.39, allocations: 14.94 kB / 7.086 GB, free: 72.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/21.39, allocations: 20.41 kB / 7.086 GB, free: 72.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/21.4, allocations: 0.8748 MB / 7.087 GB, free: 72.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/21.4, allocations: 1.754 MB / 7.089 GB, free: 71.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/21.4, allocations: 325.7 kB / 7.089 GB, free: 71.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/21.4, allocations: 103.1 kB / 7.089 GB, free: 71.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02525/21.43, allocations: 12.94 MB / 7.102 GB, free: 58.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009112/21.43, allocations: 231.9 kB / 7.102 GB, free: 58.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 4.569e-06/21.43, allocations: 0 / 7.102 GB, free: 58.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.004889/21.43, allocations: 0.7144 MB / 7.103 GB, free: 58.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/21.43, allocations: 271.7 kB / 7.103 GB, free: 58.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/21.43, allocations: 187.8 kB / 7.103 GB, free: 58.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/21.43, allocations: 33.2 kB / 7.103 GB, free: 58.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/21.43, allocations: 197 kB / 7.104 GB, free: 57.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/21.43, allocations: 122 kB / 7.104 GB, free: 57.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.354e-05/21.43, allocations: 11.22 kB / 7.104 GB, free: 57.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/21.43, allocations: 333.3 kB / 7.104 GB, free: 57.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/21.43, allocations: 88.05 kB / 7.104 GB, free: 57.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/21.43, allocations: 359 kB / 7.104 GB, free: 57.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/21.44, allocations: 153.2 kB / 7.105 GB, free: 57.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/21.44, allocations: 3.844 kB / 7.105 GB, free: 57.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003643/21.44, allocations: 488.1 kB / 7.105 GB, free: 57.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/21.44, allocations: 15.12 kB / 7.105 GB, free: 57.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/21.44, allocations: 11.56 kB / 7.105 GB, free: 57.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.789e-05/21.44, allocations: 18.84 kB / 7.105 GB, free: 57.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/21.44, allocations: 177.6 kB / 7.105 GB, free: 57.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/21.44, allocations: 1.193 MB / 7.106 GB, free: 55.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/21.44, allocations: 27.84 kB / 7.106 GB, free: 55.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/21.44, allocations: 48.14 kB / 7.106 GB, free: 55.88 MB / 442.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.0002653/21.44, allocations: 148.6 kB / 7.107 GB, free: 55.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/21.44, allocations: 24.56 kB / 7.107 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/21.45, allocations: 0.5053 MB / 7.107 GB, free: 55.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/21.45, allocations: 3.688 kB / 7.107 GB, free: 55.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/21.45, allocations: 0 / 7.107 GB, free: 55.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/21.45, allocations: 3.234 kB / 7.107 GB, free: 55.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/21.45, allocations: 0.5685 MB / 7.108 GB, free: 55.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/21.45, allocations: 0 / 7.108 GB, free: 55.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/21.45, allocations: 74.48 kB / 7.108 GB, free: 55.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/21.45, allocations: 3.531 kB / 7.108 GB, free: 55.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/21.45, allocations: 11.05 kB / 7.108 GB, free: 55.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004478/21.45, allocations: 1.168 MB / 7.109 GB, free: 54.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/21.45, allocations: 3.375 kB / 7.109 GB, free: 54.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008371/21.45, allocations: 322.2 kB / 7.109 GB, free: 53.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/21.45, allocations: 139.8 kB / 7.109 GB, free: 53.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.254e-05/21.45, allocations: 7.156 kB / 7.109 GB, free: 53.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/21.45, allocations: 26.12 kB / 7.109 GB, free: 53.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/21.45, allocations: 14.98 kB / 7.109 GB, free: 53.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/21.45, allocations: 14.06 kB / 7.109 GB, free: 53.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002418/21.45, allocations: 168.6 kB / 7.11 GB, free: 53.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/21.45, allocations: 0 / 7.11 GB, free: 53.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009406/21.46, allocations: 1.935 MB / 7.111 GB, free: 53.17 MB / 442.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.01871/21.48, allocations: 3.701 MB / 7.115 GB, free: 51.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001511/21.48, allocations: 301.4 kB / 7.115 GB, free: 51.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/21.48, allocations: 0 / 7.115 GB, free: 51.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006299/21.48, allocations: 106.7 kB / 7.115 GB, free: 51.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/21.48, allocations: 51.56 kB / 7.116 GB, free: 51.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.463/22.95, allocations: 271.3 MB / 7.38 GB, free: 67.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/22.95, allocations: 0.7605 MB / 7.381 GB, free: 67.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00131/22.95, allocations: 134.8 kB / 7.381 GB, free: 67.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/22.95, allocations: 98.44 kB / 7.381 GB, free: 67.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/22.95, allocations: 2.953 kB / 7.381 GB, free: 67.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1439/23.09, allocations: 58.73 MB / 7.439 GB, free: 62.76 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/23.09, allocations: 243.4 kB / 7.439 GB, free: 62.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.46/28.55, allocations: 4 kB / 7.439 GB, free: 62.43 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat