Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.987/1.987, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.21e-05/5.228e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.033/2.145, allocations: 0.6359 GB / 0.9502 GB, free: 22.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/2.146, allocations: 80.7 kB / 0.9503 GB, free: 22.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6322/2.778, allocations: 111.1 MB / 1.059 GB, free: 84.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/2.778, allocations: 0 / 1.059 GB, free: 84.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/2.778, allocations: 9.969 kB / 1.059 GB, free: 84.47 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.003646/2.782, allocations: 1.036 MB / 1.06 GB, free: 83.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/2.782, allocations: 8.031 kB / 1.06 GB, free: 83.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.305e-05/2.782, allocations: 66.53 kB / 1.06 GB, free: 83.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007224/2.783, allocations: 75.66 kB / 1.06 GB, free: 83.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/2.783, allocations: 250.6 kB / 1.06 GB, free: 82.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/2.783, allocations: 28.55 kB / 1.06 GB, free: 82.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/2.783, allocations: 28 kB / 1.06 GB, free: 82.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/2.784, allocations: 481.5 kB / 1.061 GB, free: 82.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/2.784, allocations: 0 / 1.061 GB, free: 82.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/2.784, allocations: 23.92 kB / 1.061 GB, free: 82.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/2.784, allocations: 8 kB / 1.061 GB, free: 82.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/2.786, allocations: 0.6891 MB / 1.061 GB, free: 81.67 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.01345/2.799, allocations: 4.165 MB / 1.065 GB, free: 77.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008336/2.8, allocations: 235.3 kB / 1.066 GB, free: 77.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/2.8, allocations: 77.36 kB / 1.066 GB, free: 76.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1653/2.965, allocations: 43.16 MB / 1.108 GB, free: 29.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007036/2.966, allocations: 242.9 kB / 1.108 GB, free: 29.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.075e-06/2.966, allocations: 0 / 1.108 GB, free: 29.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.003318/2.97, allocations: 0.7331 MB / 1.109 GB, free: 28.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/2.97, allocations: 273 kB / 1.109 GB, free: 28.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/2.97, allocations: 177.6 kB / 1.109 GB, free: 28.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/2.97, allocations: 29.7 kB / 1.109 GB, free: 28.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/2.97, allocations: 281.7 kB / 1.11 GB, free: 28.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/2.97, allocations: 82.84 kB / 1.11 GB, free: 28.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/2.97, allocations: 8 kB / 1.11 GB, free: 28.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/2.97, allocations: 334.8 kB / 1.11 GB, free: 27.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/2.97, allocations: 61.12 kB / 1.11 GB, free: 27.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/2.971, allocations: 335.3 kB / 1.11 GB, free: 27.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/2.971, allocations: 123.8 kB / 1.11 GB, free: 27.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/2.971, allocations: 4 kB / 1.11 GB, free: 27.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009253/2.972, allocations: 431 kB / 1.111 GB, free: 26.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/2.972, allocations: 12 kB / 1.111 GB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/2.972, allocations: 8 kB / 1.111 GB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/2.975, allocations: 313.8 kB / 1.111 GB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/2.975, allocations: 99.83 kB / 1.111 GB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000631/2.976, allocations: 1.215 MB / 1.113 GB, free: 24.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/2.977, allocations: 32.11 kB / 1.113 GB, free: 24.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/2.977, allocations: 28 kB / 1.113 GB, free: 24.88 MB / 426.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.0001454/2.977, allocations: 140.7 kB / 1.113 GB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/2.977, allocations: 35.66 kB / 1.113 GB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/2.978, allocations: 0.7995 MB / 1.114 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/2.978, allocations: 4 kB / 1.114 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/2.978, allocations: 4.25 kB / 1.114 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/2.978, allocations: 4 kB / 1.114 GB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/2.979, allocations: 0.5005 MB / 1.114 GB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/2.979, allocations: 4 kB / 1.114 GB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/2.979, allocations: 39.88 kB / 1.114 GB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/2.981, allocations: 246.7 kB / 1.114 GB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/2.981, allocations: 11.98 kB / 1.114 GB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005793/2.982, allocations: 1.262 MB / 1.116 GB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/2.982, allocations: 3.953 kB / 1.116 GB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/2.982, allocations: 0.5281 MB / 1.116 GB, free: 21.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/2.983, allocations: 224 kB / 1.116 GB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/2.983, allocations: 4 kB / 1.116 GB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/2.983, allocations: 15.98 kB / 1.116 GB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/2.983, allocations: 23.92 kB / 1.116 GB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/2.983, allocations: 15.98 kB / 1.116 GB, free: 20.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004081/2.984, allocations: 293.6 kB / 1.117 GB, free: 20.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.984, allocations: 4 kB / 1.117 GB, free: 20.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001965/2.986, allocations: 407.5 kB / 1.117 GB, free: 20.1 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 (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.003657/2.989, allocations: 2.24 MB / 1.119 GB, free: 17.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008125/2.99, allocations: 319.1 kB / 1.119 GB, free: 17.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/2.99, allocations: 0 / 1.119 GB, free: 17.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/2.99, allocations: 182.4 kB / 1.12 GB, free: 17.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000747/2.991, allocations: 81.38 kB / 1.12 GB, free: 17.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.989/7.98, allocations: 1.255 GB / 2.375 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/7.981, allocations: 0.8306 MB / 2.375 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/7.981, allocations: 155.4 kB / 2.376 GB, free: 13.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/7.981, allocations: 0 / 2.376 GB, free: 13.87 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.303/11.28, allocations: 14.7 MB / 2.39 GB, free: 87.86 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_dT_res.mat does not exist to compare? outputFormat=mat