Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.546/2.546, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.688e-05/4.697e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4213, allocations: 58.84 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.99/20.41, allocations: 6.605 GB / 6.979 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/20.41, allocations: 77.56 kB / 6.979 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.462/21.88, allocations: 248.3 MB / 7.221 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/21.88, allocations: 0 / 7.221 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.811e-05/21.88, allocations: 3.906 kB / 7.221 GB, free: 100.7 MB / 0.5105 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.01014/21.89, allocations: 1.91 MB / 7.223 GB, free: 99.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/21.89, allocations: 11.69 kB / 7.223 GB, free: 99.45 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/21.89, allocations: 61.97 kB / 7.223 GB, free: 99.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/21.89, allocations: 30.56 kB / 7.223 GB, free: 99.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/21.89, allocations: 251 kB / 7.224 GB, free: 99.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/21.89, allocations: 22.44 kB / 7.224 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/21.89, allocations: 30.22 kB / 7.224 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/21.89, allocations: 0.4902 MB / 7.224 GB, free: 99.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/21.89, allocations: 3.938 kB / 7.224 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/21.89, allocations: 14.16 kB / 7.224 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/21.89, allocations: 22.48 kB / 7.224 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/21.89, allocations: 0.8944 MB / 7.225 GB, free: 99.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/21.89, allocations: 1.841 MB / 7.227 GB, free: 97.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/21.9, allocations: 257.4 kB / 7.227 GB, free: 97.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/21.9, allocations: 99.52 kB / 7.227 GB, free: 97.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02359/21.92, allocations: 15.33 MB / 7.242 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006879/21.92, allocations: 240.9 kB / 7.242 GB, free: 82.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.885e-06/21.92, allocations: 0 / 7.242 GB, free: 82.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.00343/21.92, allocations: 0.7184 MB / 7.243 GB, free: 82.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/21.92, allocations: 273.1 kB / 7.243 GB, free: 81.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/21.92, allocations: 192.1 kB / 7.243 GB, free: 81.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/21.92, allocations: 33.45 kB / 7.243 GB, free: 81.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/21.92, allocations: 195.4 kB / 7.244 GB, free: 81.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/21.92, allocations: 127.1 kB / 7.244 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/21.92, allocations: 6.812 kB / 7.244 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.097e-05/21.92, allocations: 332.6 kB / 7.244 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/21.92, allocations: 89.88 kB / 7.244 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/21.93, allocations: 352.7 kB / 7.245 GB, free: 80.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/21.93, allocations: 162.2 kB / 7.245 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/21.93, allocations: 0 / 7.245 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001797/21.93, allocations: 476.2 kB / 7.245 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/21.93, allocations: 11.72 kB / 7.245 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/21.93, allocations: 8.594 kB / 7.245 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.818e-05/21.93, allocations: 14 kB / 7.245 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/21.93, allocations: 176.9 kB / 7.245 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006068/21.93, allocations: 1.195 MB / 7.247 GB, free: 79.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/21.93, allocations: 24.09 kB / 7.247 GB, free: 79.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/21.93, allocations: 50.77 kB / 7.247 GB, free: 79.39 MB / 0.5105 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.0001905/21.93, allocations: 154.3 kB / 7.247 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/21.93, allocations: 26.19 kB / 7.247 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/21.93, allocations: 0.5251 MB / 7.247 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/21.93, allocations: 3.688 kB / 7.247 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/21.93, allocations: 0 / 7.247 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/21.93, allocations: 0 / 7.247 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/21.93, allocations: 0.5719 MB / 7.248 GB, free: 78.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/21.93, allocations: 3.781 kB / 7.248 GB, free: 78.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007267/21.94, allocations: 77.05 kB / 7.248 GB, free: 78.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/21.94, allocations: 11.45 kB / 7.248 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/21.94, allocations: 7.375 kB / 7.248 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005108/21.94, allocations: 1.162 MB / 7.249 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/21.94, allocations: 3.594 kB / 7.249 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/21.94, allocations: 327 kB / 7.249 GB, free: 77.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/21.94, allocations: 138.8 kB / 7.249 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-05/21.94, allocations: 10.28 kB / 7.25 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/21.94, allocations: 16.69 kB / 7.25 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/21.94, allocations: 21.19 kB / 7.25 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/21.94, allocations: 14.33 kB / 7.25 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002483/21.94, allocations: 175.6 kB / 7.25 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/21.94, allocations: 0 / 7.25 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01019/21.95, allocations: 1.951 MB / 7.252 GB, free: 76.55 MB / 0.5105 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.01944/21.97, allocations: 3.725 MB / 7.255 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001638/21.97, allocations: 293.1 kB / 7.256 GB, free: 74.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/21.97, allocations: 0 / 7.256 GB, free: 74.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006399/21.97, allocations: 105.3 kB / 7.256 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/21.97, allocations: 50.97 kB / 7.256 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.125/23.1, allocations: 271.7 MB / 7.521 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/23.1, allocations: 0.7605 MB / 7.522 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009526/23.1, allocations: 138.1 kB / 7.522 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/23.1, allocations: 98.77 kB / 7.522 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of SimCode: time 2.074e-06/23.1, allocations: 0 / 7.522 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.617/23.71, allocations: 59.33 MB / 7.58 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/23.71, allocations: 245.5 kB / 7.58 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.786/29.5, allocations: 4 kB / 7.58 GB, free: 76.21 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat