Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.698/1.698, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.468e-05/4.484e-05, allocations: 4 kB / 225.1 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2703, allocations: 38.77 MB / 263.8 MB, free: 9.727 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.222/2.492, allocations: 0.701 GB / 0.9587 GB, free: 85.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004138/2.493, allocations: 71.34 kB / 0.9587 GB, free: 85.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1352/2.628, allocations: 33.46 MB / 0.9914 GB, free: 56.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/2.628, allocations: 0 / 0.9914 GB, free: 56.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/2.628, allocations: 0 / 0.9914 GB, free: 56.76 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006191/2.629, allocations: 413.8 kB / 0.9918 GB, free: 56.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/2.629, allocations: 11.97 kB / 0.9918 GB, free: 56.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/2.629, allocations: 42.44 kB / 0.9918 GB, free: 56.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/2.632, allocations: 182.1 kB / 0.992 GB, free: 56.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/2.632, allocations: 202.3 kB / 0.9922 GB, free: 55.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/2.632, allocations: 11.94 kB / 0.9922 GB, free: 55.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/2.632, allocations: 11.06 kB / 0.9922 GB, free: 55.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/2.633, allocations: 192.6 kB / 0.9924 GB, free: 55.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/2.633, allocations: 0 / 0.9924 GB, free: 55.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/2.633, allocations: 3.812 kB / 0.9924 GB, free: 55.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/2.633, allocations: 4 kB / 0.9924 GB, free: 55.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/2.633, allocations: 193.9 kB / 0.9926 GB, free: 55.59 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.002245/2.636, allocations: 0.6343 MB / 0.9932 GB, free: 55.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/2.636, allocations: 152 kB / 0.9934 GB, free: 54.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/2.636, allocations: 80.47 kB / 0.9935 GB, free: 54.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/2.637, allocations: 92.47 kB / 0.9935 GB, free: 54.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/2.637, allocations: 30.56 kB / 0.9936 GB, free: 54.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.076e-06/2.637, allocations: 0 / 0.9936 GB, free: 54.71 MB / 362.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.007859/2.645, allocations: 1.204 MB / 0.9947 GB, free: 53.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/2.645, allocations: 51.41 kB / 0.9948 GB, free: 53.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/2.645, allocations: 108.3 kB / 0.9949 GB, free: 53.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/2.645, allocations: 25.7 kB / 0.9949 GB, free: 53.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/2.645, allocations: 99.84 kB / 0.995 GB, free: 53.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/2.645, allocations: 70.62 kB / 0.9951 GB, free: 53.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/2.645, allocations: 0 / 0.9951 GB, free: 53.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.739e-05/2.645, allocations: 321.8 kB / 0.9954 GB, free: 52.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/2.645, allocations: 77.48 kB / 0.9955 GB, free: 52.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/2.646, allocations: 107.5 kB / 0.9956 GB, free: 52.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/2.646, allocations: 84.72 kB / 0.9956 GB, free: 52.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/2.646, allocations: 0 / 0.9956 GB, free: 52.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006953/2.646, allocations: 255.2 kB / 0.9959 GB, free: 52.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/2.647, allocations: 4 kB / 0.9959 GB, free: 52.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/2.647, allocations: 7.938 kB / 0.9959 GB, free: 52.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002021/2.647, allocations: 24.28 kB / 0.9959 GB, free: 52.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/2.647, allocations: 55.89 kB / 0.996 GB, free: 52.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003664/2.648, allocations: 0.5314 MB / 0.9965 GB, free: 51.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/2.648, allocations: 19.45 kB / 0.9965 GB, free: 51.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/2.648, allocations: 7.438 kB / 0.9965 GB, free: 51.89 MB / 362.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.0001444/2.648, allocations: 113.4 kB / 0.9966 GB, free: 51.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/2.649, allocations: 11.91 kB / 0.9966 GB, free: 51.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/2.649, allocations: 277.2 kB / 0.9969 GB, free: 51.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/2.649, allocations: 0 / 0.9969 GB, free: 51.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/2.65, allocations: 4 kB / 0.9969 GB, free: 51.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/2.65, allocations: 7.984 kB / 0.9969 GB, free: 51.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/2.651, allocations: 0.6385 MB / 0.9975 GB, free: 50.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/2.651, allocations: 4 kB / 0.9975 GB, free: 50.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/2.652, allocations: 47.77 kB / 0.9976 GB, free: 50.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/2.652, allocations: 32.83 kB / 0.9976 GB, free: 50.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/2.652, allocations: 7.812 kB / 0.9976 GB, free: 50.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009476/2.653, allocations: 1.261 MB / 0.9989 GB, free: 49.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/2.653, allocations: 3.938 kB / 0.9989 GB, free: 49.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009415/2.654, allocations: 432.6 kB / 0.9993 GB, free: 49.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/2.654, allocations: 96.22 kB / 0.9994 GB, free: 49.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/2.654, allocations: 4 kB / 0.9994 GB, free: 49.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/2.654, allocations: 10.59 kB / 0.9994 GB, free: 49.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/2.654, allocations: 26.3 kB / 0.9994 GB, free: 48.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/2.655, allocations: 10.12 kB / 0.9994 GB, free: 48.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.675e-05/2.655, allocations: 89.95 kB / 0.9995 GB, free: 48.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.074e-06/2.655, allocations: 4 kB / 0.9995 GB, free: 48.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009007/2.656, allocations: 165.7 kB / 0.9997 GB, free: 48.76 MB / 362.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 (19): * Single equations (assignments): 18 * 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.002747/2.658, allocations: 1.717 MB / 1.001 GB, free: 47.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007507/2.659, allocations: 187.7 kB / 1.002 GB, free: 46.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/2.659, allocations: 0 / 1.002 GB, free: 46.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004204/2.66, allocations: 219 kB / 1.002 GB, free: 46.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/2.66, allocations: 49.23 kB / 1.002 GB, free: 46.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/2.661, allocations: 402.7 kB / 1.002 GB, free: 46.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/2.662, allocations: 0.7089 MB / 1.003 GB, free: 45.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006106/2.662, allocations: 49.17 kB / 1.003 GB, free: 45.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/2.663, allocations: 44.34 kB / 1.003 GB, free: 45.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.533e-06/2.663, allocations: 0 / 1.003 GB, free: 45.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05902/2.722, allocations: 16.07 MB / 1.019 GB, free: 29.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/2.722, allocations: 186.2 kB / 1.019 GB, free: 29.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.271/5.993, allocations: 4 kB / 1.019 GB, free: 29.27 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat