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.862/1.862, allocations: 209.3 MB / 221.5 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.655e-05/4.66e-05, allocations: 4 kB / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.44/1.546, allocations: 449.6 MB / 0.7533 GB, free: 60.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.547, allocations: 66.78 kB / 0.7534 GB, free: 60.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1019/1.649, allocations: 29.76 MB / 0.7825 GB, free: 32.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.774e-06/1.649, allocations: 0 / 0.7825 GB, free: 32.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/1.649, allocations: 0 / 0.7825 GB, free: 32.86 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.0004554/1.649, allocations: 386.6 kB / 0.7828 GB, free: 32.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/1.649, allocations: 12.03 kB / 0.7829 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.935e-05/1.649, allocations: 42.55 kB / 0.7829 GB, free: 32.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/1.652, allocations: 184.2 kB / 0.7831 GB, free: 32.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/1.652, allocations: 206.9 kB / 0.7833 GB, free: 31.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/1.652, allocations: 4 kB / 0.7833 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/1.652, allocations: 15.95 kB / 0.7833 GB, free: 31.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/1.653, allocations: 208 kB / 0.7835 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.653, allocations: 4 kB / 0.7835 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/1.653, allocations: 4 kB / 0.7835 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/1.653, allocations: 4 kB / 0.7835 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/1.653, allocations: 148 kB / 0.7836 GB, free: 31.56 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.001254/1.655, allocations: 0.5722 MB / 0.7842 GB, free: 30.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/1.655, allocations: 130.6 kB / 0.7843 GB, free: 30.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/1.655, allocations: 64.84 kB / 0.7844 GB, free: 30.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/1.655, allocations: 11.97 kB / 0.7844 GB, free: 30.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/1.655, allocations: 34.5 kB / 0.7844 GB, free: 30.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.475e-06/1.655, allocations: 0 / 0.7844 GB, free: 30.68 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.007504/1.663, allocations: 1.098 MB / 0.7855 GB, free: 29.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/1.663, allocations: 55.34 kB / 0.7855 GB, free: 29.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/1.663, allocations: 105 kB / 0.7856 GB, free: 29.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/1.663, allocations: 29.7 kB / 0.7857 GB, free: 29.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/1.663, allocations: 99.89 kB / 0.7858 GB, free: 29.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/1.663, allocations: 67.08 kB / 0.7858 GB, free: 29.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/1.663, allocations: 4.219 kB / 0.7858 GB, free: 29.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.039e-05/1.663, allocations: 322.8 kB / 0.7861 GB, free: 28.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/1.664, allocations: 63.94 kB / 0.7862 GB, free: 28.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/1.664, allocations: 101.2 kB / 0.7863 GB, free: 28.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/1.664, allocations: 76.28 kB / 0.7864 GB, free: 28.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/1.664, allocations: 0 / 0.7864 GB, free: 28.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006191/1.665, allocations: 252.5 kB / 0.7866 GB, free: 28.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.665, allocations: 11.95 kB / 0.7866 GB, free: 28.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/1.665, allocations: 0 / 0.7866 GB, free: 28.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/1.665, allocations: 52.83 kB / 0.7867 GB, free: 28.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/1.665, allocations: 51.95 kB / 0.7867 GB, free: 28.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004026/1.666, allocations: 0.5642 MB / 0.7873 GB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/1.666, allocations: 8 kB / 0.7873 GB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/1.666, allocations: 23.98 kB / 0.7873 GB, free: 27.56 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.0001141/1.666, allocations: 124.8 kB / 0.7874 GB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/1.666, allocations: 7.906 kB / 0.7874 GB, free: 27.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/1.668, allocations: 331.1 kB / 0.7878 GB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.668, allocations: 0 / 0.7878 GB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.668, allocations: 0 / 0.7878 GB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.668, allocations: 4 kB / 0.7878 GB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/1.669, allocations: 0.6073 MB / 0.7884 GB, free: 26.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.669, allocations: 4 kB / 0.7884 GB, free: 26.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/1.669, allocations: 59.89 kB / 0.7884 GB, free: 26.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/1.669, allocations: 20.84 kB / 0.7884 GB, free: 26.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/1.669, allocations: 12.09 kB / 0.7884 GB, free: 26.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008475/1.67, allocations: 1.272 MB / 0.7897 GB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.67, allocations: 4.156 kB / 0.7897 GB, free: 24.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/1.671, allocations: 462.7 kB / 0.7901 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/1.671, allocations: 85.05 kB / 0.7902 GB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/1.671, allocations: 11.94 kB / 0.7902 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/1.672, allocations: 4 kB / 0.7902 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/1.672, allocations: 27.92 kB / 0.7903 GB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/1.672, allocations: 27.98 kB / 0.7903 GB, free: 24.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.981e-05/1.672, allocations: 91.56 kB / 0.7904 GB, free: 24.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.5e-07/1.672, allocations: 3.938 kB / 0.7904 GB, free: 24.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006717/1.673, allocations: 119.9 kB / 0.7905 GB, free: 24.02 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.001981/1.675, allocations: 1.616 MB / 0.7921 GB, free: 22.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006225/1.675, allocations: 191.8 kB / 0.7922 GB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.675, allocations: 4 kB / 0.7923 GB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003749/1.676, allocations: 214.5 kB / 0.7925 GB, free: 21.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/1.676, allocations: 40.34 kB / 0.7925 GB, free: 21.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/1.677, allocations: 398 kB / 0.7929 GB, free: 21.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/1.677, allocations: 0.7088 MB / 0.7936 GB, free: 20.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007028/1.678, allocations: 81.39 kB / 0.7936 GB, free: 20.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/1.679, allocations: 67.41 kB / 0.7937 GB, free: 20.59 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/1.679, allocations: 0 / 0.7937 GB, free: 20.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0764/1.755, allocations: 15.69 MB / 0.809 GB, free: 4.98 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/1.755, allocations: 169.8 kB / 0.8092 GB, free: 4.762 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.021/4.776, allocations: 3.938 kB / 0.8092 GB, free: 4.758 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