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.96/1.96, allocations: 209.4 MB / 216.9 MB, free: 6.73 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.158e-05, allocations: 4 kB / 267.6 MB, free: 5.371 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 48.7 MB / 316.3 MB, free: 4.578 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.909/2.013, allocations: 0.6355 GB / 0.9444 GB, free: 24 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004176/2.014, allocations: 75.89 kB / 0.9445 GB, free: 23.96 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6078/2.622, allocations: 108.5 MB / 1.05 GB, free: 92.57 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.853e-06/2.622, allocations: 0 / 1.05 GB, free: 92.57 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.557e-05/2.622, allocations: 4 kB / 1.05 GB, free: 92.57 MB / 426.8 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.003569/2.625, allocations: 1.044 MB / 1.051 GB, free: 91.48 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/2.625, allocations: 8.031 kB / 1.051 GB, free: 91.47 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007268/2.626, allocations: 75.66 kB / 1.052 GB, free: 91.39 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/2.626, allocations: 250.6 kB / 1.052 GB, free: 91.11 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/2.627, allocations: 8 kB / 1.052 GB, free: 91.1 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/2.627, allocations: 20 kB / 1.052 GB, free: 91.08 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008891/2.627, allocations: 0.5866 MB / 1.052 GB, free: 90.5 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/2.628, allocations: 350.9 kB / 1.053 GB, free: 90.12 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/2.628, allocations: 0 / 1.053 GB, free: 90.12 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/2.628, allocations: 8 kB / 1.053 GB, free: 90.12 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/2.628, allocations: 7.938 kB / 1.053 GB, free: 90.11 MB / 426.8 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.1205/2.749, allocations: 39.34 MB / 1.091 GB, free: 47.36 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/2.749, allocations: 70.69 kB / 1.091 GB, free: 47.29 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.411e-05/2.749, allocations: 24.89 kB / 1.091 GB, free: 47.26 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02559/2.775, allocations: 7.035 MB / 1.098 GB, free: 39.63 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/2.775, allocations: 95.48 kB / 1.098 GB, free: 39.53 MB / 426.8 MB Notification: Performance of pre-optimization done (n=12): time 3.387e-06/2.775, allocations: 4 kB / 1.098 GB, free: 39.52 MB / 426.8 MB Notification: Performance of matching and sorting (n=13): time 0.002444/2.777, allocations: 360.5 kB / 1.099 GB, free: 39.16 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/2.777, allocations: 59.41 kB / 1.099 GB, free: 39.09 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/2.778, allocations: 196.4 kB / 1.099 GB, free: 38.89 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/2.778, allocations: 25.7 kB / 1.099 GB, free: 38.86 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/2.778, allocations: 312.9 kB / 1.099 GB, free: 38.55 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/2.778, allocations: 43.45 kB / 1.099 GB, free: 38.51 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/2.778, allocations: 0 / 1.099 GB, free: 38.51 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 6.739e-05/2.778, allocations: 334.8 kB / 1.099 GB, free: 38.17 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/2.778, allocations: 53.11 kB / 1.1 GB, free: 38.12 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/2.778, allocations: 293 kB / 1.1 GB, free: 37.71 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/2.78, allocations: 247.6 kB / 1.1 GB, free: 37.47 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/2.78, allocations: 4 kB / 1.1 GB, free: 37.47 MB / 426.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002598/2.783, allocations: 489.2 kB / 1.101 GB, free: 36.99 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/2.783, allocations: 8 kB / 1.101 GB, free: 36.98 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/2.783, allocations: 11.95 kB / 1.101 GB, free: 36.97 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/2.783, allocations: 12 kB / 1.101 GB, free: 36.96 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/2.785, allocations: 224.2 kB / 1.101 GB, free: 36.74 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003499/2.786, allocations: 0.5977 MB / 1.101 GB, free: 36.12 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/2.786, allocations: 11.91 kB / 1.101 GB, free: 36.11 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/2.786, allocations: 40.08 kB / 1.101 GB, free: 36.07 MB / 426.8 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.000121/2.786, allocations: 132.6 kB / 1.102 GB, free: 35.93 MB / 426.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008333/2.787, allocations: 149.4 kB / 1.102 GB, free: 35.78 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/2.787, allocations: 19.81 kB / 1.102 GB, free: 35.76 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007986/2.788, allocations: 311.5 kB / 1.102 GB, free: 35.45 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/2.788, allocations: 4 kB / 1.102 GB, free: 35.45 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/2.788, allocations: 7.875 kB / 1.102 GB, free: 35.44 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/2.788, allocations: 0 / 1.102 GB, free: 35.44 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/2.789, allocations: 286.5 kB / 1.102 GB, free: 35.12 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/2.789, allocations: 0 / 1.102 GB, free: 35.12 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/2.79, allocations: 111.9 kB / 1.102 GB, free: 35.02 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/2.79, allocations: 0 / 1.102 GB, free: 35.02 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/2.79, allocations: 7.984 kB / 1.102 GB, free: 35.01 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002681/2.79, allocations: 0.5821 MB / 1.103 GB, free: 34.4 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.79, allocations: 0 / 1.103 GB, free: 34.4 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/2.791, allocations: 260.5 kB / 1.103 GB, free: 34.13 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/2.791, allocations: 136.6 kB / 1.103 GB, free: 33.98 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/2.791, allocations: 4 kB / 1.103 GB, free: 33.97 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/2.791, allocations: 12.08 kB / 1.103 GB, free: 33.96 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/2.791, allocations: 11.98 kB / 1.103 GB, free: 33.95 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/2.791, allocations: 11.95 kB / 1.103 GB, free: 33.94 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001646/2.792, allocations: 162 kB / 1.104 GB, free: 33.78 MB / 426.8 MB Notification: Performance of sort global known variables: time 4.3e-07/2.792, allocations: 0 / 1.104 GB, free: 33.78 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.002013/2.794, allocations: 455.4 kB / 1.104 GB, free: 33.34 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003413/2.797, allocations: 1.519 MB / 1.105 GB, free: 31.83 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001291/2.798, allocations: 277.7 kB / 1.106 GB, free: 31.56 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.798, allocations: 0 / 1.106 GB, free: 31.56 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008427/2.799, allocations: 147.9 kB / 1.106 GB, free: 31.42 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/2.8, allocations: 28.53 kB / 1.106 GB, free: 31.39 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.578/3.378, allocations: 111.3 MB / 1.215 GB, free: 81.17 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/3.378, allocations: 0.7602 MB / 1.215 GB, free: 80.41 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/3.378, allocations: 102.9 kB / 1.215 GB, free: 80.33 MB / 426.8 MB Notification: Performance of SimCode: time 1.412e-06/3.378, allocations: 0.6562 kB / 1.215 GB, free: 80.33 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.866/6.244, allocations: 13.16 MB / 1.228 GB, free: 72.11 MB / 426.8 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