Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.598e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 48.69 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.004/2.108, allocations: 0.636 GB / 0.9503 GB, free: 23.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/2.108, allocations: 83.31 kB / 0.9503 GB, free: 23.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6201/2.728, allocations: 111.1 MB / 1.059 GB, free: 84.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/2.728, allocations: 0 / 1.059 GB, free: 84.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/2.728, allocations: 4 kB / 1.059 GB, free: 84.89 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003854/2.732, allocations: 1.044 MB / 1.06 GB, free: 83.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/2.732, allocations: 8.031 kB / 1.06 GB, free: 83.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/2.732, allocations: 70.53 kB / 1.06 GB, free: 83.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000794/2.733, allocations: 79.59 kB / 1.06 GB, free: 83.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/2.733, allocations: 250.6 kB / 1.06 GB, free: 83.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/2.733, allocations: 20.56 kB / 1.06 GB, free: 83.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/2.733, allocations: 28 kB / 1.06 GB, free: 83.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/2.735, allocations: 484.4 kB / 1.061 GB, free: 82.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/2.735, allocations: 3.938 kB / 1.061 GB, free: 82.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/2.735, allocations: 16 kB / 1.061 GB, free: 82.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/2.735, allocations: 12 kB / 1.061 GB, free: 82.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/2.736, allocations: 0.6802 MB / 1.061 GB, free: 82.09 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/2.75, allocations: 4.194 MB / 1.066 GB, free: 77.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008138/2.751, allocations: 231.1 kB / 1.066 GB, free: 77.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/2.751, allocations: 73.38 kB / 1.066 GB, free: 77.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1385/2.889, allocations: 40.34 MB / 1.105 GB, free: 33.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000769/2.89, allocations: 318.3 kB / 1.106 GB, free: 32.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.777e-06/2.89, allocations: 3.938 kB / 1.106 GB, free: 32.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.003068/2.893, allocations: 0.7417 MB / 1.106 GB, free: 32.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/2.893, allocations: 427.2 kB / 1.107 GB, free: 31.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/2.894, allocations: 153.2 kB / 1.107 GB, free: 31.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/2.894, allocations: 30.02 kB / 1.107 GB, free: 31.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/2.894, allocations: 242.2 kB / 1.107 GB, free: 31.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.606e-05/2.894, allocations: 126.2 kB / 1.107 GB, free: 31.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/2.894, allocations: 8 kB / 1.107 GB, free: 31.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/2.894, allocations: 326.8 kB / 1.107 GB, free: 30.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/2.894, allocations: 65.11 kB / 1.108 GB, free: 30.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/2.894, allocations: 297 kB / 1.108 GB, free: 30.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/2.895, allocations: 107.8 kB / 1.108 GB, free: 30.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/2.895, allocations: 4 kB / 1.108 GB, free: 30.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009179/2.896, allocations: 373.5 kB / 1.108 GB, free: 29.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/2.896, allocations: 8 kB / 1.108 GB, free: 29.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/2.896, allocations: 8 kB / 1.108 GB, free: 29.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.303e-05/2.896, allocations: 16 kB / 1.108 GB, free: 29.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/2.899, allocations: 264 kB / 1.109 GB, free: 29.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005394/2.9, allocations: 1.184 MB / 1.11 GB, free: 28.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/2.9, allocations: 19.94 kB / 1.11 GB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/2.9, allocations: 32.17 kB / 1.11 GB, free: 28.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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.0001473/2.9, allocations: 140.8 kB / 1.11 GB, free: 28.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/2.9, allocations: 31.7 kB / 1.11 GB, free: 28.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/2.902, allocations: 0.972 MB / 1.111 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/2.902, allocations: 15.98 kB / 1.111 GB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/2.902, allocations: 0 / 1.111 GB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/2.902, allocations: 0 / 1.111 GB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04226/2.944, allocations: 12.44 MB / 1.123 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/2.945, allocations: 7.984 kB / 1.123 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/2.946, allocations: 135.9 kB / 1.123 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/2.946, allocations: 4 kB / 1.123 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/2.946, allocations: 15.94 kB / 1.123 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000244/2.946, allocations: 0.586 MB / 1.124 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/2.946, allocations: 0 / 1.124 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/2.947, allocations: 0.629 MB / 1.124 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/2.947, allocations: 188.2 kB / 1.125 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/2.948, allocations: 15.98 kB / 1.125 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/2.948, allocations: 12 kB / 1.125 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/2.948, allocations: 19.92 kB / 1.125 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/2.948, allocations: 12 kB / 1.125 GB, free: 11.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002707/2.948, allocations: 210.2 kB / 1.125 GB, free: 11.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.948, allocations: 0 / 1.125 GB, free: 11.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002221/2.951, allocations: 483.4 kB / 1.125 GB, free: 11.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004153/2.955, allocations: 2.432 MB / 1.128 GB, free: 8.578 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001976/2.957, allocations: 380.9 kB / 1.128 GB, free: 8.207 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/2.957, allocations: 256 / 1.128 GB, free: 8.207 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/2.958, allocations: 244.2 kB / 1.128 GB, free: 7.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/2.959, allocations: 81.83 kB / 1.128 GB, free: 7.887 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.978/5.937, allocations: 0.6793 GB / 1.808 GB, free: 87.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/5.937, allocations: 0.8252 MB / 1.808 GB, free: 86.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/5.938, allocations: 145.6 kB / 1.809 GB, free: 86.94 MB / 426.7 MB Notification: Performance of SimCode: time 1.402e-06/5.938, allocations: 0 / 1.809 GB, free: 86.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.842/8.78, allocations: 14.47 MB / 1.823 GB, free: 85.52 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat