Running command: "" <> buildModelFMU(Chemical.Examples.FluidAdapter2,fileNamePrefix="Chemical_Chemical_Examples_FluidAdapter2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.232/2.232, allocations: 215.4 MB / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.259e-05, allocations: 7.984 kB / 280.5 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 50.02 MB / 330.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.092/9.205, allocations: 2.871 GB / 3.194 GB, free: 83.43 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/9.205, allocations: 71.27 kB / 3.194 GB, free: 83.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.49/11.69, allocations: 404.8 MB / 3.589 GB, free: 36.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.026e-06/11.69, allocations: 0 / 3.589 GB, free: 36.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000123/11.69, allocations: 43.94 kB / 3.589 GB, free: 36.04 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.01218/11.71, allocations: 2.606 MB / 3.592 GB, free: 33.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/11.71, allocations: 12.03 kB / 3.592 GB, free: 33.37 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000761/11.71, allocations: 228.4 kB / 3.592 GB, free: 33.13 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/11.71, allocations: 249.6 kB / 3.592 GB, free: 32.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004182/11.71, allocations: 1.301 MB / 3.593 GB, free: 31.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/11.71, allocations: 127.2 kB / 3.593 GB, free: 31.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007461/11.71, allocations: 167.8 kB / 3.594 GB, free: 31.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007235/11.72, allocations: 2.397 MB / 3.596 GB, free: 28.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.226e-05/11.72, allocations: 4 kB / 3.596 GB, free: 28.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003192/11.72, allocations: 67.94 kB / 3.596 GB, free: 28.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/11.72, allocations: 79.2 kB / 3.596 GB, free: 28.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009872/11.73, allocations: 3.399 MB / 3.599 GB, free: 25.26 MB / 442.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.02312/11.76, allocations: 8.237 MB / 3.608 GB, free: 16.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/11.77, allocations: 3.843 MB / 3.611 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00337/11.77, allocations: 1.193 MB / 3.612 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5318/12.3, allocations: 56.21 MB / 3.667 GB, free: 35.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/12.3, allocations: 50.88 kB / 3.667 GB, free: 35.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=192): time 5.059e-06/12.3, allocations: 3.938 kB / 3.667 GB, free: 35.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=244): time 0.04479/12.35, allocations: 8.734 MB / 3.676 GB, free: 34.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/12.35, allocations: 103.1 kB / 3.676 GB, free: 34.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/12.35, allocations: 0.795 MB / 3.677 GB, free: 34.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008935/12.35, allocations: 67.42 kB / 3.677 GB, free: 34.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006107/12.35, allocations: 0.6007 MB / 3.677 GB, free: 33.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001439/12.35, allocations: 0.8159 MB / 3.678 GB, free: 33.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/12.35, allocations: 51.47 kB / 3.678 GB, free: 33.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/12.35, allocations: 392.8 kB / 3.679 GB, free: 33.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/12.36, allocations: 1.063 MB / 3.68 GB, free: 33.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/12.36, allocations: 1.414 MB / 3.681 GB, free: 32.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/12.36, allocations: 1.23 MB / 3.682 GB, free: 32.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/12.36, allocations: 3.062 kB / 3.682 GB, free: 32.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01059/12.38, allocations: 3.198 MB / 3.685 GB, free: 32.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009062/12.38, allocations: 3.501 MB / 3.689 GB, free: 28.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.736e-05/12.38, allocations: 7.969 kB / 3.689 GB, free: 28.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/12.38, allocations: 403.5 kB / 3.689 GB, free: 28.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005057/12.38, allocations: 0.5502 MB / 3.69 GB, free: 28.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/12.39, allocations: 12.53 MB / 3.702 GB, free: 17.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/12.4, allocations: 113.8 kB / 3.702 GB, free: 17.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006594/12.4, allocations: 137.2 kB / 3.702 GB, free: 17.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/12.4, allocations: 2.969 kB / 3.702 GB, free: 17.21 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009766/12.41, allocations: 3.041 MB / 3.705 GB, free: 17.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.675e-05/12.41, allocations: 7.844 kB / 3.705 GB, free: 17.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/12.41, allocations: 413 kB / 3.706 GB, free: 17.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004994/12.42, allocations: 0.5464 MB / 3.706 GB, free: 17.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/12.43, allocations: 12.51 MB / 3.718 GB, free: 21.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/12.43, allocations: 120.9 kB / 3.718 GB, free: 21.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006156/12.43, allocations: 131.8 kB / 3.719 GB, free: 21.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 4 (pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,fluidConversion2.state.phase,fluidConversion1.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (281): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 4,1 3,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008802/12.43, allocations: 240.4 kB / 3.719 GB, free: 21.28 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005753/12.43, allocations: 158.3 kB / 3.719 GB, free: 21.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/12.45, allocations: 4.515 MB / 3.723 GB, free: 20.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.323e-05/12.45, allocations: 36.16 kB / 3.723 GB, free: 20.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/12.45, allocations: 5.375 kB / 3.723 GB, free: 20.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.363e-05/12.45, allocations: 15.77 kB / 3.723 GB, free: 20.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/12.46, allocations: 6.732 MB / 3.73 GB, free: 20.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/12.46, allocations: 3.656 kB / 3.73 GB, free: 20.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004015/12.47, allocations: 447.5 kB / 3.73 GB, free: 20.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/12.47, allocations: 403.2 kB / 3.731 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000664/12.47, allocations: 81.52 kB / 3.731 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008982/12.48, allocations: 7.41 MB / 3.738 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/12.48, allocations: 4.781 kB / 3.738 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/12.5, allocations: 5.33 MB / 3.743 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/12.5, allocations: 0.5599 MB / 3.744 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000585/12.5, allocations: 50.8 kB / 3.744 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/12.5, allocations: 89.17 kB / 3.744 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000501/12.5, allocations: 190.4 kB / 3.744 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003501/12.5, allocations: 112.3 kB / 3.744 GB, free: 12.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001292/12.5, allocations: 0.6046 MB / 3.745 GB, free: 12.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.31e-07/12.5, allocations: 1.531 kB / 3.745 GB, free: 12.64 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01293/12.52, allocations: 2.57 MB / 3.747 GB, free: 12.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (simpleSolution1.T,simpleSolution1.freeInternalEnergy,H2O.log10n,simpleSolution2.T,simpleSolution2.freeInternalEnergy,H2O_.log10n,C2H5OH.log10n,C2H5OH_.log10n) * Number of discrete variables: 8 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 4,1 3,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.02942/12.54, allocations: 9.178 MB / 3.756 GB, free: 8.199 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01492/12.56, allocations: 5.322 MB / 3.762 GB, free: 5.715 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/12.56, allocations: 0 / 3.762 GB, free: 5.715 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00519/12.57, allocations: 1.996 MB / 3.764 GB, free: 4.664 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/12.57, allocations: 432 kB / 3.764 GB, free: 4.555 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/12.59, allocations: 4.684 MB / 3.768 GB, free: 2.551 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/12.59, allocations: 1.509 MB / 3.77 GB, free: 1.777 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006174/12.59, allocations: 1.297 MB / 3.771 GB, free: 1.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002451/12.6, allocations: 0.8329 MB / 3.772 GB, free: 1.121 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/12.6, allocations: 0 / 3.772 GB, free: 1.121 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5716/13.17, allocations: 91.05 MB / 3.861 GB, free: 77.28 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/13.17, allocations: 153.9 kB / 3.861 GB, free: 77.06 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/20.18, allocations: 0 / 3.861 GB, free: 77.06 MB / 490.7 MB