Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.184/2.184, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.384e-05, allocations: 4 kB / 267.6 MB, free: 4.957 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 48.7 MB / 316.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.917/2.021, allocations: 0.4963 GB / 0.8052 GB, free: 121.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/2.022, allocations: 90.98 kB / 0.8053 GB, free: 121.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.154/3.176, allocations: 215.8 MB / 1.016 GB, free: 79.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/3.176, allocations: 0 / 1.016 GB, free: 79.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.233e-05/3.176, allocations: 16.81 kB / 1.016 GB, free: 79.09 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003799/3.18, allocations: 1.107 MB / 1.017 GB, free: 78.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/3.18, allocations: 10.09 kB / 1.017 GB, free: 78.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/3.182, allocations: 134.6 kB / 1.017 GB, free: 78.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/3.183, allocations: 0.5571 MB / 1.018 GB, free: 78.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/3.183, allocations: 89.61 kB / 1.018 GB, free: 78.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/3.184, allocations: 27.34 kB / 1.018 GB, free: 78.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001301/3.185, allocations: 0.5209 MB / 1.019 GB, free: 78.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/3.186, allocations: 0.7269 MB / 1.019 GB, free: 77.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/3.186, allocations: 6.812 kB / 1.019 GB, free: 77.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.897e-05/3.187, allocations: 0 / 1.019 GB, free: 77.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.327e-05/3.187, allocations: 39.92 kB / 1.019 GB, free: 77.94 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.00626/3.193, allocations: 3.871 MB / 1.023 GB, free: 75.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/3.194, allocations: 240.7 kB / 1.023 GB, free: 75.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/3.194, allocations: 122.2 kB / 1.023 GB, free: 75.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/3.194, allocations: 26.02 kB / 1.023 GB, free: 75.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/3.194, allocations: 38.45 kB / 1.023 GB, free: 75.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.056e-06/3.194, allocations: 0 / 1.023 GB, free: 75.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.008602/3.203, allocations: 1.423 MB / 1.025 GB, free: 74.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/3.203, allocations: 138.5 kB / 1.025 GB, free: 74.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007976/3.204, allocations: 472.2 kB / 1.025 GB, free: 74.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/3.204, allocations: 29.42 kB / 1.025 GB, free: 74.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/3.204, allocations: 401.3 kB / 1.026 GB, free: 74.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/3.204, allocations: 118.5 kB / 1.026 GB, free: 74.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/3.204, allocations: 0 / 1.026 GB, free: 74.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/3.204, allocations: 369.8 kB / 1.026 GB, free: 73.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/3.205, allocations: 177.9 kB / 1.026 GB, free: 73.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/3.205, allocations: 0.5072 MB / 1.027 GB, free: 73.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009835/3.206, allocations: 334.9 kB / 1.027 GB, free: 73.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/3.206, allocations: 3.688 kB / 1.027 GB, free: 73.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00223/3.209, allocations: 0.8191 MB / 1.028 GB, free: 73.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/3.209, allocations: 13.88 kB / 1.028 GB, free: 73.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/3.209, allocations: 7.875 kB / 1.028 GB, free: 73.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/3.21, allocations: 268.6 kB / 1.028 GB, free: 73.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/3.211, allocations: 132.3 kB / 1.029 GB, free: 73.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/3.213, allocations: 0.9233 MB / 1.029 GB, free: 72.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/3.214, allocations: 37.42 kB / 1.029 GB, free: 72.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/3.214, allocations: 68.38 kB / 1.03 GB, free: 72.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002237/3.214, allocations: 132.1 kB / 1.03 GB, free: 72.71 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001245/3.215, allocations: 426.6 kB / 1.03 GB, free: 72.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/3.216, allocations: 63.44 kB / 1.03 GB, free: 72.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/3.217, allocations: 0.5028 MB / 1.031 GB, free: 72.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/3.217, allocations: 3.969 kB / 1.031 GB, free: 72.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/3.217, allocations: 3.969 kB / 1.031 GB, free: 72.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/3.217, allocations: 0 / 1.031 GB, free: 72.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/3.219, allocations: 0.9627 MB / 1.032 GB, free: 72.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/3.22, allocations: 0 / 1.032 GB, free: 72.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/3.221, allocations: 197.8 kB / 1.032 GB, free: 72.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/3.221, allocations: 19.84 kB / 1.032 GB, free: 72.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/3.222, allocations: 18.81 kB / 1.032 GB, free: 72.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/3.224, allocations: 2.581 MB / 1.034 GB, free: 69.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/3.224, allocations: 0 / 1.034 GB, free: 69.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/3.225, allocations: 0.6715 MB / 1.035 GB, free: 69.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/3.226, allocations: 175.7 kB / 1.035 GB, free: 69.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/3.226, allocations: 0 / 1.035 GB, free: 69.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007014/3.227, allocations: 21.75 kB / 1.035 GB, free: 69.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/3.227, allocations: 36.17 kB / 1.035 GB, free: 69.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/3.227, allocations: 30.95 kB / 1.035 GB, free: 69.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006429/3.227, allocations: 347.7 kB / 1.036 GB, free: 69.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/3.227, allocations: 3.438 kB / 1.036 GB, free: 69.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002038/3.23, allocations: 345.6 kB / 1.036 GB, free: 69.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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: 1 * 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: 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.004292/3.234, allocations: 2.359 MB / 1.038 GB, free: 68.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/3.236, allocations: 498.8 kB / 1.039 GB, free: 68.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/3.236, allocations: 0 / 1.039 GB, free: 68.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/3.237, allocations: 353.2 kB / 1.039 GB, free: 68.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/3.239, allocations: 230.5 kB / 1.039 GB, free: 68.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/3.25, allocations: 2.499 MB / 1.042 GB, free: 67.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/3.251, allocations: 0.9364 MB / 1.043 GB, free: 67.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001747/3.253, allocations: 243.8 kB / 1.043 GB, free: 67.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007126/3.253, allocations: 261.5 kB / 1.043 GB, free: 67.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/3.253, allocations: 0 / 1.043 GB, free: 67.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/3.36, allocations: 25.44 MB / 1.068 GB, free: 56.29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/3.361, allocations: 199.4 kB / 1.068 GB, free: 56.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.503/6.864, allocations: 0 / 1.068 GB, free: 56.02 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat