Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.44/2.44, allocations: 270 MB / 283.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.12e-05, allocations: 5.375 kB / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1432, allocations: 61.89 MB / 410.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.85/18.99, allocations: 6.131 GB / 6.532 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/18.99, allocations: 79.38 kB / 6.532 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.534/20.52, allocations: 260.5 MB / 6.787 GB, free: 93.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.533e-06/20.52, allocations: 0 / 6.787 GB, free: 93.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.721e-05/20.52, allocations: 3.844 kB / 6.787 GB, free: 93.28 MB / 0.5261 GB 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.009481/20.53, allocations: 1.926 MB / 6.788 GB, free: 92.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/20.53, allocations: 10.5 kB / 6.788 GB, free: 92.06 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/20.53, allocations: 69.48 kB / 6.789 GB, free: 92.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/20.53, allocations: 29.5 kB / 6.789 GB, free: 92.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/20.53, allocations: 247.8 kB / 6.789 GB, free: 91.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/20.53, allocations: 21.56 kB / 6.789 GB, free: 91.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/20.53, allocations: 24.12 kB / 6.789 GB, free: 91.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/20.54, allocations: 0.4992 MB / 6.789 GB, free: 91.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/20.54, allocations: 3.812 kB / 6.789 GB, free: 91.69 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/20.54, allocations: 18.92 kB / 6.789 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/20.54, allocations: 15.41 kB / 6.789 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/20.54, allocations: 0.9003 MB / 6.79 GB, free: 91.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/20.54, allocations: 1.836 MB / 6.792 GB, free: 90.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/20.54, allocations: 259.3 kB / 6.792 GB, free: 90.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/20.54, allocations: 95.39 kB / 6.792 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02254/20.56, allocations: 15.33 MB / 6.807 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006252/20.56, allocations: 239 kB / 6.808 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.297e-06/20.56, allocations: 0 / 6.808 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.003074/20.57, allocations: 0.7229 MB / 6.808 GB, free: 74.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/20.57, allocations: 272.3 kB / 6.809 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/20.57, allocations: 182.3 kB / 6.809 GB, free: 74.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/20.57, allocations: 33.48 kB / 6.809 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/20.57, allocations: 202.1 kB / 6.809 GB, free: 74.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/20.57, allocations: 121.5 kB / 6.809 GB, free: 73.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/20.57, allocations: 17.59 kB / 6.809 GB, free: 73.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.389e-05/20.57, allocations: 328.7 kB / 6.809 GB, free: 73.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/20.57, allocations: 91.78 kB / 6.809 GB, free: 73.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/20.57, allocations: 355.1 kB / 6.81 GB, free: 73.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/20.57, allocations: 143.6 kB / 6.81 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/20.57, allocations: 3.969 kB / 6.81 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001682/20.57, allocations: 480.5 kB / 6.81 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/20.57, allocations: 8.688 kB / 6.81 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/20.57, allocations: 7.938 kB / 6.81 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.38e-05/20.57, allocations: 15.25 kB / 6.81 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/20.57, allocations: 180.4 kB / 6.811 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000539/20.57, allocations: 1.186 MB / 6.812 GB, free: 72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/20.57, allocations: 39.38 kB / 6.812 GB, free: 71.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/20.57, allocations: 50.19 kB / 6.812 GB, free: 71.99 MB / 0.5261 GB 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 (67): * Single equations (assignments): 65 * 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.0001654/20.57, allocations: 143.5 kB / 6.812 GB, free: 71.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/20.57, allocations: 31.38 kB / 6.812 GB, free: 71.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/20.58, allocations: 0.5195 MB / 6.813 GB, free: 71.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/20.58, allocations: 3.656 kB / 6.813 GB, free: 71.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/20.58, allocations: 0 / 6.813 GB, free: 71.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/20.58, allocations: 3.562 kB / 6.813 GB, free: 71.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/20.58, allocations: 0.57 MB / 6.813 GB, free: 71.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/20.58, allocations: 0 / 6.813 GB, free: 71.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/20.58, allocations: 81.19 kB / 6.813 GB, free: 71.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/20.58, allocations: 7.594 kB / 6.813 GB, free: 71.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/20.58, allocations: 6.844 kB / 6.813 GB, free: 71.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004338/20.58, allocations: 1.165 MB / 6.814 GB, free: 70.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/20.58, allocations: 4.125 kB / 6.814 GB, free: 70.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/20.58, allocations: 329.7 kB / 6.815 GB, free: 69.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/20.58, allocations: 146.8 kB / 6.815 GB, free: 69.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/20.58, allocations: 7.453 kB / 6.815 GB, free: 69.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/20.58, allocations: 14.89 kB / 6.815 GB, free: 69.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/20.58, allocations: 11.11 kB / 6.815 GB, free: 69.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/20.58, allocations: 16.2 kB / 6.815 GB, free: 69.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002311/20.58, allocations: 175 kB / 6.815 GB, free: 69.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/20.58, allocations: 0 / 6.815 GB, free: 69.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009221/20.59, allocations: 1.999 MB / 6.817 GB, free: 69.23 MB / 0.5261 GB 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.02136/20.61, allocations: 3.72 MB / 6.821 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002064/20.61, allocations: 296.2 kB / 6.821 GB, free: 67.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.026e-06/20.61, allocations: 0 / 6.821 GB, free: 67.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009494/20.61, allocations: 105.5 kB / 6.821 GB, free: 67.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008869/20.62, allocations: 51.91 kB / 6.821 GB, free: 67.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.25/21.87, allocations: 287.4 MB / 7.102 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/21.87, allocations: 0.7547 MB / 7.102 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009447/21.87, allocations: 139 kB / 7.103 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/21.87, allocations: 95.39 kB / 7.103 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of SimCode: time 1.202e-06/21.87, allocations: 0 / 7.103 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6145/22.48, allocations: 55.52 MB / 7.157 GB, free: 74.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/22.48, allocations: 250.4 kB / 7.157 GB, free: 74.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.037/28.52, allocations: 0 / 7.157 GB, free: 74.27 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat