Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.734/1.734, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.457e-05, allocations: 4 kB / 219.6 MB, free: 7.312 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2606, allocations: 38.76 MB / 258.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.712/1.973, allocations: 0.5797 GB / 0.832 GB, free: 92.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/1.973, allocations: 86.33 kB / 0.832 GB, free: 92.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7337/2.707, allocations: 151.6 MB / 0.9801 GB, free: 90.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.364e-06/2.707, allocations: 0 / 0.9801 GB, free: 90.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.702e-05/2.707, allocations: 7.156 kB / 0.9801 GB, free: 90.09 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002596/2.709, allocations: 0.5894 MB / 0.9806 GB, free: 89.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/2.709, allocations: 11.41 kB / 0.9806 GB, free: 89.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/2.71, allocations: 42.8 kB / 0.9807 GB, free: 89.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/2.711, allocations: 289.2 kB / 0.981 GB, free: 89.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/2.711, allocations: 7.875 kB / 0.981 GB, free: 89.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/2.711, allocations: 23.27 kB / 0.981 GB, free: 89.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006414/2.711, allocations: 173.4 kB / 0.9812 GB, free: 89.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008062/2.712, allocations: 276.8 kB / 0.9814 GB, free: 89.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/2.712, allocations: 0 / 0.9814 GB, free: 89.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/2.712, allocations: 3.938 kB / 0.9814 GB, free: 89.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/2.712, allocations: 4.812 kB / 0.9814 GB, free: 89.05 MB / 362.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.00302/2.715, allocations: 1.547 MB / 0.9829 GB, free: 87.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/2.716, allocations: 143.3 kB / 0.9831 GB, free: 87.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/2.716, allocations: 76.02 kB / 0.9832 GB, free: 87.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.728e-05/2.716, allocations: 2.094 kB / 0.9832 GB, free: 87.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/2.716, allocations: 39.89 kB / 0.9832 GB, free: 87.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.156e-06/2.716, allocations: 0 / 0.9832 GB, free: 87.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.007899/2.724, allocations: 0.9981 MB / 0.9842 GB, free: 86.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/2.724, allocations: 55.25 kB / 0.9842 GB, free: 86.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/2.725, allocations: 203.1 kB / 0.9844 GB, free: 86.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/2.725, allocations: 29.67 kB / 0.9844 GB, free: 86.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/2.725, allocations: 248.1 kB / 0.9847 GB, free: 86.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.313e-05/2.725, allocations: 86.38 kB / 0.9848 GB, free: 86.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/2.725, allocations: 0 / 0.9848 GB, free: 86.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.826e-05/2.725, allocations: 326.4 kB / 0.9851 GB, free: 85.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/2.725, allocations: 78.34 kB / 0.9851 GB, free: 85.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/2.725, allocations: 176.4 kB / 0.9853 GB, free: 85.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/2.726, allocations: 111.8 kB / 0.9854 GB, free: 85.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/2.726, allocations: 0 / 0.9854 GB, free: 85.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008457/2.727, allocations: 343 kB / 0.9857 GB, free: 85.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/2.727, allocations: 10.55 kB / 0.9858 GB, free: 85.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/2.727, allocations: 7.328 kB / 0.9858 GB, free: 85.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/2.727, allocations: 68.31 kB / 0.9858 GB, free: 85.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/2.728, allocations: 88.08 kB / 0.9859 GB, free: 85.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/2.729, allocations: 1.806 MB / 0.9877 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/2.729, allocations: 13.14 kB / 0.9877 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/2.729, allocations: 43.55 kB / 0.9877 GB, free: 83.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001432/2.73, allocations: 119.7 kB / 0.9878 GB, free: 83.46 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006152/2.73, allocations: 252.8 kB / 0.9881 GB, free: 83.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/2.73, allocations: 26.25 kB / 0.9881 GB, free: 83.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/2.731, allocations: 346.9 kB / 0.9884 GB, free: 83.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/2.731, allocations: 3.844 kB / 0.9884 GB, free: 83.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/2.731, allocations: 0 / 0.9884 GB, free: 83.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006279/2.732, allocations: 0.5495 MB / 0.989 GB, free: 82.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/2.733, allocations: 0.6493 MB / 0.9896 GB, free: 82.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/2.733, allocations: 3.984 kB / 0.9896 GB, free: 82.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/2.734, allocations: 73.31 kB / 0.9897 GB, free: 82.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/2.734, allocations: 23.38 kB / 0.9897 GB, free: 82.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/2.734, allocations: 10.89 kB / 0.9897 GB, free: 82.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008076/2.735, allocations: 1.231 MB / 0.9909 GB, free: 80.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/2.735, allocations: 0 / 0.9909 GB, free: 80.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/2.736, allocations: 475.5 kB / 0.9914 GB, free: 80.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/2.736, allocations: 103.6 kB / 0.9915 GB, free: 80.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/2.736, allocations: 0 / 0.9915 GB, free: 80.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/2.737, allocations: 15.39 kB / 0.9915 GB, free: 80.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/2.737, allocations: 27.47 kB / 0.9915 GB, free: 80.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/2.737, allocations: 30.98 kB / 0.9915 GB, free: 80.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001938/2.737, allocations: 160.4 kB / 0.9917 GB, free: 80.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.737, allocations: 2.75 kB / 0.9917 GB, free: 80.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009783/2.738, allocations: 164.2 kB / 0.9919 GB, free: 80.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.002579/2.741, allocations: 1.941 MB / 0.9938 GB, free: 78.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00084/2.741, allocations: 349.7 kB / 0.9941 GB, free: 78.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/2.741, allocations: 4 kB / 0.9941 GB, free: 78.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/2.742, allocations: 209.7 kB / 0.9943 GB, free: 78.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/2.743, allocations: 119.1 kB / 0.9944 GB, free: 77.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/2.746, allocations: 0.5799 MB / 0.995 GB, free: 77.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/2.746, allocations: 0.7679 MB / 0.9957 GB, free: 76.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/2.747, allocations: 135.4 kB / 0.9959 GB, free: 76.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/2.747, allocations: 0 / 0.9959 GB, free: 76.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.009/5.755, allocations: 12.49 MB / 1.008 GB, free: 63.96 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat