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.672/2.672, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.222e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4116, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.503/1.915, allocations: 455.7 MB / 0.7912 GB, free: 39.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.915, allocations: 80.02 kB / 0.7912 GB, free: 39.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1207/2.036, allocations: 29.3 MB / 0.8198 GB, free: 15.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/2.036, allocations: 7.938 kB / 0.8198 GB, free: 15.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/2.036, allocations: 0 / 0.8198 GB, free: 15.56 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.0005369/2.037, allocations: 381.3 kB / 0.8202 GB, free: 15.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/2.037, allocations: 8.031 kB / 0.8202 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/2.037, allocations: 40.8 kB / 0.8203 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/2.04, allocations: 182.3 kB / 0.8204 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/2.041, allocations: 210.3 kB / 0.8206 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/2.041, allocations: 4 kB / 0.8206 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/2.041, allocations: 12 kB / 0.8206 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005831/2.041, allocations: 144 kB / 0.8208 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/2.042, allocations: 133.9 kB / 0.8209 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/2.042, allocations: 4 kB / 0.8209 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/2.042, allocations: 3.953 kB / 0.8209 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/2.042, allocations: 3.938 kB / 0.8209 GB, free: 14.47 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.001489/2.043, allocations: 0.5558 MB / 0.8215 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/2.044, allocations: 121 kB / 0.8216 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/2.044, allocations: 64.72 kB / 0.8216 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/2.044, allocations: 0 / 0.8216 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/2.044, allocations: 44.8 kB / 0.8217 GB, free: 13.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.364e-06/2.044, allocations: 4 kB / 0.8217 GB, free: 13.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.007945/2.052, allocations: 0.8732 MB / 0.8225 GB, free: 12.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/2.052, allocations: 55.41 kB / 0.8226 GB, free: 12.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.585e-05/2.052, allocations: 104.3 kB / 0.8227 GB, free: 12.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/2.052, allocations: 25.7 kB / 0.8227 GB, free: 12.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/2.052, allocations: 99.11 kB / 0.8228 GB, free: 12.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/2.052, allocations: 66.31 kB / 0.8229 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/2.052, allocations: 3.938 kB / 0.8229 GB, free: 12.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.763e-05/2.052, allocations: 318.8 kB / 0.8232 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/2.053, allocations: 63.98 kB / 0.8232 GB, free: 12.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/2.053, allocations: 91.47 kB / 0.8233 GB, free: 12.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/2.053, allocations: 77.11 kB / 0.8234 GB, free: 11.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/2.053, allocations: 0 / 0.8234 GB, free: 11.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006926/2.054, allocations: 238.3 kB / 0.8236 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/2.054, allocations: 4 kB / 0.8236 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/2.054, allocations: 4 kB / 0.8236 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/2.054, allocations: 36.84 kB / 0.8237 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/2.055, allocations: 63.98 kB / 0.8237 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004946/2.055, allocations: 0.5641 MB / 0.8243 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/2.056, allocations: 3.906 kB / 0.8243 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/2.056, allocations: 28 kB / 0.8243 GB, free: 11 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.0001357/2.056, allocations: 116.8 kB / 0.8244 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/2.056, allocations: 16 kB / 0.8244 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/2.057, allocations: 311 kB / 0.8247 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/2.057, allocations: 7.984 kB / 0.8248 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/2.057, allocations: 0 / 0.8248 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/2.057, allocations: 3.953 kB / 0.8248 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/2.059, allocations: 0.5491 MB / 0.8253 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/2.059, allocations: 8.078 kB / 0.8253 GB, free: 9.922 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007201/2.06, allocations: 63.89 kB / 0.8254 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/2.06, allocations: 12.86 kB / 0.8254 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/2.06, allocations: 19.94 kB / 0.8254 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009494/2.061, allocations: 1.221 MB / 0.8266 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/2.061, allocations: 4.031 kB / 0.8266 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/2.062, allocations: 434.7 kB / 0.827 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/2.062, allocations: 85.05 kB / 0.8271 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/2.062, allocations: 3.984 kB / 0.8271 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/2.062, allocations: 7.906 kB / 0.8271 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/2.062, allocations: 31.98 kB / 0.8271 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.591e-05/2.062, allocations: 27.98 kB / 0.8272 GB, free: 7.844 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.251e-05/2.062, allocations: 83.59 kB / 0.8272 GB, free: 7.762 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/2.062, allocations: 0 / 0.8272 GB, free: 7.762 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007787/2.063, allocations: 103.9 kB / 0.8273 GB, free: 7.66 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.002357/2.066, allocations: 1.692 MB / 0.829 GB, free: 5.926 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006419/2.066, allocations: 179.8 kB / 0.8292 GB, free: 5.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/2.066, allocations: 0 / 0.8292 GB, free: 5.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004062/2.067, allocations: 202 kB / 0.8293 GB, free: 5.543 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/2.067, allocations: 42.28 kB / 0.8294 GB, free: 5.504 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/2.069, allocations: 382.6 kB / 0.8298 GB, free: 5.082 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/2.069, allocations: 0.7085 MB / 0.8304 GB, free: 4.348 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000894/2.07, allocations: 73.17 kB / 0.8305 GB, free: 4.277 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/2.07, allocations: 67.39 kB / 0.8306 GB, free: 4.211 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/2.07, allocations: 0 / 0.8306 GB, free: 4.211 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4561/2.526, allocations: 9.557 MB / 0.8399 GB, free: 172.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002815/2.527, allocations: 140.6 kB / 0.84 GB, free: 172.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.426/5.952, allocations: 3.938 kB / 0.84 GB, free: 172.3 MB / 490.7 MB