Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.046/2.046, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.659e-05/4.664e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.982/2.086, allocations: 0.5861 GB / 0.9004 GB, free: 75.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/2.086, allocations: 71.59 kB / 0.9004 GB, free: 75.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2588/2.345, allocations: 60.89 MB / 0.9599 GB, free: 15.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.376e-06/2.345, allocations: 0 / 0.9599 GB, free: 15.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/2.345, allocations: 7.875 kB / 0.9599 GB, free: 15.86 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002027/2.347, allocations: 0.7053 MB / 0.9606 GB, free: 15.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/2.347, allocations: 12.02 kB / 0.9606 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.773e-05/2.348, allocations: 66.48 kB / 0.9607 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/2.36, allocations: 0.5931 MB / 0.9613 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/2.36, allocations: 254.7 kB / 0.9615 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/2.361, allocations: 123.4 kB / 0.9616 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/2.361, allocations: 20 kB / 0.9616 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/2.362, allocations: 0.5233 MB / 0.9621 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/2.362, allocations: 0 / 0.9621 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/2.362, allocations: 11.95 kB / 0.9622 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/2.362, allocations: 4 kB / 0.9622 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/2.364, allocations: 0.5667 MB / 0.9627 GB, free: 12.84 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.002824/2.367, allocations: 1.627 MB / 0.9643 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/2.367, allocations: 146.4 kB / 0.9644 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/2.367, allocations: 72.89 kB / 0.9645 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009491/2.368, allocations: 0.6971 MB / 0.9652 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/2.368, allocations: 34.56 kB / 0.9652 GB, free: 10.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 2.615e-06/2.368, allocations: 0 / 0.9652 GB, free: 10.03 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001246/2.37, allocations: 277.1 kB / 0.9655 GB, free: 9.754 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/2.37, allocations: 59.53 kB / 0.9655 GB, free: 9.684 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/2.37, allocations: 167.4 kB / 0.9657 GB, free: 9.508 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/2.37, allocations: 29.7 kB / 0.9657 GB, free: 9.473 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/2.37, allocations: 257.8 kB / 0.966 GB, free: 9.219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/2.37, allocations: 63.09 kB / 0.966 GB, free: 9.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/2.37, allocations: 8 kB / 0.966 GB, free: 9.148 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/2.37, allocations: 330.8 kB / 0.9664 GB, free: 8.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/2.37, allocations: 60.73 kB / 0.9664 GB, free: 8.754 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/2.371, allocations: 247.7 kB / 0.9667 GB, free: 8.418 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/2.371, allocations: 103.9 kB / 0.9668 GB, free: 8.316 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/2.371, allocations: 4 kB / 0.9668 GB, free: 8.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007685/2.372, allocations: 335.1 kB / 0.9671 GB, free: 7.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/2.372, allocations: 11.98 kB / 0.9671 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/2.372, allocations: 12.06 kB / 0.9671 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/2.372, allocations: 8 kB / 0.9671 GB, free: 7.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/2.373, allocations: 123.8 kB / 0.9672 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003541/2.373, allocations: 0.6094 MB / 0.9678 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/2.373, allocations: 39.59 kB / 0.9679 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/2.373, allocations: 43.98 kB / 0.9679 GB, free: 7.113 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0001424/2.374, allocations: 128.9 kB / 0.968 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/2.374, allocations: 19.81 kB / 0.968 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/2.375, allocations: 296.6 kB / 0.9683 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/2.375, allocations: 0 / 0.9683 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/2.375, allocations: 4 kB / 0.9683 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/2.375, allocations: 3.984 kB / 0.9683 GB, free: 6.652 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008891/2.376, allocations: 0.525 MB / 0.9688 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/2.376, allocations: 0 / 0.9688 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/2.376, allocations: 59.91 kB / 0.9689 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/2.376, allocations: 0 / 0.9689 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/2.376, allocations: 11.98 kB / 0.9689 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00028/2.376, allocations: 0.5898 MB / 0.9695 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.377, allocations: 4.031 kB / 0.9695 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/2.377, allocations: 338 kB / 0.9698 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/2.377, allocations: 120.8 kB / 0.9699 GB, free: 4.852 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/2.377, allocations: 0 / 0.9699 GB, free: 4.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/2.378, allocations: 19.97 kB / 0.97 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/2.378, allocations: 15.92 kB / 0.97 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/2.378, allocations: 27.98 kB / 0.97 GB, free: 4.789 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001349/2.378, allocations: 127 kB / 0.9701 GB, free: 4.664 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.378, allocations: 4 kB / 0.9701 GB, free: 4.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001243/2.379, allocations: 243.7 kB / 0.9704 GB, free: 4.422 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.002285/2.382, allocations: 1.775 MB / 0.9721 GB, free: 2.598 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007265/2.382, allocations: 195.7 kB / 0.9723 GB, free: 2.406 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/2.382, allocations: 5.812 kB / 0.9723 GB, free: 2.402 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/2.383, allocations: 75.86 kB / 0.9724 GB, free: 2.328 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006633/2.383, allocations: 52.38 kB / 0.9724 GB, free: 2.273 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3972/2.78, allocations: 32.41 MB / 1.004 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/2.781, allocations: 0.7361 MB / 1.005 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/2.781, allocations: 99.78 kB / 1.005 GB, free: 109.5 MB / 426.7 MB Notification: Performance of SimCode: time 9.91e-07/2.781, allocations: 0 / 1.005 GB, free: 109.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.827/5.608, allocations: 9.193 MB / 1.014 GB, free: 108.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat