Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.699e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 44.51 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.473/1.576, allocations: 433.8 MB / 0.7166 GB, free: 106.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.577, allocations: 84.86 kB / 0.7166 GB, free: 106.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7616/2.338, allocations: 143.1 MB / 0.8563 GB, free: 100.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.404e-06/2.338, allocations: 2.5 kB / 0.8563 GB, free: 100.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.334e-05/2.338, allocations: 7.562 kB / 0.8563 GB, free: 100.2 MB / 410.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.001464/2.34, allocations: 0.5996 MB / 0.8569 GB, free: 99.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/2.34, allocations: 9.938 kB / 0.8569 GB, free: 99.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/2.34, allocations: 63.14 kB / 0.857 GB, free: 99.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005115/2.341, allocations: 41.3 kB / 0.857 GB, free: 99.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/2.341, allocations: 276.2 kB / 0.8573 GB, free: 99.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/2.341, allocations: 21.59 kB / 0.8573 GB, free: 99.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/2.341, allocations: 22.19 kB / 0.8573 GB, free: 99.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000918/2.342, allocations: 311.2 kB / 0.8576 GB, free: 99.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/2.342, allocations: 0 / 0.8576 GB, free: 99.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/2.343, allocations: 14.95 kB / 0.8577 GB, free: 99.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/2.343, allocations: 7.75 kB / 0.8577 GB, free: 99.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/2.343, allocations: 202.1 kB / 0.8579 GB, free: 99.46 MB / 410.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.002927/2.346, allocations: 1.578 MB / 0.8594 GB, free: 98.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/2.347, allocations: 156.8 kB / 0.8595 GB, free: 98.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/2.347, allocations: 94 kB / 0.8596 GB, free: 98.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/2.347, allocations: 9.625 kB / 0.8596 GB, free: 98.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/2.347, allocations: 37.62 kB / 0.8597 GB, free: 98.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 5.35e-06/2.347, allocations: 0 / 0.8597 GB, free: 98.21 MB / 410.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.00972/2.357, allocations: 1.246 MB / 0.8609 GB, free: 97.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/2.357, allocations: 58.48 kB / 0.861 GB, free: 97.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/2.357, allocations: 231.9 kB / 0.8612 GB, free: 97.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.413e-05/2.358, allocations: 28.95 kB / 0.8612 GB, free: 97.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/2.358, allocations: 233.3 kB / 0.8614 GB, free: 97.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/2.358, allocations: 97.12 kB / 0.8615 GB, free: 97.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/2.358, allocations: 6.875 kB / 0.8615 GB, free: 97.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.666e-05/2.358, allocations: 325 kB / 0.8618 GB, free: 97.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/2.358, allocations: 80.56 kB / 0.8619 GB, free: 97.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/2.358, allocations: 187 kB / 0.8621 GB, free: 96.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/2.359, allocations: 114.2 kB / 0.8622 GB, free: 96.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/2.359, allocations: 3.469 kB / 0.8622 GB, free: 96.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009713/2.36, allocations: 383.8 kB / 0.8626 GB, free: 96.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/2.36, allocations: 9.938 kB / 0.8626 GB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/2.36, allocations: 3.5 kB / 0.8626 GB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/2.36, allocations: 74.05 kB / 0.8626 GB, free: 96.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/2.361, allocations: 85.06 kB / 0.8627 GB, free: 96.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/2.362, allocations: 1.851 MB / 0.8645 GB, free: 95.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/2.363, allocations: 21.78 kB / 0.8646 GB, free: 95.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/2.363, allocations: 40.77 kB / 0.8646 GB, free: 95.1 MB / 410.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.0001636/2.363, allocations: 124.7 kB / 0.8647 GB, free: 94.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/2.363, allocations: 31.84 kB / 0.8647 GB, free: 94.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/2.365, allocations: 436.7 kB / 0.8652 GB, free: 94.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/2.365, allocations: 3.938 kB / 0.8652 GB, free: 94.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/2.365, allocations: 6 kB / 0.8652 GB, free: 94.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006371/2.365, allocations: 0.5541 MB / 0.8657 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/2.367, allocations: 0.7168 MB / 0.8664 GB, free: 94.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/2.367, allocations: 0 / 0.8664 GB, free: 94.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/2.367, allocations: 81.97 kB / 0.8665 GB, free: 94.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/2.367, allocations: 19.2 kB / 0.8665 GB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/2.367, allocations: 13.34 kB / 0.8665 GB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009558/2.368, allocations: 1.273 MB / 0.8678 GB, free: 92.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/2.368, allocations: 3.953 kB / 0.8678 GB, free: 92.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/2.37, allocations: 0.4931 MB / 0.8683 GB, free: 92.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/2.37, allocations: 106.4 kB / 0.8684 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/2.37, allocations: 3.688 kB / 0.8684 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/2.37, allocations: 24.45 kB / 0.8684 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/2.37, allocations: 20.75 kB / 0.8684 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.506e-05/2.37, allocations: 33.95 kB / 0.8684 GB, free: 92.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002621/2.371, allocations: 185 kB / 0.8686 GB, free: 92.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.371, allocations: 0 / 0.8686 GB, free: 92.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001083/2.372, allocations: 180.8 kB / 0.8688 GB, free: 92.45 MB / 410.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.00284/2.375, allocations: 1.843 MB / 0.8706 GB, free: 91.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/2.376, allocations: 369.4 kB / 0.8709 GB, free: 91.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/2.376, allocations: 0 / 0.8709 GB, free: 91.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/2.376, allocations: 231.8 kB / 0.8712 GB, free: 91.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/2.378, allocations: 167.3 kB / 0.8713 GB, free: 91.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/2.38, allocations: 0.5977 MB / 0.8719 GB, free: 91.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/2.38, allocations: 0.7715 MB / 0.8727 GB, free: 90.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/2.38, allocations: 131 kB / 0.8728 GB, free: 90.36 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/2.381, allocations: 0 / 0.8728 GB, free: 90.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.962/5.342, allocations: 12.87 MB / 0.8853 GB, free: 89.88 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat