Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.932/1.932, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.058e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.481/1.585, allocations: 449.2 MB / 0.7475 GB, free: 55.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/1.586, allocations: 72.69 kB / 0.7476 GB, free: 55.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0961/1.682, allocations: 29.21 MB / 0.7761 GB, free: 29.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/1.682, allocations: 0 / 0.7761 GB, free: 29.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/1.682, allocations: 4 kB / 0.7761 GB, free: 29.57 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.0004419/1.682, allocations: 394.6 kB / 0.7765 GB, free: 29.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.682, allocations: 8.031 kB / 0.7765 GB, free: 29.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0026/1.685, allocations: 180.2 kB / 0.7767 GB, free: 28.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/1.685, allocations: 206.9 kB / 0.7769 GB, free: 28.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/1.685, allocations: 3.984 kB / 0.7769 GB, free: 28.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/1.685, allocations: 4 kB / 0.7769 GB, free: 28.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004275/1.686, allocations: 147.9 kB / 0.777 GB, free: 28.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/1.686, allocations: 138.9 kB / 0.7772 GB, free: 28.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/1.686, allocations: 4 kB / 0.7772 GB, free: 28.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/1.686, allocations: 0 / 0.7772 GB, free: 28.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.686, allocations: 0 / 0.7772 GB, free: 28.41 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.001163/1.687, allocations: 0.545 MB / 0.7777 GB, free: 27.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/1.688, allocations: 126.5 kB / 0.7778 GB, free: 27.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/1.688, allocations: 64.83 kB / 0.7779 GB, free: 27.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/1.688, allocations: 4 kB / 0.7779 GB, free: 27.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/1.688, allocations: 30.56 kB / 0.7779 GB, free: 27.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.863e-06/1.688, allocations: 0 / 0.7779 GB, free: 27.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.005989/1.694, allocations: 0.8961 MB / 0.7788 GB, free: 26.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/1.694, allocations: 55.41 kB / 0.7788 GB, free: 26.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/1.694, allocations: 101 kB / 0.7789 GB, free: 26.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/1.694, allocations: 25.7 kB / 0.779 GB, free: 26.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/1.694, allocations: 162.4 kB / 0.7791 GB, free: 26.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/1.694, allocations: 67 kB / 0.7792 GB, free: 26.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/1.694, allocations: 0 / 0.7792 GB, free: 26.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/1.694, allocations: 319.1 kB / 0.7795 GB, free: 25.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/1.694, allocations: 67.98 kB / 0.7795 GB, free: 25.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/1.695, allocations: 91.55 kB / 0.7796 GB, free: 25.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/1.695, allocations: 72.89 kB / 0.7797 GB, free: 25.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.695, allocations: 0 / 0.7797 GB, free: 25.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000529/1.695, allocations: 232.7 kB / 0.7799 GB, free: 25.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.696, allocations: 4 kB / 0.7799 GB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.696, allocations: 3.938 kB / 0.7799 GB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/1.696, allocations: 36.84 kB / 0.78 GB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/1.696, allocations: 59.95 kB / 0.78 GB, free: 25.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004062/1.697, allocations: 0.5719 MB / 0.7806 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/1.697, allocations: 7.938 kB / 0.7806 GB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/1.697, allocations: 27.98 kB / 0.7806 GB, free: 24.64 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.0001062/1.697, allocations: 108.9 kB / 0.7807 GB, free: 24.53 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004919/1.698, allocations: 210.3 kB / 0.7809 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/1.698, allocations: 11.86 kB / 0.7809 GB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009899/1.699, allocations: 327.5 kB / 0.7812 GB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.699, allocations: 4 kB / 0.7813 GB, free: 23.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.699, allocations: 4 kB / 0.7813 GB, free: 23.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.699, allocations: 0 / 0.7813 GB, free: 23.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/1.7, allocations: 0.5488 MB / 0.7818 GB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.7, allocations: 4 kB / 0.7818 GB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/1.7, allocations: 63.89 kB / 0.7819 GB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.546e-05/1.701, allocations: 20.94 kB / 0.7819 GB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/1.701, allocations: 12 kB / 0.7819 GB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007549/1.701, allocations: 1.225 MB / 0.7831 GB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.701, allocations: 4.031 kB / 0.7831 GB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000674/1.702, allocations: 436.3 kB / 0.7835 GB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/1.702, allocations: 88.92 kB / 0.7836 GB, free: 21.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/1.702, allocations: 0 / 0.7836 GB, free: 21.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/1.703, allocations: 7.938 kB / 0.7836 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/1.703, allocations: 27.91 kB / 0.7836 GB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/1.703, allocations: 27.98 kB / 0.7836 GB, free: 21.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.093e-05/1.703, allocations: 87.27 kB / 0.7837 GB, free: 21.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.703, allocations: 8 kB / 0.7837 GB, free: 21.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006809/1.703, allocations: 103.9 kB / 0.7838 GB, free: 21.09 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.001871/1.705, allocations: 1.682 MB / 0.7855 GB, free: 19.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005239/1.706, allocations: 179.8 kB / 0.7857 GB, free: 19.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.706, allocations: 0 / 0.7857 GB, free: 19.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/1.706, allocations: 209.6 kB / 0.7859 GB, free: 18.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/1.707, allocations: 40.3 kB / 0.7859 GB, free: 18.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/1.708, allocations: 407 kB / 0.7863 GB, free: 18.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/1.708, allocations: 0.7085 MB / 0.787 GB, free: 17.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/1.709, allocations: 71.41 kB / 0.787 GB, free: 17.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/1.709, allocations: 0 / 0.787 GB, free: 17.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.828/4.537, allocations: 6.858 MB / 0.7937 GB, free: 10.8 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat