Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.374/2.374, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.448e-05, allocations: 4 kB / 299.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3893, allocations: 54.85 MB / 354.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.09/20.48, allocations: 6.536 GB / 6.882 GB, free: 51.86 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/20.48, allocations: 85.08 kB / 6.882 GB, free: 51.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425/21.91, allocations: 243.4 MB / 7.12 GB, free: 1.289 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.345e-06/21.91, allocations: 3.938 kB / 7.12 GB, free: 1.285 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/21.91, allocations: 4 kB / 7.12 GB, free: 1.281 MB / 474.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.3958/22.3, allocations: 1.89 MB / 7.122 GB, free: 57.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.872e-05/22.3, allocations: 9.719 kB / 7.122 GB, free: 57.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/22.3, allocations: 37.06 kB / 7.122 GB, free: 57.26 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/22.3, allocations: 246.5 kB / 7.122 GB, free: 57.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/22.3, allocations: 8.75 kB / 7.122 GB, free: 57.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/22.3, allocations: 15.47 kB / 7.122 GB, free: 57.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002396/22.31, allocations: 0.8261 MB / 7.123 GB, free: 57.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/22.31, allocations: 449.9 kB / 7.123 GB, free: 56.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/22.31, allocations: 4.906 kB / 7.123 GB, free: 56.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/22.31, allocations: 2.031 kB / 7.123 GB, free: 56.95 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.962e-05/22.31, allocations: 22.44 kB / 7.123 GB, free: 56.95 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006007/22.31, allocations: 3.868 MB / 7.127 GB, free: 53.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/22.31, allocations: 113.8 kB / 7.127 GB, free: 53.58 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/22.31, allocations: 44.42 kB / 7.127 GB, free: 53.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01773/22.33, allocations: 11.69 MB / 7.139 GB, free: 41.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/22.33, allocations: 113.1 kB / 7.139 GB, free: 41.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=17): time 2.355e-06/22.33, allocations: 0 / 7.139 GB, free: 41.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=18): time 0.001938/22.33, allocations: 299.9 kB / 7.139 GB, free: 41.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/22.33, allocations: 58.23 kB / 7.139 GB, free: 41.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/22.33, allocations: 230.7 kB / 7.139 GB, free: 41.56 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/22.33, allocations: 27.05 kB / 7.139 GB, free: 41.53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/22.34, allocations: 250.2 kB / 7.14 GB, free: 41.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/22.34, allocations: 65.36 kB / 7.14 GB, free: 41.33 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/22.34, allocations: 0 / 7.14 GB, free: 41.33 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.095e-05/22.34, allocations: 336.4 kB / 7.14 GB, free: 41.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/22.34, allocations: 70.98 kB / 7.14 GB, free: 41.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/22.34, allocations: 343.5 kB / 7.14 GB, free: 40.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/22.34, allocations: 237.8 kB / 7.141 GB, free: 40.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/22.34, allocations: 2.656 kB / 7.141 GB, free: 40.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002579/22.34, allocations: 0.5053 MB / 7.141 GB, free: 40.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/22.34, allocations: 9.469 kB / 7.141 GB, free: 40.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/22.34, allocations: 15.55 kB / 7.141 GB, free: 40.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/22.34, allocations: 21.81 kB / 7.141 GB, free: 40.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/22.34, allocations: 180.6 kB / 7.141 GB, free: 40.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007151/22.34, allocations: 1.198 MB / 7.142 GB, free: 39.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/22.34, allocations: 21.58 kB / 7.142 GB, free: 39.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/22.34, allocations: 43.61 kB / 7.143 GB, free: 39.46 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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.0002113/22.34, allocations: 131.5 kB / 7.143 GB, free: 39.36 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007757/22.34, allocations: 163.8 kB / 7.143 GB, free: 39.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/22.34, allocations: 27.84 kB / 7.143 GB, free: 39.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007829/22.34, allocations: 227.3 kB / 7.143 GB, free: 39.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/22.34, allocations: 3.094 kB / 7.143 GB, free: 39.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/22.34, allocations: 0 / 7.143 GB, free: 39.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/22.35, allocations: 1.875 kB / 7.143 GB, free: 39.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/22.35, allocations: 0.4958 MB / 7.144 GB, free: 38.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/22.35, allocations: 0 / 7.144 GB, free: 38.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/22.35, allocations: 77.38 kB / 7.144 GB, free: 38.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/22.35, allocations: 4.812 kB / 7.144 GB, free: 38.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/22.35, allocations: 2.312 kB / 7.144 GB, free: 38.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006126/22.35, allocations: 1.192 MB / 7.145 GB, free: 37.81 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/22.35, allocations: 4.938 kB / 7.145 GB, free: 37.81 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008252/22.35, allocations: 293.4 kB / 7.145 GB, free: 37.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/22.35, allocations: 134.6 kB / 7.145 GB, free: 37.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/22.35, allocations: 3.984 kB / 7.145 GB, free: 37.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/22.35, allocations: 13.05 kB / 7.145 GB, free: 37.53 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/22.35, allocations: 9.938 kB / 7.145 GB, free: 37.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/22.35, allocations: 14.84 kB / 7.145 GB, free: 37.53 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002078/22.35, allocations: 162.7 kB / 7.145 GB, free: 37.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/22.35, allocations: 0 / 7.145 GB, free: 37.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009114/22.36, allocations: 1.916 MB / 7.147 GB, free: 37.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 18 * 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.02135/22.38, allocations: 3.545 MB / 7.151 GB, free: 36.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002362/22.38, allocations: 264.4 kB / 7.151 GB, free: 36.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/22.38, allocations: 0 / 7.151 GB, free: 36.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/22.38, allocations: 105.7 kB / 7.151 GB, free: 36.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/22.38, allocations: 46.77 kB / 7.151 GB, free: 36.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.08/23.46, allocations: 228.3 MB / 7.374 GB, free: 61.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/23.47, allocations: 0.7618 MB / 7.375 GB, free: 60.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009113/23.47, allocations: 140.9 kB / 7.375 GB, free: 60.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/23.47, allocations: 88.84 kB / 7.375 GB, free: 60.82 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/23.47, allocations: 4 kB / 7.375 GB, free: 60.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1935/23.66, allocations: 54.46 MB / 7.428 GB, free: 49.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/23.66, allocations: 204.5 kB / 7.428 GB, free: 49.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.637/29.3, allocations: 0 / 7.428 GB, free: 49.39 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat