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 2.168/2.168, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.443e-05, allocations: 6.125 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.488/1.619, allocations: 449.1 MB / 0.7475 GB, free: 55.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.619, allocations: 68.22 kB / 0.7476 GB, free: 55.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1027/1.722, allocations: 29.21 MB / 0.7761 GB, free: 29.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/1.722, allocations: 0 / 0.7761 GB, free: 29.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/1.722, allocations: 0 / 0.7761 GB, free: 29.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.0005392/1.723, allocations: 394.5 kB / 0.7765 GB, free: 29.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.723, allocations: 8.031 kB / 0.7765 GB, free: 29.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/1.726, allocations: 188.2 kB / 0.7767 GB, free: 29.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/1.726, allocations: 203 kB / 0.7769 GB, free: 29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/1.726, allocations: 4 kB / 0.7769 GB, free: 29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/1.726, allocations: 4 kB / 0.7769 GB, free: 28.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004567/1.726, allocations: 151.8 kB / 0.777 GB, free: 28.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/1.727, allocations: 135.3 kB / 0.7772 GB, free: 28.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.727, allocations: 0 / 0.7772 GB, free: 28.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/1.727, allocations: 0 / 0.7772 GB, free: 28.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/1.727, allocations: 8 kB / 0.7772 GB, free: 28.69 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.001319/1.728, allocations: 0.5411 MB / 0.7777 GB, free: 28.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/1.729, allocations: 130.5 kB / 0.7778 GB, free: 27.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/1.729, allocations: 56.86 kB / 0.7779 GB, free: 27.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/1.729, allocations: 7.984 kB / 0.7779 GB, free: 27.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/1.729, allocations: 38.56 kB / 0.7779 GB, free: 27.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.335e-06/1.729, allocations: 0 / 0.7779 GB, free: 27.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.006181/1.735, allocations: 0.8837 MB / 0.7788 GB, free: 26.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/1.735, allocations: 51.41 kB / 0.7788 GB, free: 26.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/1.735, allocations: 105.7 kB / 0.7789 GB, free: 26.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/1.735, allocations: 25.7 kB / 0.779 GB, free: 26.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/1.735, allocations: 99.92 kB / 0.779 GB, free: 26.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/1.735, allocations: 67 kB / 0.7791 GB, free: 26.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/1.735, allocations: 0 / 0.7791 GB, free: 26.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/1.735, allocations: 322.8 kB / 0.7794 GB, free: 26.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/1.736, allocations: 56 kB / 0.7795 GB, free: 26.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/1.736, allocations: 91.61 kB / 0.7796 GB, free: 26.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/1.736, allocations: 76.83 kB / 0.7796 GB, free: 25.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.736, allocations: 0 / 0.7796 GB, free: 25.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005352/1.737, allocations: 228.7 kB / 0.7799 GB, free: 25.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.737, allocations: 8 kB / 0.7799 GB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.737, allocations: 0 / 0.7799 GB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/1.737, allocations: 40.94 kB / 0.7799 GB, free: 25.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/1.737, allocations: 59.89 kB / 0.78 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004146/1.738, allocations: 0.5718 MB / 0.7805 GB, free: 25.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/1.738, allocations: 4.031 kB / 0.7805 GB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/1.738, allocations: 27.98 kB / 0.7805 GB, free: 25 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.0001251/1.738, allocations: 117.7 kB / 0.7807 GB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005485/1.739, allocations: 206.3 kB / 0.7809 GB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/1.739, allocations: 11.86 kB / 0.7809 GB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/1.74, allocations: 315.2 kB / 0.7812 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/1.74, allocations: 3.984 kB / 0.7812 GB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.74, allocations: 0 / 0.7812 GB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.74, allocations: 4 kB / 0.7812 GB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/1.741, allocations: 0.5643 MB / 0.7817 GB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.741, allocations: 0 / 0.7817 GB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005691/1.742, allocations: 63.95 kB / 0.7818 GB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/1.742, allocations: 16.84 kB / 0.7818 GB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/1.742, allocations: 15.98 kB / 0.7818 GB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000785/1.743, allocations: 1.217 MB / 0.783 GB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.743, allocations: 4.312 kB / 0.783 GB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/1.743, allocations: 448.4 kB / 0.7834 GB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/1.743, allocations: 85.05 kB / 0.7835 GB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/1.744, allocations: 12 kB / 0.7835 GB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/1.744, allocations: 7.984 kB / 0.7835 GB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/1.744, allocations: 23.97 kB / 0.7836 GB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/1.744, allocations: 20 kB / 0.7836 GB, free: 21.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.398e-05/1.744, allocations: 95.25 kB / 0.7837 GB, free: 21.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.744, allocations: 3.938 kB / 0.7837 GB, free: 21.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007345/1.745, allocations: 103.9 kB / 0.7838 GB, free: 21.43 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.002053/1.747, allocations: 1.685 MB / 0.7854 GB, free: 19.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006194/1.748, allocations: 179.9 kB / 0.7856 GB, free: 19.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.748, allocations: 0 / 0.7856 GB, free: 19.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/1.748, allocations: 209.6 kB / 0.7858 GB, free: 19.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/1.749, allocations: 43.72 kB / 0.7858 GB, free: 19.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/1.75, allocations: 373.3 kB / 0.7862 GB, free: 18.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/1.75, allocations: 0.7124 MB / 0.7869 GB, free: 18.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007358/1.751, allocations: 73.16 kB / 0.787 GB, free: 18.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/1.751, allocations: 67.41 kB / 0.787 GB, free: 17.98 MB / 426.7 MB Notification: Performance of SimCode: time 2.435e-06/1.751, allocations: 0 / 0.787 GB, free: 17.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/1.805, allocations: 9.492 MB / 0.7963 GB, free: 8.496 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/1.806, allocations: 127.5 kB / 0.7964 GB, free: 8.305 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.84/4.646, allocations: 0 / 0.7964 GB, free: 8.305 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