Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.316e-05, allocations: 4 kB / 299.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.397, allocations: 54.85 MB / 354.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.68, allocations: 455.7 MB / 0.7912 GB, free: 74.27 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.68, allocations: 68.16 kB / 0.7912 GB, free: 74.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1075/1.787, allocations: 29.21 MB / 0.8198 GB, free: 50.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/1.787, allocations: 4 kB / 0.8198 GB, free: 50.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/1.787, allocations: 0 / 0.8198 GB, free: 50.46 MB / 490.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.0004977/1.788, allocations: 385.9 kB / 0.8201 GB, free: 50.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.788, allocations: 8.031 kB / 0.8202 GB, free: 50.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/1.791, allocations: 191 kB / 0.8203 GB, free: 49.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/1.791, allocations: 213.8 kB / 0.8205 GB, free: 49.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/1.791, allocations: 0 / 0.8205 GB, free: 49.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/1.791, allocations: 12 kB / 0.8205 GB, free: 49.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000493/1.792, allocations: 146.1 kB / 0.8207 GB, free: 49.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/1.792, allocations: 134.4 kB / 0.8208 GB, free: 49.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/1.792, allocations: 0 / 0.8208 GB, free: 49.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/1.792, allocations: 3.984 kB / 0.8208 GB, free: 49.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.792, allocations: 7.953 kB / 0.8208 GB, free: 49.4 MB / 490.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.001337/1.794, allocations: 0.5438 MB / 0.8214 GB, free: 48.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/1.794, allocations: 128.8 kB / 0.8215 GB, free: 48.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/1.794, allocations: 64.19 kB / 0.8215 GB, free: 48.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/1.794, allocations: 0 / 0.8215 GB, free: 48.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/1.794, allocations: 42.5 kB / 0.8216 GB, free: 48.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/1.794, allocations: 0 / 0.8216 GB, free: 48.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.006948/1.801, allocations: 0.8756 MB / 0.8224 GB, free: 47.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/1.801, allocations: 59.34 kB / 0.8225 GB, free: 47.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/1.801, allocations: 101 kB / 0.8226 GB, free: 47.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/1.801, allocations: 25.7 kB / 0.8226 GB, free: 47.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/1.802, allocations: 99.53 kB / 0.8227 GB, free: 47.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/1.802, allocations: 69.64 kB / 0.8228 GB, free: 47.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/1.802, allocations: 0 / 0.8228 GB, free: 47.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.291e-05/1.802, allocations: 322.5 kB / 0.8231 GB, free: 47.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/1.802, allocations: 57.11 kB / 0.8231 GB, free: 47.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/1.802, allocations: 88.98 kB / 0.8232 GB, free: 47.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/1.802, allocations: 75.53 kB / 0.8233 GB, free: 46.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.802, allocations: 0 / 0.8233 GB, free: 46.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005898/1.803, allocations: 233.5 kB / 0.8235 GB, free: 46.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.803, allocations: 8 kB / 0.8235 GB, free: 46.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.803, allocations: 0 / 0.8235 GB, free: 46.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/1.803, allocations: 47.83 kB / 0.8236 GB, free: 46.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/1.804, allocations: 51.97 kB / 0.8236 GB, free: 46.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004318/1.804, allocations: 0.5737 MB / 0.8242 GB, free: 46.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/1.805, allocations: 11.92 kB / 0.8242 GB, free: 46.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/1.805, allocations: 23.69 kB / 0.8242 GB, free: 46.09 MB / 490.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.0001294/1.805, allocations: 112.8 kB / 0.8243 GB, free: 45.97 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005647/1.805, allocations: 216.2 kB / 0.8245 GB, free: 45.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/1.805, allocations: 11.89 kB / 0.8245 GB, free: 45.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/1.807, allocations: 311.5 kB / 0.8248 GB, free: 45.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.807, allocations: 0 / 0.8248 GB, free: 45.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.807, allocations: 3.938 kB / 0.8248 GB, free: 45.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/1.807, allocations: 7.938 kB / 0.8248 GB, free: 45.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/1.808, allocations: 0.5521 MB / 0.8254 GB, free: 44.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.808, allocations: 4.031 kB / 0.8254 GB, free: 44.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006577/1.808, allocations: 67.39 kB / 0.8255 GB, free: 44.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/1.809, allocations: 20.16 kB / 0.8255 GB, free: 44.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/1.809, allocations: 19.88 kB / 0.8255 GB, free: 44.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000845/1.81, allocations: 1.223 MB / 0.8267 GB, free: 43.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.81, allocations: 3.938 kB / 0.8267 GB, free: 43.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/1.81, allocations: 429.4 kB / 0.8271 GB, free: 43.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/1.81, allocations: 92.94 kB / 0.8272 GB, free: 43.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/1.811, allocations: 6.688 kB / 0.8272 GB, free: 43.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/1.811, allocations: 0 / 0.8272 GB, free: 43.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/1.811, allocations: 38.3 kB / 0.8272 GB, free: 43.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/1.811, allocations: 23.98 kB / 0.8273 GB, free: 43.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.698e-05/1.811, allocations: 87.91 kB / 0.8273 GB, free: 42.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.811, allocations: 0 / 0.8273 GB, free: 42.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007758/1.812, allocations: 98.92 kB / 0.8274 GB, free: 42.86 MB / 490.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.002156/1.814, allocations: 1.675 MB / 0.8291 GB, free: 41.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006279/1.815, allocations: 184.8 kB / 0.8292 GB, free: 41.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.815, allocations: 0 / 0.8292 GB, free: 41.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/1.815, allocations: 212.7 kB / 0.8294 GB, free: 40.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/1.816, allocations: 38.89 kB / 0.8295 GB, free: 40.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/1.817, allocations: 376.5 kB / 0.8298 GB, free: 40.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/1.817, allocations: 0.7085 MB / 0.8305 GB, free: 39.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008043/1.818, allocations: 81.39 kB / 0.8306 GB, free: 39.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/1.818, allocations: 68.08 kB / 0.8307 GB, free: 39.61 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/1.818, allocations: 0 / 0.8307 GB, free: 39.61 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05616/1.875, allocations: 9.474 MB / 0.8399 GB, free: 30.15 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000247/1.875, allocations: 142.1 kB / 0.8401 GB, free: 29.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.923/4.798, allocations: 0 / 0.8401 GB, free: 29.95 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat