Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.976/1.976, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.42e-05/4.425e-05, allocations: 7.984 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.5/1.617, allocations: 449.6 MB / 0.7534 GB, free: 60.85 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/1.617, allocations: 68.66 kB / 0.7535 GB, free: 60.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.105/1.722, allocations: 29.75 MB / 0.7825 GB, free: 32.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/1.722, allocations: 0 / 0.7825 GB, free: 32.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/1.722, allocations: 0 / 0.7825 GB, free: 32.83 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005117/1.723, allocations: 394.6 kB / 0.7829 GB, free: 32.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.723, allocations: 11.97 kB / 0.7829 GB, free: 32.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/1.723, allocations: 42.55 kB / 0.7829 GB, free: 32.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/1.725, allocations: 180.2 kB / 0.7831 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/1.726, allocations: 207 kB / 0.7833 GB, free: 31.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/1.726, allocations: 0 / 0.7833 GB, free: 31.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/1.726, allocations: 15.95 kB / 0.7833 GB, free: 31.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/1.726, allocations: 212 kB / 0.7835 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.726, allocations: 0 / 0.7835 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/1.727, allocations: 4 kB / 0.7835 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/1.727, allocations: 4 kB / 0.7835 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/1.727, allocations: 148 kB / 0.7837 GB, free: 31.53 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.00127/1.728, allocations: 0.5761 MB / 0.7842 GB, free: 30.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/1.729, allocations: 122.6 kB / 0.7843 GB, free: 30.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/1.729, allocations: 68.84 kB / 0.7844 GB, free: 30.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/1.729, allocations: 4 kB / 0.7844 GB, free: 30.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/1.729, allocations: 30.56 kB / 0.7844 GB, free: 30.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.525e-06/1.729, allocations: 0 / 0.7844 GB, free: 30.66 MB / 426.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.007572/1.737, allocations: 1.095 MB / 0.7855 GB, free: 29.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/1.737, allocations: 55.41 kB / 0.7856 GB, free: 29.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/1.737, allocations: 101 kB / 0.7857 GB, free: 29.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/1.737, allocations: 33.7 kB / 0.7857 GB, free: 29.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/1.737, allocations: 91.89 kB / 0.7858 GB, free: 29.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/1.737, allocations: 67.31 kB / 0.7858 GB, free: 29.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/1.737, allocations: 0 / 0.7858 GB, free: 29.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.909e-05/1.737, allocations: 330.8 kB / 0.7862 GB, free: 28.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/1.737, allocations: 64 kB / 0.7862 GB, free: 28.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/1.737, allocations: 101.4 kB / 0.7863 GB, free: 28.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/1.738, allocations: 72.28 kB / 0.7864 GB, free: 28.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.738, allocations: 4 kB / 0.7864 GB, free: 28.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006071/1.738, allocations: 248.7 kB / 0.7866 GB, free: 28.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.738, allocations: 4 kB / 0.7866 GB, free: 28.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.738, allocations: 3.953 kB / 0.7866 GB, free: 28.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/1.739, allocations: 48.83 kB / 0.7867 GB, free: 28.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/1.739, allocations: 51.91 kB / 0.7867 GB, free: 28.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004232/1.74, allocations: 0.5719 MB / 0.7873 GB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/1.74, allocations: 4 kB / 0.7873 GB, free: 27.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/1.74, allocations: 27.98 kB / 0.7873 GB, free: 27.55 MB / 426.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.0001186/1.74, allocations: 120.9 kB / 0.7874 GB, free: 27.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-05/1.74, allocations: 7.906 kB / 0.7874 GB, free: 27.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/1.741, allocations: 342.1 kB / 0.7878 GB, free: 27.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/1.741, allocations: 0 / 0.7878 GB, free: 27.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.741, allocations: 8 kB / 0.7878 GB, free: 27.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.741, allocations: 3.938 kB / 0.7878 GB, free: 27.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/1.742, allocations: 0.6022 MB / 0.7884 GB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.742, allocations: 4 kB / 0.7884 GB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/1.743, allocations: 59.89 kB / 0.7884 GB, free: 26.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/1.743, allocations: 24.94 kB / 0.7885 GB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/1.743, allocations: 12 kB / 0.7885 GB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008767/1.744, allocations: 1.276 MB / 0.7897 GB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.744, allocations: 0 / 0.7897 GB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/1.745, allocations: 455.8 kB / 0.7901 GB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/1.745, allocations: 85.05 kB / 0.7902 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/1.745, allocations: 7.938 kB / 0.7902 GB, free: 24.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/1.746, allocations: 8 kB / 0.7902 GB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/1.746, allocations: 31.92 kB / 0.7903 GB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/1.746, allocations: 27.98 kB / 0.7903 GB, free: 24.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.952e-05/1.746, allocations: 91.28 kB / 0.7904 GB, free: 24.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.746, allocations: 0 / 0.7904 GB, free: 24.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007303/1.746, allocations: 123.9 kB / 0.7905 GB, free: 24 MB / 426.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.002025/1.749, allocations: 1.62 MB / 0.7921 GB, free: 22.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006231/1.749, allocations: 190.8 kB / 0.7923 GB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.749, allocations: 0 / 0.7923 GB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/1.75, allocations: 209.6 kB / 0.7925 GB, free: 21.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/1.75, allocations: 40.34 kB / 0.7925 GB, free: 21.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/1.751, allocations: 390.9 kB / 0.7929 GB, free: 21.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/1.751, allocations: 0.7088 MB / 0.7936 GB, free: 20.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007013/1.752, allocations: 73.16 kB / 0.7936 GB, free: 20.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/1.753, allocations: 71.41 kB / 0.7937 GB, free: 20.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/1.753, allocations: 0 / 0.7937 GB, free: 20.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/1.801, allocations: 15.72 MB / 0.8091 GB, free: 4.957 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/1.801, allocations: 168.5 kB / 0.8092 GB, free: 4.738 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/4.918, allocations: 3.938 kB / 0.8092 GB, free: 4.734 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat