Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.501/2.501, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.241e-05/4.247e-05, allocations: 0 / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4211, allocations: 54.85 MB / 359.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.892/2.313, allocations: 0.6423 GB / 0.9937 GB, free: 85.38 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/2.313, allocations: 78.89 kB / 0.9938 GB, free: 85.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6582/2.971, allocations: 111.2 MB / 1.102 GB, free: 147 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.365e-06/2.971, allocations: 1.406 kB / 1.102 GB, free: 147 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/2.971, allocations: 2.594 kB / 1.102 GB, free: 147 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.004005/2.975, allocations: 1.045 MB / 1.103 GB, free: 146.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/2.975, allocations: 9.625 kB / 1.103 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.174e-05/2.976, allocations: 65.39 kB / 1.103 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007681/2.976, allocations: 73.62 kB / 1.103 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/2.977, allocations: 255 kB / 1.104 GB, free: 146.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/2.977, allocations: 19.94 kB / 1.104 GB, free: 146.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/2.977, allocations: 29.47 kB / 1.104 GB, free: 146.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/2.978, allocations: 485.8 kB / 1.104 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/2.978, allocations: 1.562 kB / 1.104 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/2.978, allocations: 21.09 kB / 1.104 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/2.978, allocations: 6.531 kB / 1.104 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/2.98, allocations: 0.6803 MB / 1.105 GB, free: 146 MB / 490.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.01388/2.994, allocations: 4.163 MB / 1.109 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008955/2.995, allocations: 225.9 kB / 1.109 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/2.995, allocations: 78.48 kB / 1.109 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1434/3.138, allocations: 43.17 MB / 1.151 GB, free: 123.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007166/3.139, allocations: 251.1 kB / 1.152 GB, free: 123 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 3.206e-06/3.139, allocations: 2.156 kB / 1.152 GB, free: 123 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.0034/3.142, allocations: 0.7244 MB / 1.152 GB, free: 122.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/3.143, allocations: 265 kB / 1.153 GB, free: 122.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/3.143, allocations: 177.3 kB / 1.153 GB, free: 122.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/3.143, allocations: 37.33 kB / 1.153 GB, free: 122.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/3.143, allocations: 279.2 kB / 1.153 GB, free: 122 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/3.143, allocations: 82.28 kB / 1.153 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/3.143, allocations: 8 kB / 1.153 GB, free: 121.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/3.143, allocations: 326.1 kB / 1.154 GB, free: 121.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/3.143, allocations: 63.75 kB / 1.154 GB, free: 121.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/3.144, allocations: 333.8 kB / 1.154 GB, free: 121.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/3.144, allocations: 120 kB / 1.154 GB, free: 121.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/3.144, allocations: 2.969 kB / 1.154 GB, free: 121.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00094/3.145, allocations: 402.5 kB / 1.154 GB, free: 121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/3.145, allocations: 10.59 kB / 1.154 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/3.145, allocations: 15.47 kB / 1.154 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/3.148, allocations: 329.7 kB / 1.155 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/3.148, allocations: 103.5 kB / 1.155 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000606/3.149, allocations: 1.213 MB / 1.156 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/3.149, allocations: 19.09 kB / 1.156 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/3.149, allocations: 39.78 kB / 1.156 GB, free: 119.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (54): * Single equations (assignments): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/3.15, allocations: 143.7 kB / 1.156 GB, free: 119.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/3.15, allocations: 19.16 kB / 1.156 GB, free: 119.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/3.151, allocations: 0.792 MB / 1.157 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/3.151, allocations: 7.938 kB / 1.157 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/3.151, allocations: 0 / 1.157 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/3.151, allocations: 4 kB / 1.157 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/3.152, allocations: 0.5028 MB / 1.158 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/3.152, allocations: 0 / 1.158 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/3.152, allocations: 35.83 kB / 1.158 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/3.154, allocations: 246.7 kB / 1.158 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/3.154, allocations: 8 kB / 1.158 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005944/3.155, allocations: 1.261 MB / 1.159 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/3.155, allocations: 11.83 kB / 1.159 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/3.155, allocations: 0.5312 MB / 1.16 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/3.156, allocations: 220.1 kB / 1.16 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.06e-05/3.156, allocations: 15.47 kB / 1.16 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/3.156, allocations: 11.94 kB / 1.16 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/3.156, allocations: 26.89 kB / 1.16 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/3.156, allocations: 11.33 kB / 1.16 GB, free: 116.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004388/3.157, allocations: 297.6 kB / 1.16 GB, free: 116 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/3.157, allocations: 0 / 1.16 GB, free: 116 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002215/3.159, allocations: 414.4 kB / 1.161 GB, free: 115.6 MB / 490.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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003927/3.163, allocations: 2.231 MB / 1.163 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000943/3.164, allocations: 304.7 kB / 1.163 GB, free: 113.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/3.164, allocations: 0 / 1.163 GB, free: 113.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/3.164, allocations: 176.3 kB / 1.163 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008682/3.165, allocations: 81 kB / 1.163 GB, free: 112.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.095/8.26, allocations: 1.255 GB / 2.418 GB, free: 98.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/8.261, allocations: 0.8417 MB / 2.419 GB, free: 97.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/8.261, allocations: 153.5 kB / 2.419 GB, free: 97.86 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/8.261, allocations: 0 / 2.419 GB, free: 97.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.061/11.32, allocations: 14.74 MB / 2.433 GB, free: 85.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat