Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.13e-05, allocations: 0 / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3781, allocations: 54.87 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.237/2.616, allocations: 0.7216 GB / 1.068 GB, free: 146.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/2.616, allocations: 78.25 kB / 1.068 GB, free: 146.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1175/2.733, allocations: 32.8 MB / 1.1 GB, free: 141.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/2.733, allocations: 0 / 1.1 GB, free: 141.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/2.733, allocations: 0 / 1.1 GB, free: 141.7 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005525/2.734, allocations: 411.6 kB / 1.1 GB, free: 141.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/2.734, allocations: 11.62 kB / 1.1 GB, free: 141.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/2.737, allocations: 180.5 kB / 1.1 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/2.737, allocations: 208.8 kB / 1.101 GB, free: 141 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/2.737, allocations: 4 kB / 1.101 GB, free: 141 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/2.737, allocations: 11.58 kB / 1.101 GB, free: 141 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005648/2.738, allocations: 192.9 kB / 1.101 GB, free: 141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/2.738, allocations: 147.5 kB / 1.101 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/2.738, allocations: 0 / 1.101 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/2.738, allocations: 3.984 kB / 1.101 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/2.738, allocations: 3.875 kB / 1.101 GB, free: 140.9 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.001955/2.74, allocations: 0.5958 MB / 1.102 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/2.741, allocations: 145.9 kB / 1.102 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/2.741, allocations: 68.05 kB / 1.102 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/2.741, allocations: 92.03 kB / 1.102 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/2.741, allocations: 34.55 kB / 1.102 GB, free: 140.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.255e-06/2.741, allocations: 0 / 1.102 GB, free: 140.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.006673/2.748, allocations: 1.006 MB / 1.103 GB, free: 139.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/2.748, allocations: 58.59 kB / 1.103 GB, free: 139.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/2.748, allocations: 100 kB / 1.103 GB, free: 139.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/2.748, allocations: 25.7 kB / 1.103 GB, free: 139.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/2.748, allocations: 103.6 kB / 1.103 GB, free: 139.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/2.748, allocations: 62.02 kB / 1.103 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/2.748, allocations: 4 kB / 1.103 GB, free: 139.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.411e-05/2.748, allocations: 322.4 kB / 1.104 GB, free: 139 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/2.749, allocations: 71.05 kB / 1.104 GB, free: 139 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/2.749, allocations: 103.4 kB / 1.104 GB, free: 139 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/2.749, allocations: 79.19 kB / 1.104 GB, free: 139 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/2.749, allocations: 4 kB / 1.104 GB, free: 139 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006444/2.75, allocations: 231.7 kB / 1.104 GB, free: 138.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/2.75, allocations: 4.812 kB / 1.104 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/2.75, allocations: 0 / 1.104 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/2.75, allocations: 24.03 kB / 1.104 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/2.751, allocations: 50.78 kB / 1.104 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003338/2.751, allocations: 0.5459 MB / 1.105 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/2.751, allocations: 7.781 kB / 1.105 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/2.751, allocations: 7.859 kB / 1.105 GB, free: 138.3 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.0001194/2.751, allocations: 108.8 kB / 1.105 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005506/2.752, allocations: 206.3 kB / 1.105 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/2.752, allocations: 15.83 kB / 1.105 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007908/2.753, allocations: 264.1 kB / 1.105 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/2.753, allocations: 3.094 kB / 1.105 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/2.753, allocations: 3.938 kB / 1.105 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/2.753, allocations: 0 / 1.105 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/2.754, allocations: 0.5984 MB / 1.106 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/2.754, allocations: 0 / 1.106 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/2.755, allocations: 54.23 kB / 1.106 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/2.755, allocations: 20.59 kB / 1.106 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/2.755, allocations: 7.562 kB / 1.106 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000807/2.756, allocations: 1.218 MB / 1.107 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.756, allocations: 0 / 1.107 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/2.757, allocations: 430.8 kB / 1.107 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/2.757, allocations: 92.83 kB / 1.108 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/2.757, allocations: 0 / 1.108 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/2.757, allocations: 3.812 kB / 1.108 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/2.757, allocations: 23.19 kB / 1.108 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/2.757, allocations: 7.625 kB / 1.108 GB, free: 136 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.535e-05/2.757, allocations: 90.77 kB / 1.108 GB, free: 135.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.757, allocations: 0 / 1.108 GB, free: 135.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008569/2.758, allocations: 145.3 kB / 1.108 GB, free: 135.9 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 (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.002429/2.761, allocations: 1.773 MB / 1.11 GB, free: 134.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000561/2.761, allocations: 184.9 kB / 1.11 GB, free: 134.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/2.761, allocations: 0 / 1.11 GB, free: 134.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003481/2.762, allocations: 212.5 kB / 1.11 GB, free: 134.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/2.762, allocations: 40.44 kB / 1.11 GB, free: 134.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/2.763, allocations: 383.2 kB / 1.11 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/2.763, allocations: 0.7227 MB / 1.111 GB, free: 133.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006194/2.764, allocations: 44.61 kB / 1.111 GB, free: 133.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/2.764, allocations: 40.92 kB / 1.111 GB, free: 133.4 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/2.764, allocations: 0 / 1.111 GB, free: 133.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05759/2.822, allocations: 9.797 MB / 1.121 GB, free: 125.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002975/2.822, allocations: 142.5 kB / 1.121 GB, free: 125.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.966/5.788, allocations: 0 / 1.121 GB, free: 125.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat