Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.749/1.749, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.969e-05, allocations: 4 kB / 219.6 MB, free: 7.316 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2723, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.28/1.552, allocations: 427.4 MB / 0.6697 GB, free: 102.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/1.553, allocations: 84.73 kB / 0.6697 GB, free: 102.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6759/2.229, allocations: 141.4 MB / 0.8078 GB, free: 91.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/2.229, allocations: 3.281 kB / 0.8078 GB, free: 91.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.535e-05/2.229, allocations: 11.73 kB / 0.8078 GB, free: 91.45 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.001173/2.23, allocations: 0.5949 MB / 0.8084 GB, free: 91.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/2.23, allocations: 10.62 kB / 0.8084 GB, free: 91.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/2.23, allocations: 45.98 kB / 0.8085 GB, free: 91.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/2.231, allocations: 282.2 kB / 0.8088 GB, free: 90.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/2.231, allocations: 7.906 kB / 0.8088 GB, free: 90.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/2.231, allocations: 14.69 kB / 0.8088 GB, free: 90.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004225/2.231, allocations: 177.5 kB / 0.8089 GB, free: 90.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/2.232, allocations: 277.6 kB / 0.8092 GB, free: 90.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/2.232, allocations: 3.562 kB / 0.8092 GB, free: 90.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/2.232, allocations: 0 / 0.8092 GB, free: 90.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/2.232, allocations: 12.73 kB / 0.8092 GB, free: 90.75 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.00207/2.234, allocations: 1.54 MB / 0.8107 GB, free: 89.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/2.234, allocations: 142.6 kB / 0.8109 GB, free: 89.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/2.235, allocations: 76.83 kB / 0.8109 GB, free: 89.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/2.235, allocations: 6.688 kB / 0.8109 GB, free: 89.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/2.235, allocations: 33.56 kB / 0.811 GB, free: 89.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.076e-06/2.235, allocations: 3.875 kB / 0.811 GB, free: 89.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.006732/2.241, allocations: 0.9882 MB / 0.8119 GB, free: 89.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/2.242, allocations: 55.34 kB / 0.812 GB, free: 89.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/2.242, allocations: 209.5 kB / 0.8122 GB, free: 88.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/2.242, allocations: 27.11 kB / 0.8122 GB, free: 88.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/2.242, allocations: 239.1 kB / 0.8124 GB, free: 88.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.586e-05/2.242, allocations: 94.94 kB / 0.8125 GB, free: 88.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/2.242, allocations: 0 / 0.8125 GB, free: 88.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/2.242, allocations: 325.1 kB / 0.8128 GB, free: 88.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/2.242, allocations: 80.22 kB / 0.8129 GB, free: 88.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/2.243, allocations: 181 kB / 0.8131 GB, free: 88.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/2.243, allocations: 111.9 kB / 0.8132 GB, free: 88.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/2.243, allocations: 0 / 0.8132 GB, free: 88.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008476/2.244, allocations: 345.6 kB / 0.8135 GB, free: 88.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/2.244, allocations: 7.875 kB / 0.8135 GB, free: 88.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/2.244, allocations: 3.75 kB / 0.8135 GB, free: 88.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/2.244, allocations: 68.2 kB / 0.8136 GB, free: 88.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/2.245, allocations: 79.05 kB / 0.8137 GB, free: 88.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/2.246, allocations: 1.818 MB / 0.8155 GB, free: 86.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/2.247, allocations: 21.72 kB / 0.8155 GB, free: 86.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/2.247, allocations: 41.22 kB / 0.8155 GB, free: 86.48 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.0001496/2.247, allocations: 115.6 kB / 0.8156 GB, free: 86.38 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006135/2.248, allocations: 250.4 kB / 0.8159 GB, free: 86.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/2.248, allocations: 30.23 kB / 0.8159 GB, free: 86.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/2.249, allocations: 340.4 kB / 0.8162 GB, free: 86.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/2.249, allocations: 2.938 kB / 0.8162 GB, free: 86.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/2.249, allocations: 7.047 kB / 0.8162 GB, free: 86.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006144/2.249, allocations: 0.5357 MB / 0.8168 GB, free: 85.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/2.251, allocations: 0.6552 MB / 0.8174 GB, free: 85.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/2.251, allocations: 0 / 0.8174 GB, free: 85.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/2.251, allocations: 72.12 kB / 0.8175 GB, free: 85.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/2.251, allocations: 27.41 kB / 0.8175 GB, free: 85.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/2.251, allocations: 9.141 kB / 0.8175 GB, free: 85.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007937/2.252, allocations: 1.236 MB / 0.8187 GB, free: 84.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/2.252, allocations: 3.469 kB / 0.8187 GB, free: 84.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007983/2.253, allocations: 476.8 kB / 0.8192 GB, free: 84.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/2.253, allocations: 99.23 kB / 0.8193 GB, free: 83.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/2.253, allocations: 3.531 kB / 0.8193 GB, free: 83.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/2.254, allocations: 16.47 kB / 0.8193 GB, free: 83.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/2.254, allocations: 21.05 kB / 0.8193 GB, free: 83.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/2.254, allocations: 33.89 kB / 0.8193 GB, free: 83.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001833/2.254, allocations: 154 kB / 0.8195 GB, free: 83.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.254, allocations: 0 / 0.8195 GB, free: 83.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009457/2.255, allocations: 167 kB / 0.8196 GB, free: 83.89 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.002532/2.258, allocations: 1.943 MB / 0.8215 GB, free: 82.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008592/2.259, allocations: 348 kB / 0.8219 GB, free: 82.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/2.259, allocations: 3.438 kB / 0.8219 GB, free: 82.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/2.259, allocations: 217.5 kB / 0.8221 GB, free: 82.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/2.26, allocations: 117.9 kB / 0.8222 GB, free: 82.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/2.262, allocations: 0.5708 MB / 0.8227 GB, free: 82.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/2.262, allocations: 0.7685 MB / 0.8235 GB, free: 81.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/2.263, allocations: 135.8 kB / 0.8236 GB, free: 81.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/2.263, allocations: 3.438 kB / 0.8236 GB, free: 81.79 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.947/5.21, allocations: 12.42 MB / 0.8358 GB, free: 81.23 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.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat