Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.076e-05/4.086e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4289, allocations: 54.85 MB / 359.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/1.732, allocations: 456.4 MB / 0.7971 GB, free: 96.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/1.733, allocations: 71.95 kB / 0.7972 GB, free: 96.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09979/1.832, allocations: 29.74 MB / 0.8262 GB, free: 71.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.832, allocations: 4 kB / 0.8262 GB, free: 71.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/1.833, allocations: 4 kB / 0.8262 GB, free: 71.77 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004695/1.833, allocations: 389.7 kB / 0.8266 GB, free: 71.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.833, allocations: 8.031 kB / 0.8266 GB, free: 71.35 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/1.833, allocations: 45.8 kB / 0.8267 GB, free: 71.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/1.836, allocations: 179 kB / 0.8268 GB, free: 71.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/1.836, allocations: 216.3 kB / 0.827 GB, free: 70.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/1.836, allocations: 11.62 kB / 0.8271 GB, free: 70.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/1.836, allocations: 8 kB / 0.8271 GB, free: 70.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/1.837, allocations: 208 kB / 0.8273 GB, free: 70.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.837, allocations: 0 / 0.8273 GB, free: 70.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/1.837, allocations: 7.5 kB / 0.8273 GB, free: 70.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.837, allocations: 3.953 kB / 0.8273 GB, free: 70.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/1.837, allocations: 153.8 kB / 0.8274 GB, free: 70.62 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.001263/1.839, allocations: 0.5882 MB / 0.828 GB, free: 70.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/1.839, allocations: 125.9 kB / 0.8281 GB, free: 69.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/1.839, allocations: 66.22 kB / 0.8282 GB, free: 69.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/1.839, allocations: 0 / 0.8282 GB, free: 69.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/1.839, allocations: 41.94 kB / 0.8282 GB, free: 69.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/1.839, allocations: 0 / 0.8282 GB, free: 69.85 MB / 490.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=19): time 0.007456/1.847, allocations: 1.089 MB / 0.8293 GB, free: 68.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/1.847, allocations: 51.41 kB / 0.8293 GB, free: 68.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/1.847, allocations: 103.9 kB / 0.8294 GB, free: 68.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/1.847, allocations: 29.64 kB / 0.8295 GB, free: 68.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/1.847, allocations: 170.3 kB / 0.8296 GB, free: 68.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/1.847, allocations: 64.91 kB / 0.8297 GB, free: 68.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/1.847, allocations: 3.938 kB / 0.8297 GB, free: 68.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.399e-05/1.847, allocations: 318.4 kB / 0.83 GB, free: 68.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/1.847, allocations: 65.23 kB / 0.8301 GB, free: 68.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/1.848, allocations: 96.34 kB / 0.8301 GB, free: 67.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/1.848, allocations: 81.86 kB / 0.8302 GB, free: 67.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.848, allocations: 0 / 0.8302 GB, free: 67.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005952/1.848, allocations: 253.6 kB / 0.8305 GB, free: 67.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.848, allocations: 5.719 kB / 0.8305 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.848, allocations: 0 / 0.8305 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/1.849, allocations: 48.39 kB / 0.8305 GB, free: 67.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/1.849, allocations: 52.06 kB / 0.8306 GB, free: 67.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000417/1.85, allocations: 0.5693 MB / 0.8311 GB, free: 67.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/1.85, allocations: 11.8 kB / 0.8311 GB, free: 67.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/1.85, allocations: 27.42 kB / 0.8312 GB, free: 67 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.85, allocations: 120.9 kB / 0.8313 GB, free: 66.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/1.85, allocations: 15.91 kB / 0.8313 GB, free: 66.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/1.851, allocations: 329.3 kB / 0.8316 GB, free: 66.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.851, allocations: 7.938 kB / 0.8316 GB, free: 66.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/1.851, allocations: 7.953 kB / 0.8316 GB, free: 66.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.851, allocations: 0 / 0.8316 GB, free: 66.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/1.853, allocations: 0.5959 MB / 0.8322 GB, free: 66.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.853, allocations: 12.03 kB / 0.8322 GB, free: 66.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/1.853, allocations: 55.95 kB / 0.8323 GB, free: 65.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-05/1.853, allocations: 20.36 kB / 0.8323 GB, free: 65.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/1.853, allocations: 15.8 kB / 0.8323 GB, free: 65.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008517/1.854, allocations: 1.262 MB / 0.8335 GB, free: 64.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.854, allocations: 0 / 0.8335 GB, free: 64.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/1.855, allocations: 449.3 kB / 0.834 GB, free: 64.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/1.855, allocations: 92.47 kB / 0.8341 GB, free: 64.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/1.855, allocations: 7.953 kB / 0.8341 GB, free: 64.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/1.855, allocations: 7.875 kB / 0.8341 GB, free: 64.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/1.856, allocations: 31.2 kB / 0.8341 GB, free: 64.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/1.856, allocations: 27.42 kB / 0.8341 GB, free: 64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.547e-05/1.856, allocations: 87.27 kB / 0.8342 GB, free: 63.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.493e-06/1.856, allocations: 0 / 0.8342 GB, free: 63.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007107/1.856, allocations: 121.1 kB / 0.8343 GB, free: 63.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001929/1.858, allocations: 1.626 MB / 0.8359 GB, free: 62.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005748/1.859, allocations: 184.2 kB / 0.8361 GB, free: 62.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.859, allocations: 0 / 0.8361 GB, free: 62.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003669/1.859, allocations: 207.2 kB / 0.8363 GB, free: 61.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/1.86, allocations: 47.2 kB / 0.8363 GB, free: 61.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/1.861, allocations: 421.4 kB / 0.8367 GB, free: 61.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/1.861, allocations: 0.7049 MB / 0.8374 GB, free: 60.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003891/1.862, allocations: 77.2 kB / 0.8375 GB, free: 60.66 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/1.862, allocations: 3.938 kB / 0.8375 GB, free: 60.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.816/4.678, allocations: 6.929 MB / 0.8443 GB, free: 53.76 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat