Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.41e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3653, allocations: 54.84 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.33/20.7, allocations: 6.536 GB / 6.882 GB, free: 26.62 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/20.7, allocations: 83.2 kB / 6.882 GB, free: 26.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813/22.51, allocations: 243.4 MB / 7.12 GB, free: 69.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/22.51, allocations: 3.938 kB / 7.12 GB, free: 69.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/22.51, allocations: 3.969 kB / 7.12 GB, free: 69.89 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.009052/22.52, allocations: 1.901 MB / 7.122 GB, free: 69.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/22.52, allocations: 7.812 kB / 7.122 GB, free: 69.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/22.52, allocations: 31.64 kB / 7.122 GB, free: 69 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/22.52, allocations: 248.9 kB / 7.122 GB, free: 68.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/22.52, allocations: 6.938 kB / 7.122 GB, free: 68.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/22.52, allocations: 17.16 kB / 7.122 GB, free: 68.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001339/22.52, allocations: 0.8275 MB / 7.123 GB, free: 68.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/22.52, allocations: 445.4 kB / 7.123 GB, free: 68.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/22.52, allocations: 3.188 kB / 7.123 GB, free: 68.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/22.52, allocations: 0 / 7.123 GB, free: 68.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/22.52, allocations: 22.11 kB / 7.123 GB, free: 68.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/22.53, allocations: 3.872 MB / 7.127 GB, free: 65.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/22.53, allocations: 111.1 kB / 7.127 GB, free: 65.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/22.53, allocations: 55 kB / 7.127 GB, free: 65.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01853/22.55, allocations: 11.69 MB / 7.139 GB, free: 53.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/22.55, allocations: 111 kB / 7.139 GB, free: 53.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=17): time 2.996e-06/22.55, allocations: 0 / 7.139 GB, free: 53.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=18): time 0.001965/22.55, allocations: 300.1 kB / 7.139 GB, free: 53.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/22.55, allocations: 55.28 kB / 7.139 GB, free: 53.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/22.55, allocations: 227.9 kB / 7.139 GB, free: 53.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/22.55, allocations: 28.8 kB / 7.139 GB, free: 53.26 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/22.55, allocations: 260.2 kB / 7.14 GB, free: 53.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/22.55, allocations: 57.58 kB / 7.14 GB, free: 53.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/22.55, allocations: 3.969 kB / 7.14 GB, free: 53.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.913e-05/22.55, allocations: 332.5 kB / 7.14 GB, free: 52.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/22.55, allocations: 76.11 kB / 7.14 GB, free: 52.74 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/22.55, allocations: 342.4 kB / 7.14 GB, free: 52.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/22.55, allocations: 231.5 kB / 7.141 GB, free: 52.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/22.55, allocations: 7.531 kB / 7.141 GB, free: 52.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002597/22.55, allocations: 0.5038 MB / 7.141 GB, free: 52.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/22.55, allocations: 6.969 kB / 7.141 GB, free: 52.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/22.55, allocations: 15.33 kB / 7.141 GB, free: 52.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.056e-05/22.55, allocations: 15.28 kB / 7.141 GB, free: 52.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/22.56, allocations: 177.5 kB / 7.141 GB, free: 52.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007072/22.56, allocations: 1.203 MB / 7.143 GB, free: 51.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/22.56, allocations: 22.61 kB / 7.143 GB, free: 51.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/22.56, allocations: 50.88 kB / 7.143 GB, free: 51.18 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.0002176/22.56, allocations: 122.8 kB / 7.143 GB, free: 51.07 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008354/22.56, allocations: 170.1 kB / 7.143 GB, free: 51.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/22.56, allocations: 26.34 kB / 7.143 GB, free: 51.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/22.56, allocations: 224.9 kB / 7.143 GB, free: 50.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/22.56, allocations: 0 / 7.143 GB, free: 50.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/22.56, allocations: 0 / 7.143 GB, free: 50.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/22.56, allocations: 0 / 7.143 GB, free: 50.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/22.56, allocations: 0.4986 MB / 7.144 GB, free: 50.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/22.56, allocations: 0 / 7.144 GB, free: 50.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/22.56, allocations: 83 kB / 7.144 GB, free: 50.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/22.56, allocations: 6.938 kB / 7.144 GB, free: 50.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/22.56, allocations: 3.75 kB / 7.144 GB, free: 50.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006486/22.56, allocations: 1.191 MB / 7.145 GB, free: 49.51 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/22.56, allocations: 0 / 7.145 GB, free: 49.51 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008193/22.56, allocations: 293.4 kB / 7.145 GB, free: 49.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/22.56, allocations: 132.8 kB / 7.145 GB, free: 49.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/22.56, allocations: 0 / 7.145 GB, free: 49.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/22.56, allocations: 20.48 kB / 7.145 GB, free: 49.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/22.56, allocations: 11.31 kB / 7.145 GB, free: 49.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/22.56, allocations: 15.17 kB / 7.145 GB, free: 49.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002013/22.56, allocations: 156.6 kB / 7.145 GB, free: 49.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.91e-07/22.56, allocations: 0 / 7.145 GB, free: 49.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009468/22.57, allocations: 1.914 MB / 7.147 GB, free: 48.74 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.01928/22.59, allocations: 3.552 MB / 7.151 GB, free: 47.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/22.59, allocations: 270.4 kB / 7.151 GB, free: 47.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/22.59, allocations: 3.25 kB / 7.151 GB, free: 47.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000561/22.6, allocations: 105.2 kB / 7.151 GB, free: 47.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/22.6, allocations: 40.52 kB / 7.151 GB, free: 47.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.176/23.77, allocations: 228.3 MB / 7.374 GB, free: 62.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/23.77, allocations: 0.7579 MB / 7.375 GB, free: 61.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001078/23.77, allocations: 144.7 kB / 7.375 GB, free: 61.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/23.77, allocations: 88.42 kB / 7.375 GB, free: 61.84 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/23.77, allocations: 0 / 7.375 GB, free: 61.84 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/23.93, allocations: 54.46 MB / 7.428 GB, free: 30.31 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002949/23.93, allocations: 213.1 kB / 7.429 GB, free: 30.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.709/29.64, allocations: 2.438 kB / 7.429 GB, free: 30.02 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat