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.726/1.726, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.136e-05/4.147e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2794, allocations: 38.77 MB / 263.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.162/2.441, allocations: 0.701 GB / 0.9587 GB, free: 84.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/2.442, allocations: 68.41 kB / 0.9588 GB, free: 84.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1156/2.557, allocations: 33.45 MB / 0.9914 GB, free: 56.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/2.557, allocations: 0 / 0.9914 GB, free: 56.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/2.557, allocations: 4 kB / 0.9914 GB, free: 56.6 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.0006223/2.558, allocations: 413.9 kB / 0.9918 GB, free: 56.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/2.558, allocations: 12.25 kB / 0.9918 GB, free: 56.14 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/2.558, allocations: 46.05 kB / 0.9919 GB, free: 56.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/2.561, allocations: 182.4 kB / 0.992 GB, free: 55.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/2.561, allocations: 209.6 kB / 0.9922 GB, free: 55.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/2.561, allocations: 12.06 kB / 0.9923 GB, free: 55.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/2.561, allocations: 7.75 kB / 0.9923 GB, free: 55.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/2.562, allocations: 190.1 kB / 0.9924 GB, free: 55.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/2.562, allocations: 0 / 0.9924 GB, free: 55.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/2.562, allocations: 7.938 kB / 0.9925 GB, free: 55.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/2.562, allocations: 0 / 0.9925 GB, free: 55.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/2.563, allocations: 190.7 kB / 0.9926 GB, free: 55.43 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.002028/2.565, allocations: 0.637 MB / 0.9933 GB, free: 54.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/2.565, allocations: 147.9 kB / 0.9934 GB, free: 54.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/2.565, allocations: 73.55 kB / 0.9935 GB, free: 54.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/2.566, allocations: 97.06 kB / 0.9936 GB, free: 54.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/2.566, allocations: 34.19 kB / 0.9936 GB, free: 54.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.815e-06/2.566, allocations: 0 / 0.9936 GB, free: 54.55 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.00766/2.573, allocations: 1.2 MB / 0.9948 GB, free: 53.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/2.573, allocations: 51.41 kB / 0.9948 GB, free: 53.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/2.574, allocations: 108 kB / 0.9949 GB, free: 53.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/2.574, allocations: 29.64 kB / 0.9949 GB, free: 53.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/2.574, allocations: 104 kB / 0.995 GB, free: 53.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/2.574, allocations: 65.95 kB / 0.9951 GB, free: 53.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/2.574, allocations: 3.5 kB / 0.9951 GB, free: 53.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.548e-05/2.574, allocations: 322.8 kB / 0.9954 GB, free: 52.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/2.574, allocations: 75.8 kB / 0.9955 GB, free: 52.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/2.574, allocations: 99.36 kB / 0.9956 GB, free: 52.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/2.575, allocations: 92.09 kB / 0.9957 GB, free: 52.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/2.575, allocations: 4 kB / 0.9957 GB, free: 52.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006299/2.575, allocations: 244.7 kB / 0.9959 GB, free: 52.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/2.575, allocations: 4 kB / 0.9959 GB, free: 52.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/2.575, allocations: 0 / 0.9959 GB, free: 52.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/2.575, allocations: 24.41 kB / 0.9959 GB, free: 52.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/2.576, allocations: 59.89 kB / 0.996 GB, free: 52.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003337/2.576, allocations: 0.5319 MB / 0.9965 GB, free: 51.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/2.577, allocations: 15.86 kB / 0.9965 GB, free: 51.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/2.577, allocations: 11.12 kB / 0.9965 GB, free: 51.73 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.0001177/2.577, allocations: 116.5 kB / 0.9967 GB, free: 51.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/2.577, allocations: 7.906 kB / 0.9967 GB, free: 51.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008103/2.578, allocations: 267.2 kB / 0.9969 GB, free: 51.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/2.578, allocations: 4 kB / 0.9969 GB, free: 51.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/2.578, allocations: 11.92 kB / 0.9969 GB, free: 51.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/2.578, allocations: 3.984 kB / 0.9969 GB, free: 51.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/2.579, allocations: 0.6332 MB / 0.9976 GB, free: 50.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/2.579, allocations: 0 / 0.9976 GB, free: 50.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/2.58, allocations: 51.89 kB / 0.9976 GB, free: 50.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/2.58, allocations: 28.7 kB / 0.9976 GB, free: 50.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/2.58, allocations: 7.688 kB / 0.9976 GB, free: 50.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008507/2.581, allocations: 1.256 MB / 0.9989 GB, free: 49.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.581, allocations: 3.938 kB / 0.9989 GB, free: 49.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/2.582, allocations: 451.9 kB / 0.9993 GB, free: 48.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/2.582, allocations: 92.84 kB / 0.9994 GB, free: 48.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/2.582, allocations: 6.438 kB / 0.9994 GB, free: 48.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/2.582, allocations: 6.375 kB / 0.9994 GB, free: 48.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/2.582, allocations: 26.23 kB / 0.9994 GB, free: 48.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/2.582, allocations: 10.38 kB / 0.9994 GB, free: 48.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.691e-05/2.583, allocations: 93.77 kB / 0.9995 GB, free: 48.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.583, allocations: 0 / 0.9995 GB, free: 48.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009252/2.584, allocations: 160 kB / 0.9997 GB, free: 48.61 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.00254/2.586, allocations: 1.724 MB / 1.001 GB, free: 46.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006519/2.587, allocations: 192.5 kB / 1.002 GB, free: 46.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/2.587, allocations: 2.625 kB / 1.002 GB, free: 46.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003845/2.587, allocations: 202.6 kB / 1.002 GB, free: 46.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/2.588, allocations: 49.75 kB / 1.002 GB, free: 46.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/2.589, allocations: 401.9 kB / 1.002 GB, free: 46.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/2.589, allocations: 0.709 MB / 1.003 GB, free: 45.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005878/2.59, allocations: 53.16 kB / 1.003 GB, free: 45.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/2.59, allocations: 39.84 kB / 1.003 GB, free: 45.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/2.59, allocations: 4 kB / 1.003 GB, free: 45.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04729/2.637, allocations: 16.11 MB / 1.019 GB, free: 29.32 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002934/2.638, allocations: 180.9 kB / 1.019 GB, free: 29.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.143/5.781, allocations: 0 / 1.019 GB, free: 29.09 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