Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2/2, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.722e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 44.5 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.362/2.465, allocations: 0.7132 GB / 1.006 GB, free: 107.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/2.465, allocations: 74.52 kB / 1.006 GB, free: 107.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1198/2.585, allocations: 33.64 MB / 1.039 GB, free: 100.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/2.585, allocations: 0 / 1.039 GB, free: 100.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/2.585, allocations: 7.688 kB / 1.039 GB, free: 100.4 MB / 410.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.0006188/2.586, allocations: 420.4 kB / 1.039 GB, free: 99.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/2.586, allocations: 7.5 kB / 1.039 GB, free: 99.94 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/2.586, allocations: 50.86 kB / 1.039 GB, free: 99.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/2.589, allocations: 180.9 kB / 1.04 GB, free: 99.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/2.589, allocations: 199.7 kB / 1.04 GB, free: 99.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/2.589, allocations: 6.938 kB / 1.04 GB, free: 99.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/2.589, allocations: 13.25 kB / 1.04 GB, free: 99.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/2.59, allocations: 190.9 kB / 1.04 GB, free: 99.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/2.59, allocations: 2.344 kB / 1.04 GB, free: 99.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/2.59, allocations: 3.953 kB / 1.04 GB, free: 99.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/2.59, allocations: 3.969 kB / 1.04 GB, free: 99.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005717/2.59, allocations: 198.1 kB / 1.04 GB, free: 99.52 MB / 410.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.002072/2.593, allocations: 0.6236 MB / 1.041 GB, free: 99.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/2.593, allocations: 152.8 kB / 1.041 GB, free: 98.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/2.593, allocations: 85.72 kB / 1.041 GB, free: 98.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/2.593, allocations: 93.08 kB / 1.041 GB, free: 98.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/2.593, allocations: 34 kB / 1.041 GB, free: 98.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.895e-06/2.593, allocations: 0 / 1.041 GB, free: 98.71 MB / 410.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.00764/2.601, allocations: 1.199 MB / 1.042 GB, free: 97.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/2.601, allocations: 55.41 kB / 1.042 GB, free: 97.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/2.601, allocations: 104.8 kB / 1.043 GB, free: 97.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/2.601, allocations: 33.02 kB / 1.043 GB, free: 97.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/2.601, allocations: 169.9 kB / 1.043 GB, free: 97.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/2.601, allocations: 65.64 kB / 1.043 GB, free: 97.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/2.602, allocations: 3.5 kB / 1.043 GB, free: 97.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.893e-05/2.602, allocations: 322.6 kB / 1.043 GB, free: 96.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/2.602, allocations: 72.88 kB / 1.043 GB, free: 96.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/2.602, allocations: 107.4 kB / 1.043 GB, free: 96.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/2.602, allocations: 83.47 kB / 1.043 GB, free: 96.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/2.602, allocations: 0 / 1.043 GB, free: 96.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006916/2.603, allocations: 250.8 kB / 1.044 GB, free: 96.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/2.603, allocations: 12.09 kB / 1.044 GB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/2.603, allocations: 0 / 1.044 GB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/2.603, allocations: 24.47 kB / 1.044 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/2.604, allocations: 47.97 kB / 1.044 GB, free: 96.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003436/2.604, allocations: 0.5431 MB / 1.044 GB, free: 95.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/2.605, allocations: 11.72 kB / 1.044 GB, free: 95.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/2.605, allocations: 8 kB / 1.044 GB, free: 95.84 MB / 410.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.0001276/2.605, allocations: 112.2 kB / 1.044 GB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/2.605, allocations: 19.83 kB / 1.044 GB, free: 95.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008469/2.606, allocations: 270.6 kB / 1.045 GB, free: 95.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/2.606, allocations: 0 / 1.045 GB, free: 95.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/2.606, allocations: 7.953 kB / 1.045 GB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/2.606, allocations: 4 kB / 1.045 GB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/2.607, allocations: 0.6339 MB / 1.045 GB, free: 94.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/2.607, allocations: 4 kB / 1.045 GB, free: 94.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/2.608, allocations: 47.41 kB / 1.045 GB, free: 94.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/2.608, allocations: 24.88 kB / 1.045 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/2.608, allocations: 11.8 kB / 1.045 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008331/2.609, allocations: 1.258 MB / 1.047 GB, free: 93.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/2.609, allocations: 0 / 1.047 GB, free: 93.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008628/2.61, allocations: 453.1 kB / 1.047 GB, free: 93.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/2.61, allocations: 92.94 kB / 1.047 GB, free: 92.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/2.61, allocations: 7.625 kB / 1.047 GB, free: 92.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/2.61, allocations: 11.86 kB / 1.047 GB, free: 92.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/2.61, allocations: 15.97 kB / 1.047 GB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/2.61, allocations: 11.98 kB / 1.047 GB, free: 92.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.967e-05/2.61, allocations: 82.53 kB / 1.047 GB, free: 92.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.3e-07/2.61, allocations: 0 / 1.047 GB, free: 92.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009597/2.611, allocations: 172.8 kB / 1.047 GB, free: 92.7 MB / 410.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.002622/2.614, allocations: 1.702 MB / 1.049 GB, free: 91.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007329/2.615, allocations: 205.1 kB / 1.049 GB, free: 90.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/2.615, allocations: 4 kB / 1.049 GB, free: 90.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003926/2.615, allocations: 202.1 kB / 1.049 GB, free: 90.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/2.616, allocations: 44.08 kB / 1.049 GB, free: 90.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/2.617, allocations: 438.9 kB / 1.05 GB, free: 90.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/2.617, allocations: 0.7088 MB / 1.051 GB, free: 89.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/2.618, allocations: 41.8 kB / 1.051 GB, free: 89.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/2.618, allocations: 0 / 1.051 GB, free: 89.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.993/5.611, allocations: 7.967 MB / 1.058 GB, free: 81.57 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat