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.683/2.683, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.044e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3954, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.689/3.084, allocations: 0.7217 GB / 1.068 GB, free: 139.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/3.085, allocations: 70.77 kB / 1.068 GB, free: 139.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1445/3.229, allocations: 32.91 MB / 1.1 GB, free: 114.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/3.229, allocations: 0 / 1.1 GB, free: 114.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/3.229, allocations: 8 kB / 1.1 GB, free: 114.8 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.0006482/3.23, allocations: 409.5 kB / 1.1 GB, free: 114.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/3.23, allocations: 8.031 kB / 1.1 GB, free: 114.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.719e-05/3.23, allocations: 38.55 kB / 1.1 GB, free: 114.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/3.234, allocations: 182.1 kB / 1.101 GB, free: 114.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/3.234, allocations: 204.1 kB / 1.101 GB, free: 113.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/3.234, allocations: 8.141 kB / 1.101 GB, free: 113.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/3.234, allocations: 8 kB / 1.101 GB, free: 113.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007677/3.235, allocations: 193.4 kB / 1.101 GB, free: 113.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/3.236, allocations: 150.7 kB / 1.101 GB, free: 113.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/3.236, allocations: 0 / 1.101 GB, free: 113.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/3.236, allocations: 0 / 1.101 GB, free: 113.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/3.236, allocations: 3.938 kB / 1.101 GB, free: 113.7 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.002548/3.238, allocations: 0.5875 MB / 1.102 GB, free: 113.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/3.239, allocations: 140.6 kB / 1.102 GB, free: 113 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/3.239, allocations: 75.22 kB / 1.102 GB, free: 113 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/3.239, allocations: 96.91 kB / 1.102 GB, free: 112.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/3.239, allocations: 30.56 kB / 1.102 GB, free: 112.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 3.497e-06/3.24, allocations: 224 / 1.102 GB, free: 112.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.008737/3.248, allocations: 1.008 MB / 1.103 GB, free: 111.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/3.248, allocations: 59.34 kB / 1.103 GB, free: 111.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/3.248, allocations: 100.9 kB / 1.103 GB, free: 111.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/3.249, allocations: 25.7 kB / 1.103 GB, free: 111.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/3.249, allocations: 100.2 kB / 1.103 GB, free: 111.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/3.249, allocations: 74.25 kB / 1.103 GB, free: 111.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/3.249, allocations: 3.938 kB / 1.103 GB, free: 111.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.214e-05/3.249, allocations: 322.8 kB / 1.104 GB, free: 111.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/3.249, allocations: 66.19 kB / 1.104 GB, free: 111.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/3.249, allocations: 102.3 kB / 1.104 GB, free: 111.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/3.25, allocations: 79.34 kB / 1.104 GB, free: 111 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/3.25, allocations: 0 / 1.104 GB, free: 111 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008111/3.25, allocations: 233.6 kB / 1.104 GB, free: 110.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/3.25, allocations: 7.984 kB / 1.104 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/3.25, allocations: 4 kB / 1.104 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/3.251, allocations: 20.73 kB / 1.104 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/3.252, allocations: 55.89 kB / 1.104 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004317/3.252, allocations: 0.5369 MB / 1.105 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/3.253, allocations: 11.92 kB / 1.105 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/3.253, allocations: 8 kB / 1.105 GB, free: 110.2 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.0001518/3.253, allocations: 104.9 kB / 1.105 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/3.253, allocations: 11.86 kB / 1.105 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/3.254, allocations: 272.2 kB / 1.105 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/3.254, allocations: 4 kB / 1.105 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/3.254, allocations: 4 kB / 1.105 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/3.254, allocations: 0 / 1.105 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/3.256, allocations: 0.5891 MB / 1.106 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/3.256, allocations: 0 / 1.106 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000866/3.256, allocations: 51.94 kB / 1.106 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/3.257, allocations: 24.84 kB / 1.106 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/3.257, allocations: 3.984 kB / 1.106 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009882/3.258, allocations: 1.219 MB / 1.107 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/3.258, allocations: 0 / 1.107 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/3.259, allocations: 440.9 kB / 1.107 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/3.259, allocations: 89 kB / 1.107 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/3.259, allocations: 0 / 1.107 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/3.26, allocations: 11.92 kB / 1.107 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/3.26, allocations: 15.73 kB / 1.107 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/3.26, allocations: 15.98 kB / 1.108 GB, free: 107.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.497e-05/3.26, allocations: 87.28 kB / 1.108 GB, free: 107.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/3.26, allocations: 4 kB / 1.108 GB, free: 107.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001017/3.261, allocations: 150.3 kB / 1.108 GB, free: 107.2 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.003145/3.264, allocations: 1.761 MB / 1.109 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000761/3.265, allocations: 187.7 kB / 1.11 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/3.265, allocations: 4 kB / 1.11 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004519/3.265, allocations: 205.3 kB / 1.11 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/3.266, allocations: 39.89 kB / 1.11 GB, free: 105.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/3.267, allocations: 392.7 kB / 1.11 GB, free: 104.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/3.268, allocations: 0.7085 MB / 1.111 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007953/3.268, allocations: 53.39 kB / 1.111 GB, free: 103.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/3.269, allocations: 41.23 kB / 1.111 GB, free: 103.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.243e-06/3.269, allocations: 0 / 1.111 GB, free: 103.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06907/3.338, allocations: 9.888 MB / 1.121 GB, free: 94.05 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002554/3.338, allocations: 135.8 kB / 1.121 GB, free: 93.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.493/6.831, allocations: 0 / 1.121 GB, free: 93.86 MB / 490.7 MB