Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.638/2.638, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.696e-05/4.686e-05, allocations: 7.984 kB / 305 MB, free: 5.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4287, allocations: 54.85 MB / 359.9 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.09/19.52, allocations: 6.537 GB / 6.888 GB, free: 204 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/19.52, allocations: 80.2 kB / 6.888 GB, free: 160 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.652/21.17, allocations: 246.7 MB / 7.129 GB, free: 81.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/21.17, allocations: 3.469 kB / 7.129 GB, free: 81.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/21.17, allocations: 3.656 kB / 7.129 GB, free: 81.28 MB / 490.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.009368/21.18, allocations: 1.896 MB / 7.131 GB, free: 80.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/21.18, allocations: 11.81 kB / 7.131 GB, free: 80.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/21.18, allocations: 65.95 kB / 7.131 GB, free: 80.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/21.18, allocations: 34.64 kB / 7.131 GB, free: 80.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/21.18, allocations: 245.5 kB / 7.131 GB, free: 79.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/21.18, allocations: 15.44 kB / 7.131 GB, free: 79.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/21.18, allocations: 29.23 kB / 7.131 GB, free: 79.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/21.18, allocations: 496.3 kB / 7.132 GB, free: 79.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/21.18, allocations: 2.531 kB / 7.132 GB, free: 79.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/21.18, allocations: 12.22 kB / 7.132 GB, free: 79.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.317e-05/21.18, allocations: 27.48 kB / 7.132 GB, free: 79.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/21.19, allocations: 0.8749 MB / 7.133 GB, free: 79.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/21.19, allocations: 1.797 MB / 7.134 GB, free: 78.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000943/21.19, allocations: 334.1 kB / 7.135 GB, free: 78.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/21.19, allocations: 98.17 kB / 7.135 GB, free: 78.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01911/21.21, allocations: 12.94 MB / 7.148 GB, free: 65.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005966/21.21, allocations: 229.3 kB / 7.148 GB, free: 65.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/21.21, allocations: 5.062 kB / 7.148 GB, free: 65.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.003011/21.21, allocations: 0.7283 MB / 7.148 GB, free: 65.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/21.21, allocations: 264.8 kB / 7.149 GB, free: 65.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/21.21, allocations: 184.8 kB / 7.149 GB, free: 65.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/21.21, allocations: 29.2 kB / 7.149 GB, free: 65.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/21.21, allocations: 271.4 kB / 7.149 GB, free: 64.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/21.21, allocations: 124.1 kB / 7.149 GB, free: 64.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/21.21, allocations: 10.62 kB / 7.149 GB, free: 64.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/21.21, allocations: 330.3 kB / 7.15 GB, free: 64.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/21.21, allocations: 82.78 kB / 7.15 GB, free: 64.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/21.21, allocations: 349.7 kB / 7.15 GB, free: 64.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/21.22, allocations: 154.6 kB / 7.15 GB, free: 64.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/21.22, allocations: 3.812 kB / 7.15 GB, free: 64.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00164/21.22, allocations: 467.9 kB / 7.151 GB, free: 64.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/21.22, allocations: 11.45 kB / 7.151 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/21.22, allocations: 10.28 kB / 7.151 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/21.22, allocations: 22.09 kB / 7.151 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/21.22, allocations: 177.4 kB / 7.151 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005189/21.22, allocations: 1.18 MB / 7.152 GB, free: 62.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/21.22, allocations: 36.36 kB / 7.152 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-05/21.22, allocations: 51.28 kB / 7.152 GB, free: 62.86 MB / 490.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.0001968/21.22, allocations: 145.6 kB / 7.152 GB, free: 62.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/21.22, allocations: 26.69 kB / 7.152 GB, free: 62.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/21.22, allocations: 0.5079 MB / 7.153 GB, free: 62.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/21.22, allocations: 3.219 kB / 7.153 GB, free: 62.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/21.22, allocations: 0 / 7.153 GB, free: 62.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/21.22, allocations: 3.938 kB / 7.153 GB, free: 62.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/21.22, allocations: 0.5648 MB / 7.153 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/21.22, allocations: 0 / 7.153 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/21.22, allocations: 90.56 kB / 7.153 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/21.22, allocations: 3.344 kB / 7.153 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/21.22, allocations: 7.531 kB / 7.153 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004401/21.22, allocations: 1.174 MB / 7.155 GB, free: 61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/21.22, allocations: 0 / 7.155 GB, free: 61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007737/21.22, allocations: 325.1 kB / 7.155 GB, free: 60.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/21.22, allocations: 130.6 kB / 7.155 GB, free: 60.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.807e-05/21.22, allocations: 9 kB / 7.155 GB, free: 60.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/21.23, allocations: 23.41 kB / 7.155 GB, free: 60.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/21.23, allocations: 11.38 kB / 7.155 GB, free: 60.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/21.23, allocations: 14.56 kB / 7.155 GB, free: 60.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002159/21.23, allocations: 174.2 kB / 7.155 GB, free: 60.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/21.23, allocations: 0 / 7.155 GB, free: 60.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009472/21.24, allocations: 1.936 MB / 7.157 GB, free: 60.18 MB / 490.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.01739/21.25, allocations: 3.69 MB / 7.161 GB, free: 58.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001435/21.25, allocations: 297.1 kB / 7.161 GB, free: 58.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/21.25, allocations: 0 / 7.161 GB, free: 58.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005869/21.25, allocations: 105.5 kB / 7.161 GB, free: 58.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/21.26, allocations: 55.3 kB / 7.161 GB, free: 58.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.165/22.42, allocations: 271.4 MB / 7.426 GB, free: 17.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/22.42, allocations: 0.7617 MB / 7.427 GB, free: 16.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/22.42, allocations: 110.5 kB / 7.427 GB, free: 16.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.302e-06/22.42, allocations: 0 / 7.427 GB, free: 16.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.597/27.02, allocations: 48.03 MB / 7.474 GB, free: 61.05 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat